Skip to content

Commit 1f1acdc

Browse files
committed
fix dbg typo, now use the correct wrapped oic mnt service id
1 parent 32caad9 commit 1f1acdc

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎IoTDBJDBC/src/main/java/com/oracle/demo/timg/iot/iotdbjdbc/messagehandler/outputs/http/rest/normalizeddata/oicwrappeddata/WrappedNormalizedDataHttpOICOutput.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public NormalizedData[] processNormalizedData(NormalizedData input) throws Excep
100100
result = wrappedHttpOicClient.postWrappedNormalizedDataAsJsonToString(normalizedDataTransfer);
101101
}
102102
} catch (HttpClientException e) {
103-
log.warning(
104-
"HttpOICClient exception making call postNormalizedDataAsJsonToXXXX - " + e.getLocalizedMessage());
103+
log.warning("HttpOICClient exception making call postWrappedNormalizedDataAsJsonToXXXX - "
104+
+ e.getLocalizedMessage());
105105
NormalizedData[] returnResp = new NormalizedData[1];
106106
returnResp[0] = input;
107107
return returnResp;
@@ -131,7 +131,7 @@ public int getOrder() {
131131

132132
@Override
133133
public String getName() {
134-
return "IoT HTTP Normalized Data OIC Client";
134+
return "IoT HTTP Wrapped Normalized Data OIC Client";
135135
}
136136

137137
@Override
@@ -141,7 +141,7 @@ public String getConfig() {
141141

142142
@PostConstruct
143143
public void postConstruct() {
144-
log.info("NormalizedDataHttpOICSimpleOutput " + this.getConfig());
144+
log.info("WrappedNormalizedDataHttpOICSimpleOutput " + this.getConfig());
145145
}
146146

147147
}

‎IoTDBJDBC/src/main/java/com/oracle/demo/timg/iot/iotdbjdbc/messagehandler/outputs/http/rest/normalizeddata/oicwrappeddata/WrappedNormalizedDataIoTOutputHttpOICClient.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Software and the Larger Work(s), and to sublicense the foregoing rights on
5151
// needs the credentials
5252

5353
@Requires(property = IoTOutputHttpOICClientWrappedNormalizedDataSettings.ENABLED_PROPERTY, value = "true", defaultValue = "false")
54-
@Client(id = "normalizeddataiotoutputhttpoicclient", path = "${"
54+
@Client(id = "wrappednormalizeddataiotoutputhttpclient", path = "${"
5555
+ IoTOutputHttpOICClientWrappedNormalizedDataSettings.TARGET_PATH_PROPERTY + ":"
5656
+ IoTOutputHttpOICClientWrappedNormalizedDataSettings.TARGET_PATH_DEFAULT + "}")
5757
@Header(name = USER_AGENT, value = "Micronaut HTTP Client")

0 commit comments

Comments
 (0)