diff --git a/camunda-carbon-reductor-c8/README.md b/camunda-carbon-reductor-c8/README.md index ce0b027..d346cf6 100644 --- a/camunda-carbon-reductor-c8/README.md +++ b/camunda-carbon-reductor-c8/README.md @@ -60,22 +60,22 @@ Configure the application using [application.yml](./src/main/resources/applicati You can run the Connector and connect it to a Camunda Platform 8 SaaS cluster. ```yml -zeebe: +camunda: client: - cloud: - clientId: xxx - clusterId: xxx - clientSecret: xxx - region: dsm-1 + auth: + client-id: xxx + client-secret: xxx + cluster-id: xxx + region: xxx ``` If you're running Camunda Platform 8 Self-Managed then use the following configuration: ```yml -zeebe: +camunda: client: - broker.gateway-address: 127.0.0.1:26500 - security.plaintext: true + zeebe: + base-url: http://127.0.0.1:26500 ``` Once the Connector is running you will see log entries like the following. diff --git a/camunda-carbon-reductor-c8/src/main/resources/application.yml b/camunda-carbon-reductor-c8/src/main/resources/application.yml index c3816af..b95a564 100644 --- a/camunda-carbon-reductor-c8/src/main/resources/application.yml +++ b/camunda-carbon-reductor-c8/src/main/resources/application.yml @@ -1,10 +1,10 @@ -zeebe: +camunda: client: - cloud: - clientId: ${CLIENT_ID} - clusterId: ${CLUSTER_ID} - clientSecret: ${CLIENT_SECRET} - region: ${CLIENT_REGION} + auth: + client-id: ${CLIENT_ID} + client-secret: ${CLIENT_SECRET} + cluster-id: ${CLIENT_ID} + region: ${CLIENT_REGION} carbon-reductor: carbon-aware-api: @@ -14,4 +14,4 @@ carbon-reductor: # Enable or disable the Carbon Aware Computing API usage (default is false) # enabled: true # basePath: "https://forecast.carbon-aware-computing.com" - # apiKey: \ No newline at end of file + # apiKey: