Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
Patrick Breucking edited this page Nov 18, 2016 · 6 revisions

Welcome to the cot-java-rest-sdk wiki!

Developer Information

You can find information for developers in this section.

Build the project

To run the integration tests you should now use 'mvn integration-test'

Testing

The project uses following kind of tests

  • Unit tests
  • Integration tests (class suffix xyzIT.java) with

In maven,

  • the goal test runs all unit tests,
  • the goal integration-test runs unit and integration tests.

Code Conventions/Style

  • Write tests
  • Keep it simple

Error Handling

In case of errors in communication with Cloud of Things REST API, the CotSdkException should be used to wrap the original error or Exception.

An example usage can be found in CloudOfThingsRestClient.doRequestWithIdResponse(..)

Clone this wiki locally