diff options
author | Liam Fallon <liam.fallon@est.tech> | 2021-11-17 15:15:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-11-17 15:15:23 +0000 |
commit | c724c6e29c6abae7a53aa77ae05500cdcfaa42f9 (patch) | |
tree | f37f9fa44441444cf232242c81ba1287f4a9eb84 /runtime/src/main | |
parent | 225dcb4d6f801d88094a9512d79c82c4189c07f6 (diff) | |
parent | aa498ca1fce0d8a267a56bbce4f98f524a0008db (diff) |
Merge "Added Camel Unit Tests For Monitoring"
Diffstat (limited to 'runtime/src/main')
-rw-r--r-- | runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml index ac83ffd7a..200eac780 100644 --- a/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml +++ b/runtime/src/main/resources/clds/camel/routes/controlloop-flows.xml @@ -98,10 +98,16 @@ <setHeader name="Content-Type"> <constant>application/json</constant> </setHeader> + <setProperty name="name"> + <simple>${header.name}</simple> + </setProperty> + <setProperty name="version"> + <simple>${header.version}</simple> + </setProperty> <log loggingLevel="INFO" message="Endpoint to get Tosca Instantiation: {{clamp.config.controlloop.runtime.url}}/onap/controlloop/v2/instantiation"></log> <toD - uri="{{clamp.config.controlloop.runtime.url}}/onap/controlloop/v2/instantiation?bridgeEndpoint=true&useSystemProperties=true&throwExceptionOnFailure=${exchangeProperty[raiseHttpExceptionFlag]}&authMethod=Basic&authUsername={{clamp.config.controlloop.runtime.userName}}&authPassword={{clamp.config.controlloop.runtime.password}}&authenticationPreemptive=true&connectionClose=true"/> + uri="{{clamp.config.controlloop.runtime.url}}/onap/controlloop/v2/instantiation?name=${exchangeProperty[name]}&version=${exchangeProperty[version]}&bridgeEndpoint=true&useSystemProperties=true&throwExceptionOnFailure=${exchangeProperty[raiseHttpExceptionFlag]}&authMethod=Basic&authUsername={{clamp.config.controlloop.runtime.userName}}&authPassword={{clamp.config.controlloop.runtime.password}}&authenticationPreemptive=true&connectionClose=true"/> <convertBodyTo type="java.lang.String"/> <doFinally> <to uri="direct:reset-raise-http-exception-flag"/> |