If you are moving a project from the old RHOAS SDKs to core read this moving doc to get started.
Supported Langauge | SDK |
---|---|
TypeScript | app-services-sdk-ts |
Python | app-services-sdk-python |
Java | app-services-sdk-java |
Go | app-services-sdk-go |
RHOAS SDK's are delivered as set of individual packages. SDK's are divided into two types:
- Management SDKs - support creating services
- Instance SDKs - support direct interaction with services
Repository contains source code for openapi based generator along with automation scripts that generate all underlying RHOAS SDKS.
Typescript packages and API clients for RHOAS services
- NodeJS 14.x lts or above
Name | Package name | Status | Version | NPM | Docs |
---|---|---|---|---|---|
kafka | @rhoas/kafka-management-sdk | beta | npm | doc | |
service-accounts | @rhoas/service-accounts-sdk | alpha | npm | doc | |
connector | @rhoas/connector-management-sdk | alpha | npm | doc | |
service registry | @rhoas/registry-management-sdk | alpha | npm | doc | |
smart events | @rhoas/smart-events-management-sdk | alpha | npm | doc |
Name | Package name | Status | Version | NPM | Docs |
---|---|---|---|---|---|
kafka | @rhoas/kafka-instance-sdk | beta | npm | doc | |
service registry | @rhoas/registry-instance-sdk | beta | npm | doc |
Python packages and API clients for Red Had OpenShift Application Services (RHOAS)
- Python 3.9 or above
- pip for installing packages
Currently all RHOAS SDKs are bundled together. To install the RHOAS SDK with the pip package installer:
$ python -m pip install rhoas-sdks
All packages are now available and can be accessed by just importing them as shown below:
API | Status | Package |
---|---|---|
KafkaManagement | beta | import python rhoas_kafka_mgmt_sdk |
ServiceRegistryManagement | alpha | import rhoas_service_registry_mgmt_sdk |
ConnectorManagement | alpha | import rhoas_connector_mgmt_sdk |
ServiceAccounts | alpha | import rhoas_service_accounts_mgmt_sdk |
API | Status | Package |
---|---|---|
KafkaInstance | beta | import rhoas_kafka_instance_sdk |
RegistryInstance | beta | import rhoas_registry_instance_sdk |
Java packages and API clients for RHOAS services
- Maven 3.6.x or above
Name | Artifact Id | Status | Version | Package | Docs |
---|---|---|---|---|---|
kafka | kafka-management-sdk | beta | 1.1.2 | info | doc |
service accounts | service-accounts-sdk | alpha | 1.1.2 | info | doc |
service registry | registry-management-sdk | alpha | 0.0.6 | info | doc |
connector-management | connector-management-sdk | alpha | 0.0.6 | info | doc |
smart-events-management | smart-events-management-sdk | alpha | 0.0.6 | info | doc |
Name | Package name | Status | Version | Package | Docs |
---|---|---|---|---|---|
kafka | kafka-instance-sdk | beta | 1.1.2 | info | doc |
service registry | TBA | TBA | TBA | TBA | TBA |
Go packages and API clients for Red Hat OpenShift Application Services (RHOAS)
- Go 1.15 or above
Install the RHOAS SDK with go get
:
$ go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go
Import:
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go"
API | Status | Package |
---|---|---|
KafkaManagement | beta | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkamgmt/apiv1 |
Service Account Management | alpha | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/serviceaccountmgmt/apiv1 |
ServiceRegistryManagement | alpha | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1 |
ConnectorManagement | alpha | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/connectormgmt/apiv1 |
API | Status | Package |
---|---|---|
KafkaInstance | beta | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkainstance/apiv1 |
RegistryInstance | beta | github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registryinstance/apiv1internal |