From dfa86ca8a3d8380487261da22cbf582b547e3276 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 5 Apr 2019 15:15:31 +0200 Subject: Introduce Camel route Camel route for Submit operation using http4 component Issue-ID: CLAMP-303 Change-Id: I29804a7db6286dfa84f7eed63813f25299a385e6 Signed-off-by: sebdet --- .../resources/clds/camel/routes/flexible-flow.xml | 172 ++++++++++++++------- 1 file changed, 114 insertions(+), 58 deletions(-) (limited to 'src/main/resources/clds/camel/routes') diff --git a/src/main/resources/clds/camel/routes/flexible-flow.xml b/src/main/resources/clds/camel/routes/flexible-flow.xml index 2103b4acf..b8244990b 100644 --- a/src/main/resources/clds/camel/routes/flexible-flow.xml +++ b/src/main/resources/clds/camel/routes/flexible-flow.xml @@ -1,61 +1,117 @@ - - - - - ${exchangeProperty.actionCd} == 'SUBMIT' || ${exchangeProperty.actionCd} == 'RESUBMIT' - - - - - 30000 - - - - - - - ${exchangeProperty.actionCd} == 'DELETE' - - - - - 30000 - - - - - - - - ${exchangeProperty.actionCd} == 'UPDATE' - - - - - 30000 - - - - - - - ${exchangeProperty.actionCd} == 'STOP' - - - - - - - ${exchangeProperty.actionCd} == 'RESTART' - - - - - - - + + + + + ${exchangeProperty.actionCd} == 'SUBMIT' || + ${exchangeProperty.actionCd} == 'RESUBMIT' + + + + + + 30000 + + + + + + + ${exchangeProperty.actionCd} == 'DELETE' + + + + + 30000 + + + + + + + + ${exchangeProperty.actionCd} == 'UPDATE' + + + + + 30000 + + + + + + + ${exchangeProperty.actionCd} == 'STOP' + + + + + + + ${exchangeProperty.actionCd} == 'RESTART' + + + + + + + + + + + + DELETE + + + {{clamp.config.policy.url}}/policyTypes/${body.getModelType()}/versions/1.0.0/policies/${body.getName()} + + + + null + + + + + + + + + + + POST + + + {{clamp.config.policy.url}}/policyTypes/${body.getModelType()}/versions/1.0.0/policies + + + + + + \ No newline at end of file -- cgit