Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Releases: ibm-watson-iot/iot-java

com.ibm.messaging/watson-iot v0.1.1

30 May 04:50
Compare
Choose a tag to compare
Pre-release

The library artifact is pushed to the maven. Use the following maven dependency to include this library in your java application.

<dependency>
    <groupId>com.ibm.messaging</groupId>
    <artifactId>watson-iot</artifactId>
    <version>0.1.1</version>
</dependency>

However if you want to build the library by yourself, use the following maven command,

mvn clean deploy

com.ibm.messaging/watson-iot v0.0.12

13 Apr 10:12
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Connection retry logic is modified to retry based on user input. An overloaded method is added which accepts the Boolean parameter.

All samples are moved to different repository

In order to search & find the samples easily, we moved the samples to corresponding repositories and

  • Device samples - Repository contains all device (also device management) related samples in different programming languages. Information and instructions regarding the use of these samples can be found in their respective directories.
  • Gateway Samples - Repository contains all Gateway (also gateway management) related samples in different programming languages.
  • Application samples - Repository contains samples for developing the application(s) in IBM Watson Internet of Things Platform in different languages.
  • Watson IoT Platform API V002 samples - Repository contains samples that interacts with IBM Watson IoT Platform using the platform API Version 2.
  • Scalable Application samples - Repository contains sample(s) for building scalable applications, using shared subscription support in IBM Watson IoT Platform.
  • Backup-restore sample - The sample in the repository shows how to backup the device configuration in Cloudant NoSQL DB and restore the same later.

Maven support

The library artifact is pushed to the maven. Use the following maven dependency to include this library in your java application.

<dependency>
    <groupId>com.ibm.messaging</groupId>
    <artifactId>watson-iot</artifactId>
    <version>0.1.0</version>
</dependency>

However if you want to build the library by yourself, use the following maven command,

mvn clean deploy

com.ibm.messaging/watson-iot v0.0.11

19 Feb 11:54
Compare
Choose a tag to compare
Pre-release

Bug Fixes

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.11.jar - Client library that enables one to talk to IBM Watson IoT Platform
  • com.ibm.iotf.samples-0.0.11.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect the device as managed device to Watson IoT Platform and perform device management operations
  • DMGatewaySample.properties - Properties file used to configure the list of options required to connect the gateway and attached devices as managed devices to Watson IoT Platform and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient is used
  • gateway.prop - Properties file to specify connectivity information when GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.11.jar:com.ibm.iotf.samples-0.0.11.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.10

17 Feb 16:08
Compare
Choose a tag to compare
Pre-release

Added support for manual registration of attached devices

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.10.jar - Client library that enables one to talk to IBM Watson IoT Platform
  • com.ibm.iotf.samples-0.0.10.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient and GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.10.jar:com.ibm.iotf.samples-0.0.10.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.9

11 Feb 10:09
Compare
Choose a tag to compare
Pre-release

Added Gateway device management sample

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.9.jar - Client library that enables one to talk to IBM Watson IoT Platform
  • com.ibm.iotf.samples-0.0.9.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient and GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.9.jar:com.ibm.iotf.samples-0.0.9.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.8

05 Feb 14:50
Compare
Choose a tag to compare
Pre-release

Note for the users who migrate from 0.0.7 to 0.0.8

  • The Device Management(DM) support is restructured, so the bean classes are moved from package com.ibm.iotf.devicemgmt.device to com.ibm.iotf.devicemgmt inorder to support DM for both Gateway and directly connected devices. In case, if you get an error, try changing the package name as mentioned.
  • Use property shared-subscription to run the application in scalable mode, the property is changed from enable-shared-subscription to just shared-subscription.
  • By default all the clients, DeviceClient, ApplicationClient, ManagedDevice, Managedgateway connects in non-durable session now, i.e. in clean session. If you want a durable subscription, set property clean-session to false while running the code.

There are multiple changes gone in this release, the changes are as follows

  • Support for Gateway Device Management functionality is added.
  • Support for unsubscription is added, for example application can unsubscribe to device events, device commands, application status or device status, that it was subscribe to earlier.
  • Javadoc is added for Gateway and Gateway management.

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.8.jar - Client library that enables one to talk to IBM Watson IoT Platform
  • com.ibm.iotf.samples-0.0.8.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient and GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.8.jar:com.ibm.iotf.samples-0.0.8.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.7

02 Feb 08:29
Compare
Choose a tag to compare
Pre-release

Added Gateway support

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.7.jar - Client library that enables one to talk to IBM Watson IoT Platform
  • com.ibm.iotf.samples-0.0.7.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient and GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries
  • javadoc - Contains the client library documentation

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.7.jar:com.ibm.iotf.samples-0.0.7.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.6

27 Jan 09:53
Compare
Choose a tag to compare
Pre-release

Added Gateway support

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.6.jar - Client library that enables one to talk to IoT Foundation Connect
  • com.ibm.iotf.samples-0.0.6.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient and GatewayClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries
  • javadoc - Contains the client library documentation

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.6.jar:com.ibm.iotf.samples-0.0.6.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.5

23 Dec 10:16
Compare
Choose a tag to compare
Pre-release

Added a Backup & Restore sample

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.5.jar - Client library that enables one to talk to IoT Foundation Connect
  • com.ibm.iotf.samples-0.0.5.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries
  • javadoc - Contains the client library documentation

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.5.jar:com.ibm.iotf.samples-0.0.5.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish

com.ibm.messaging/watson-iot v0.0.4

07 Dec 09:38
Compare
Choose a tag to compare
Pre-release

Included support for scalable applications

The zip module contains the following files,

  • com.ibm.iotf.client-0.0.3.jar - Client library that enables one to talk to IoT Foundation Connect
  • com.ibm.iotf.samples-0.0.3.jar - Contains samples
  • DMDeviceSample.properties - Properties file used to configure the list of options required to connect to IoT Foundation Connect and perform device management operations
  • device.prop - Properties file to specify connectivity information when DeviceClient is used
  • application.prop - Properties file to specify connectivity information when ApplicationClient is used
  • lib - Contains all dependent libraries
  • javadoc - Contains the client library documentation

For example, to run the application command publish example, specify the following command:

java -cp com.ibm.iotf.client-0.0.3.jar:com.ibm.iotf.samples-0.0.3.jar:lib/* com.ibm.iotf.sample.client.application.RegisteredApplicationCommandPublish