Galaxy SDS Thrift API

Xiaomi Galaxy Service SDK

License

License

GroupId

GroupId

com.xiaomi.infra.galaxy
ArtifactId

ArtifactId

galaxy-thrift-api
Last Version

Last Version

1.3.2
Release Date

Release Date

Type

Type

jar
Description

Description

Galaxy SDS Thrift API
Xiaomi Galaxy Service SDK

Download galaxy-thrift-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-thrift-api/ -->
<dependency>
    <groupId>com.xiaomi.infra.galaxy</groupId>
    <artifactId>galaxy-thrift-api</artifactId>
    <version>1.3.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-thrift-api/
implementation 'com.xiaomi.infra.galaxy:galaxy-thrift-api:1.3.2'
// https://jarcasting.com/artifacts/com.xiaomi.infra.galaxy/galaxy-thrift-api/
implementation ("com.xiaomi.infra.galaxy:galaxy-thrift-api:1.3.2")
'com.xiaomi.infra.galaxy:galaxy-thrift-api:jar:1.3.2'
<dependency org="com.xiaomi.infra.galaxy" name="galaxy-thrift-api" rev="1.3.2">
  <artifact name="galaxy-thrift-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.xiaomi.infra.galaxy', module='galaxy-thrift-api', version='1.3.2')
)
libraryDependencies += "com.xiaomi.infra.galaxy" % "galaxy-thrift-api" % "1.3.2"
[com.xiaomi.infra.galaxy/galaxy-thrift-api "1.3.2"]

Dependencies

compile (7)

Group / Artifact Type Version
commons-codec : commons-codec jar 1.4
org.xerial.snappy : snappy-java jar 1.1.1.6
org.slf4j : slf4j-api jar 1.6.1
org.slf4j : slf4j-log4j12 jar 1.6.1
org.apache.commons : commons-lang3 jar 3.1
org.apache.httpcomponents : httpclient jar 4.3.3
org.apache.httpcomponents : httpcore jar 4.3.3

provided (1)

Group / Artifact Type Version
javax.servlet : servlet-api jar 2.5

test (1)

Group / Artifact Type Version
junit : junit Optional jar 4.11

Project Modules

There are no modules declared in this project.

Galaxy Java SDK User Guide

Including SDKs of XiaoMi SDS, EMQ, EMR, and Talos.

INSTALLATION

  • If using maven to management, you can just depend latest jars from maven central repository.
  • Checkout to the newest release and use its version in dependency.

  • Use corresponding SDK artifactId.

  • For example, to use EMQ,

    <dependency>
      <groupId>com.xiaomi.infra.galaxy</groupId>
      <artifactId>galaxy-emq-client</artifactId>
      <version>1.2.7</version>
    </dependency>

NOTICE

  • HttpClient of our SDKs support multi-thread, if you need greater concurrency, you can create your own HttpClient and pass it to the constructor of class ClientFactory. (References and examples in galaxy-client-java, sds-android-examples): ClientFactory(Credential credential, HttpClient httpClient)

  • When compiling sds-android-examples, you must install Android SDK and set environment variable ANDROID_HOME to the install path of Android SDK before. Our examples used Android SDK API Level 19.

com.xiaomi.infra.galaxy

Xiaomi

Versions

Version
1.3.2
1.3.1
1.3
1.2.17
1.2.16
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.3
1.2.2
1.2.1