diff options
Diffstat (limited to 'src/main/resources/clds/camel/rest/clds-services.xml')
-rw-r--r-- | src/main/resources/clds/camel/rest/clds-services.xml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main/resources/clds/camel/rest/clds-services.xml b/src/main/resources/clds/camel/rest/clds-services.xml deleted file mode 100644 index aa4c3cbee..000000000 --- a/src/main/resources/clds/camel/rest/clds-services.xml +++ /dev/null @@ -1,24 +0,0 @@ -<rests xmlns="http://camel.apache.org/schema/spring"> - <rest> - <get uri="/v1/healthcheck" produces="application/json" - outType="org.onap.policy.clamp.clds.model.CldsHealthCheck"> - <route> - <setBody> - <method ref="org.onap.policy.clamp.clds.service.CldsHealthcheckService" - method="gethealthcheck()" /> - </setBody> - <when> - <simple> ${body} == 'NOT-OK'</simple> - <setHeader name="CamelHttpResponseCode"> - <constant>404</constant> - </setHeader> - <log loggingLevel="ERROR" message="HealthCheck failed" /> - </when> - </route> - </get> - - <get uri="/v1/user/getUser" produces="text/plain"> - <to uri="bean:org.onap.policy.clamp.authorization.UserService?method=getUser()" /> - </get> - </rest> -</rests> |