diff --git a/dynamic-mapping-service/src/main/java/dynamic/mapping/connector/http/HttpClient.java b/dynamic-mapping-service/src/main/java/dynamic/mapping/connector/http/HttpClient.java index 2cf431e9..b7cffeb4 100644 --- a/dynamic-mapping-service/src/main/java/dynamic/mapping/connector/http/HttpClient.java +++ b/dynamic-mapping-service/src/main/java/dynamic/mapping/connector/http/HttpClient.java @@ -68,7 +68,7 @@ public HttpClient() { + "The sub path following '.../dynamic-mapping-service/httpConnector/' is used as '', e.g. a json payload send to 'https:///service/dynamic-mapping-service/httpConnector/temp/berlin_01' \n" + "will be resolved to a mapping with mapping topic: 'temp/berlin_01'.\n" + "The message must be send in a POST request.\n" - + "NOTE: The leading '/' is cut off from the sub path."; + + "NOTE: The leading '/' is cut off from the sub path.This can be configured "; connectorType = ConnectorType.HTTP; connectorSpecification = new ConnectorSpecification(name, description, connectorType, configProps, false); } @@ -87,7 +87,6 @@ public HttpClient(ConfigurationRegistry configurationRegistry, this.connectorIdentifier = connectorConfiguration.identifier; this.connectorStatus = ConnectorStatusEvent.unknown(connectorConfiguration.name, connectorConfiguration.identifier); - // this.connectorType = connectorConfiguration.connectorType; this.c8yAgent = configurationRegistry.getC8yAgent(); this.virtThreadPool = configurationRegistry.getVirtThreadPool(); this.objectMapper = configurationRegistry.getObjectMapper(); @@ -130,7 +129,6 @@ tenant, getConnectorName(), isConnected(), while (!successful) { loadConfiguration(); try { - connectionState.setTrue(); log.info("Tenant {} - Connected to http endpoint {}", tenant, path); @@ -145,7 +143,6 @@ tenant, getConnectorName(), isConnected(), sendConnectorLifecycle(); } } - } @Override diff --git a/resources/image/Dynamic_Mapper_Connector_Http.png b/resources/image/Dynamic_Mapper_Connector_Http.png index 450d47d7..c6409014 100644 Binary files a/resources/image/Dynamic_Mapper_Connector_Http.png and b/resources/image/Dynamic_Mapper_Connector_Http.png differ