Skip to content
Java SDK for Xiaomi File Data Storage.
Branch: master
Clone or download
Latest commit 5e93bc2 Feb 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src update fds sdk to 3.0.28 Feb 14, 2019
LICENSE.txt Initialize fds java sdk repo Nov 21, 2014
README.md Update README.md Jul 14, 2017
java-sdk-test-setting.jpg
pom.xml update fds sdk to 3.0.28 Feb 14, 2019

README.md

Galaxy FDS Java SDK User Guide

Installing

  1. Download source codes from github ,build and install the jars into local maven repository (or deploy to a central Maven repository). github link: https://github.com/XiaoMi/galaxy-fds-sdk-java.git

mvn clean package install

  1. If use Maven to management, users can download the latest jar for maven central repository.The latest version is 1.5.0.

Usage

  1. Import the above jars into the project classpath or add the following dependency if your project is managed with Maven.
    <dependency>
      	<groupId>com.xiaomi.infra.galaxy</groupId>
    		<artifactId>galaxy-fds-sdk-java</artifactId>
    		<version>3.0.14</version>
    </dependency>
  1. Add the jar to classpath.

Unit Tests(Examples)

  1. Visit https://dev.mi.com/keycenter and edit galaxy-fds-sdk-java/src/test/resources/test.properties like this: image

  2. Run galaxy-fds-sdk-java/src/test/java/com/xiaomi/infra/galaxy/fds/client/TestGalaxyFDSClient.java as unit test.

You can’t perform that action at this time.