diff options
author | michal.banka <michal.banka@nokia.com> | 2019-03-12 13:01:26 +0100 |
---|---|---|
committer | michal.banka <michal.banka@nokia.com> | 2019-03-12 13:02:20 +0100 |
commit | 89695a32a794bd1a12464878a7ce834b2e2e07d3 (patch) | |
tree | 14541dcf194de8ecc1358e40035d9969e04ca20e /src/main/resources/clds/camel/rest | |
parent | 43f0b01f68e145b74993e31adf7ef41379c72be1 (diff) |
Add updateGlobalPropertiesJson controller
Change-Id: I83d474a3616462cdb0cc31eadae3a189dd275683
Issue-ID: CLAMP-301
Signed-off-by: michal.banka <michal.banka@nokia.com>
Diffstat (limited to 'src/main/resources/clds/camel/rest')
-rw-r--r-- | src/main/resources/clds/camel/rest/clamp-api-v2.xml | 13 |
1 files changed, 7 insertions, 6 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 442375278..abc7dc091 100644 --- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml +++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml @@ -20,13 +20,14 @@ <to uri="bean:org.onap.clamp.loop.LoopController?method=getSVGRepresentation(${header.loopName})" /> </get> - <post uri="/v2/loop/globalProperties/{loopName}" - type="com.google.gson.JsonArray" - consumes="application/json" - outType="org.onap.clamp.loop.Loop" - produces="application/json"> + + <post uri="/v2/loop/updateGlobalProperties/{loopName}" + type="com.google.gson.JsonObject" + consumes="application/json" + outType="org.onap.clamp.loop.Loop" + produces="application/json"> <to - uri="bean:org.onap.clamp.loop.LoopController?method=updateOperationalPolicies(${header.loopName},${body})" /> + uri="bean:org.onap.clamp.loop.LoopController?method=updateGlobalPropertiesJson(${header.loopName},${body})" /> </post> <post uri="/v2/loop/updateOperationalPolicies/{loopName}" type="com.google.gson.JsonArray" |