kecoo1 / galaxy-fds-sdk-java

Java SDK for Xiaomi File Data Storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Java SDK for Xiaomi File Data Storage.

License:Apache License 2.0


Languages

Language:Java 100.0%