Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Jan 16, 2025
1 parent 2d6e18f commit 2d849b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public HttpClient() {
+ "The sub path following '.../dynamic-mapping-service/httpConnector/' is used as '<MAPPING_TOPIC>', e.g. a json payload send to 'https://<YOUR_CUMULOCITY_TENANT>/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);
}
Expand All @@ -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();
Expand Down Expand Up @@ -130,7 +129,6 @@ tenant, getConnectorName(), isConnected(),
while (!successful) {
loadConfiguration();
try {

connectionState.setTrue();
log.info("Tenant {} - Connected to http endpoint {}", tenant,
path);
Expand All @@ -145,7 +143,6 @@ tenant, getConnectorName(), isConnected(),
sendConnectorLifecycle();
}
}

}

@Override
Expand Down
Binary file modified resources/image/Dynamic_Mapper_Connector_Http.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2d849b0

Please sign in to comment.