...
Code Block | ||
---|---|---|
| ||
{ "uuid": "3dfcc03d-e5d4-4d57-9e9b-5c5d2db32f9a", "zoneUuid": "3c9000a9-3eb6-41fe-a11b-5a5859020c65", "clientId": "64ed69548c9167a6-3987bb83-40204f77-9553bdfc-54d9e4e7d2581947a946f77b", "clientSecret": "76e33a67de02e3fa-8e8c4b23-420946cb-ae38aed6-5e4fa59fd4525665a16e73d3" } |
Configuring an Adaptor
...
Property | Description | Example Value |
---|---|---|
className | Transport implementation class (should be a constant value if using the YOUnite Java SDK). | com.younite.adaptor.sdk.transport.amq.AMQConnect |
zoneUuid | UUID of the zone this adaptor belongs to | 6ab9380f3c9000a9-d7f23eb6-477c41fe-b93ca11b-3a762e70095e5a5859020c65 |
adaptorUuid | UUID of the adaptor | de02e3fa3dfcc03d-d7f2e5d4-477c4d57-aed69e9b-5665a16e73d35c5d2db32f9a |
clientId | ClientID returned from POST /adaptors used to connect to message broker | 8c9167a6-bb83-4f77-bdfc-1947a946f77b |
clientSecret | Secret returned from POST /adaptors used to connect to message broker | de02e3fa-4b23-46cb-aed6-5665a16e73d3 |
brokerUrl | Message Broker URL | nio+ssl://message-broker-uri:61617 |
oauthServerUrl | OAUTH Server to validate adaptor access credentials | http://oauth-server-uri |
...
Code Block | ||
---|---|---|
| ||
# Configuration # Transport implementation class className: com.younite.adaptor.sdk.transport.amq.AMQConnect # UUID of the zone this adaptor belongs to zoneUuid: 6ab9380f-d7f2-477c-b93c-3a762e70095e # Adaptor UUID adaptorUuid: de02e3fa3dfcc03d-d7f2e5d4-477c4d57-aed69e9b-5665a16e73d35c5d2db32f9a # ClientID and Secret to be used by JMS to verify adaptor has valid access to message bus (and API) clientId: 8c9167a6-bb83-4f77-bdfc-1947a946f77b clientSecret: de02e3fa-4b23-46cb-aed6-5665a16e73d3 # Message Broker URL brokerUrl: nio+ssl://192.2.200.25:61617 # OAUTH Server to validate adaptor access credentials oauthServerUrl: http://192.2.200.15 |
...
State | Description |
---|---|
Posted | Adaptor is successfully POSTed. An API consumer can make this request or it can be done through the YOUnite UI. |
Configured | The adaptors had a:
|
Pause | The adaptors is running but not accepting adaptor (read/write) requests. |
Play Read-Only | The adaptor is accepting read requests only. |
Play | The adaptor is accepting read and write requests. |
Start the Adaptor - Connect to the Hub
...