csantanapr closed pull request #225: correct returned fields in response of
trigger get
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/225
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/action/kafkaFeedWeb.js b/action/kafkaFeedWeb.js
index d60ce2f..52b369e 100644
--- a/action/kafkaFeedWeb.js
+++ b/action/kafkaFeedWeb.js
@@ -77,11 +77,7 @@ function main(params) {
isJSONData: triggerDoc.isJSONData,
isBinaryValue: triggerDoc.isBinaryValue,
isBinaryKey: triggerDoc.isBinaryKey,
- isMessageHub: triggerDoc.isMessageHub,
- brokers: triggerDoc.brokers,
- kafka_admin_url: triggerDoc.kafka_admin_url,
- username: triggerDoc.username,
- password: triggerDoc.password
+ brokers: triggerDoc.brokers
},
status: triggerDoc.status
}
diff --git a/action/messageHubFeedWeb.js b/action/messageHubFeedWeb.js
index b6c5523..849a492 100644
--- a/action/messageHubFeedWeb.js
+++ b/action/messageHubFeedWeb.js
@@ -80,10 +80,9 @@ function main(params) {
isJSONData: triggerDoc.isJSONData,
isBinaryValue: triggerDoc.isBinaryValue,
isBinaryKey: triggerDoc.isBinaryKey,
- isMessageHub: triggerDoc.isMessageHub,
- brokers: triggerDoc.brokers,
+ kafka_brokers_sasl: triggerDoc.brokers,
kafka_admin_url: triggerDoc.kafka_admin_url,
- username: triggerDoc.username,
+ user: triggerDoc.username,
password: triggerDoc.password
},
status: triggerDoc.status
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services