Closed chirino closed 7 years ago
Any connector property that has the secret flag set to true, may be present in uri using a placeholder, that picks up value from /opt/integration/secrets.properties
.
If the actual value is present in the uri, then its a bug.
@chirino: from the description its not clear to me what exactly is the problem.
No those should be configure from spring-boot, eg like in that application.properties file
The camel uri should just be twitter-mention
just like the example
https://github.com/redhat-ipaas/connectors/blob/master/examples/twitter-salesforce-example/src/main/java/com/redhat/ipaas/example/MentionAddContractRoute.java#L26
Whatever magic @iocanel then has to load that /opt/integration/secrets.properties
file and make those as spring boot auto configuration is beyond my scope/knowledge. All Camel care about is that its configured using spring boot auto configuration, eg
Fixed now
Example:
uri: twitter-mention:?accessToken=&accessTokenSecret=&consumerKey=&consumerSecret=
Shouldn't stuff like consumerSecret come in via application.properties via secrets?