Java SDK for SEPIA services
Branch: master
Clone or download
fquirin Merge pull request #1 from SEPIA-Framework/dev
First release version for SEPIA-Home v2.2.0
Latest commit 041509a Jan 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Settings The humble beginnings of the new SDK Dec 28, 2018
libs updated libraries to sync with new release Jan 27, 2019
src/main added logger properties resource Jan 25, 2019
.gitignore added gitignore May 3, 2018
README.md Update README.md Jan 6, 2019
pom.xml Finished first beta of the SDK :-) now: testing ^^ Jan 6, 2019

README.md

sepia-sdk-java

A set of classes to develop services for SEPIA in Java

Credentials

Create an account on the SEPIA server you want to develop for. Ask the admin to add the 'developer' role to the account (see Wiki for help).

Service upload interface

The SEPIA-Assist server has an endpoint for service uploads, e.g.: http://localhost:20721/upload-service
To use the interface make sure the server has SDK support enabled (via admin-tools or enable_sdk=true in assist.*.properties).

Quickstart

  • Import the maven project into the IDE of your choice (tested with Eclipse).
  • Create a package for your developer account ID under 'net.b07z.sepia.sdk.services' (e.g. "uid1010" -> net.b07z.sepia.sdk.services.uid1010).
  • Open 'Settings/sdk.properties' and put in your credentials (ID + password of your SEPIA account with 'developer' role) and the endpoint URL of your SEPIA-Assist server.
  • Modify and run the various '.main.Test***.java' classes to test the upload of one of the demo services. Check the result for errors.
  • Check-out the examples under '.services.uid1007.*' to get an idea of how a SDK custom service works (until a real documentation is ready ^^).
  • Open your SEPIA client, login with the same user ID you used for development and make a real test of your custom service.

Good to know

Services that have been uploaded are only available for the user that uploaded them unless you upload them with the 'assistant' user (core-account).