Cumulocity-IoT / c8y-adamos-hub-connector

Cumulocity IoT ADAMOS HUB Connector
Apache License 2.0
1 stars 1 forks source link

Make dev vs. prod selection of ADAMOS HUB configurable in UI #8

Closed haraldmeyer closed 1 year ago

haraldmeyer commented 2 years ago

The Settings page: image

Should have an additional section to configure the ADAMOS Hub instance. The instance should be selectable from a drop-down list with currently the following values:

The selected URL should be part of the HubConnectorGlobalSettings: https://github.com/SoftwareAG/c8y-adamos-hub-connector/blob/main/ax-mm-hubconnector/src/main/java/com/adamos/hubconnector/model/HubConnectorGlobalSettings.java

The setting should replace the existing app.hubconnector.host setting from the application.properties: https://github.com/SoftwareAG/c8y-adamos-hub-connector/blob/main/ax-mm-hubconnector/src/main/resources/application.properties

As the other app.hubconnector settings depend on it, the settings in the application.properties should be replaced by a Spring-configured bean. The paths of the individual services do not need to be configurable.

hnaether-c8y commented 1 year ago

Testing...

hnaether-c8y commented 1 year ago

Improved migration logics. Instead of empty string, setting https://adamos.hub.com as default url. Waiting for review.