diff options
author | Sébastien Determe <sebastien.determe@intl.att.com> | 2020-03-02 12:31:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-02 12:31:54 +0000 |
commit | 47caef3827de362e7b6204b01d73238fb6faa714 (patch) | |
tree | 33c17bd972a64b39d15fe000040aef754c6da61f /src/main/resources/clds/camel/rest | |
parent | 2d28cbf6954c50de004a0d8f1a2ada7ec400fea3 (diff) | |
parent | 393bbb59b975747723c6801da2a5b151c542a0b5 (diff) |
Merge "Upload Tosca Model changes to remove policy model type parsing from UI. Dictionary API fix to allow bulk create or update of dictionary elements."
Diffstat (limited to 'src/main/resources/clds/camel/rest')
-rw-r--r-- | src/main/resources/clds/camel/rest/clamp-api-v2.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/resources/clds/camel/rest/clamp-api-v2.xml b/src/main/resources/clds/camel/rest/clamp-api-v2.xml index fe3f6bdaf..3ed272e7c 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -910,13 +910,12 @@ </route> </get> - <post uri="/v2/policyToscaModels/{policyModelType}" + <post uri="/v2/policyToscaModels" type="java.lang.String" outType="org.onap.clamp.loop.template.PolicyModel" consumes="plain/text" produces="application/json"> <route> - <removeHeaders pattern="*" - excludePattern="policyModelType" /> + <removeHeaders pattern="*"/> <doTry> <to uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=startLog(*, 'Upload New or Update Tosca Policy Model')" /> @@ -926,7 +925,7 @@ <simple>${body}</simple> </setProperty> <to - uri="bean:org.onap.clamp.loop.template.PolicyModelsService?method=createNewPolicyModelFromTosca(${header.policyModelType},${exchangeProperty[PolicyModelTosca]})" /> + uri="bean:org.onap.clamp.loop.template.PolicyModelsService?method=createNewPolicyModelFromTosca(${exchangeProperty[PolicyModelTosca]})" /> <to uri="bean:org.onap.clamp.flow.log.FlowLogOperation?method=endLog()" /> <doCatch> |