summaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2019-03-14 16:27:49 +0100
committersebdet <sebastien.determe@intl.att.com>2019-03-14 18:06:29 +0100
commitec7f47aacc6c124d8d2e01416e80e2278b427be8 (patch)
treef94a2ae5817095bfbadcac1c752696e97c4a2da4 /src/main/resources/clds
parent4549fd92024cdadf3277d7cc364f33109ca22b59 (diff)
Rework UI
Rework UI to cooperate with the new data model Issue-ID: CLAMP-318 Change-Id: I1266c350e7604d29ff86da7c7584c74ad1f8715a Signed-off-by: xg353y <xg353y@intl.att.com>
Diffstat (limited to 'src/main/resources/clds')
-rw-r--r--src/main/resources/clds/camel/rest/clamp-api-v2.xml8
1 files changed, 4 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 6b6ec458..d4872ef4 100644
--- a/src/main/resources/clds/camel/rest/clamp-api-v2.xml
+++ b/src/main/resources/clds/camel/rest/clamp-api-v2.xml
@@ -43,14 +43,14 @@
<to uri="bean:org.onap.clamp.loop.LoopController?method=updateOperationalPolicies(${header.loopName},${body})" />
</route>
</post>
- <post uri="/v2/loop/updateMicroservicePolicies/{loopName}"
- type="com.google.gson.JsonArray"
+ <post uri="/v2/loop/updateMicroservicePolicy/{loopName}"
+ type="org.onap.clamp.policy.microservice.MicroServicePolicy"
consumes="application/json"
- outType="org.onap.clamp.loop.Loop"
+ outType="org.onap.clamp.policy.microservice.MicroServicePolicy"
produces="application/json">
<route>
<to uri="bean:org.onap.clamp.authorization.AuthorizationController?method=authorize(*,'cl','','update')" />
- <to uri="bean:org.onap.clamp.loop.LoopController?method=updateMicroservicePolicies(${header.loopName},${body})" />
+ <to uri="bean:org.onap.clamp.loop.LoopController?method=updateMicroservicePolicy(${header.loopName},${body})" />
</route>
</post>
</rest>