IBM Cloud DrAutomation java SDK Version 0.1.0
April 28, 2026 ยท View on GitHub
IBM Cloud DrAutomation java SDK Version 0.1.0
Java client library to interact with various IBM Cloud DrAutomation services.
Disclaimer: this SDK is being released initially as a pre-release version. Changes might occur which impact applications that use this SDK.
Table of Contents
- Overview
- Prerequisites
- Installation
- Using the SDK
- Questions
- Issues
- Open source @ IBM
- Contributing
- License
Overview
The IBM Cloud DrAutomation services Java SDK allows developers to programmatically interact with the following IBM Cloud services:
| Service Name | Artifact Coordinates |
|---|---|
| DrAutomation Service | com.ibm.cloud:dr-automation-service:0.1.0 |
| PowerHA Service | com.ibm.cloud:powerha-automation-service:0.1.0 |
Prerequisites
- An IBM Cloud account.
- An IAM API key to allow the SDK to access your account. Create one here.
- Java 8 or above.
Installation
The current version of this SDK is: 0.1.0
Each service's artifact coordinates are listed in the table above.
The project artifacts are published on the public Maven Central artifact repository. This is the default public repository used by maven when searching for dependencies. To use this repository within a gradle build, please see this link.
To use a particular service, define a dependency that contains the artifact coordinates (group id, artifact id and version) for the service. Here are examples for maven and gradle:
Maven
For DrAutomation Service:
<dependency>
<groupId>com.ibm.cloud</groupId>
<artifactId>dr-automation-service</artifactId>
<version>0.1.0</version>
</dependency>
For PowerHA Service:
<dependency>
<groupId>com.ibm.cloud</groupId>
<artifactId>powerha-automation-service</artifactId>
<version>0.1.0</version>
</dependency>
Gradle
For DrAutomation Service:
compile 'com.ibm.cloud:dr-automation-service:0.1.0'
For PowerHA Service:
compile 'com.ibm.cloud:powerha-automation-service:0.1.0'
Using the SDK
For general SDK usage information, please see this link
Environment Configuration
The SDK can be configured using environment variables. Here's an example configuration:
DrAutomation Service Configuration
# Authentication type
export DR_AUTOMATION_SERVICE_AUTH_TYPE=bearerToken
# Bearer token for authentication
export DR_AUTOMATION_SERVICE_BEARER_TOKEN=<bearerToken>
PowerHA Service Configuration
# Authentication type
export POWERHA_AUTOMATION_SERVICE_AUTH_TYPE=bearerToken
# Bearer token for authentication
export POWERHA_AUTOMATION_SERVICE_BEARER_TOKEN=<bearerToken>
Note: The bearer token shown above is an example. For production use:
- Use the actual service endpoint URL
- Generate your own valid IAM bearer token
Questions
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
Issues
If you encounter an issue with the project, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible that someone has already reported the problem.
Open source @ IBM
Find more open source projects on the IBM Github Page
Contributing
See CONTRIBUTING.
License
The IBM Cloud DrAutomation services Java SDK is released under the Apache 2.0 license. The license's full text can be found in LICENSE.