Backend.AI Client Library for Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend.ai-client-tester
backend.ai-client
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Backend.AI Client Library for Java

Install

Clone this repository and use gradle to build the target jar file.

$ ./gradlew jar

You will get the jar file at backend.ai-client/build/libs directory. To create an archived library, use distZip task.

$ ./gradlew distZip

Check backend.ai-client/build/distributions for result.

Usage

Check out a simple tester code at backend.ai-client-tester sub-project, which demonstrate configuration loading and a query-mode execution loop.

You can test client-tester with gradle by using PappArgs options

BACKEND_ACCESS_KEY="XXXXXXXXXXXXXXXXXXXX" \
BACKEND_SECRET_KEY="XXXXXXXXXXXXXXXXXXXX" \
./gradlew :backend.ai-client-tester:run \
-PappArgs="['-k','<<KERNEL TYPE>>','-f','<<SOURCE FILE PATH>>'"