Typescript and JavaScript packages and API clients for RHOAS services
- NodeJS 14.x lts or above
RHOAS TypeScript SDK's are delivered as set of the individual npm packages. SDK's are divided into two types:
- Management SDKs - support creating services
- Instance SDKs - support interaction with services (limited to capabilities not supported by upstream tools)
Typically developers need to integrate with Management SDK's to create or manage service instances and later use upstream libraries or management SDK's to interact with services.
You can view all SDK packages directly in npm
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 |
Contributions are welcome. See CONTRIBUTING for details.
Every SDK provided by RHOAS has available API mock. Mock provides simulation of in memory implementation of APIs that can be used for development and testing.
- Inline install and usage
npx @rhoas/api-mock
- Container image
docker run -p 8080:8000 quay.io/rhosak/api-mock
- Using as CLI
npm install -g @rhoas/api-mock
## Run CLI
asapi