diff options
author | sebdet <sebastien.determe@intl.att.com> | 2020-02-13 05:49:21 -0800 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2020-02-14 05:11:42 -0800 |
commit | 29e3cd1afbd3202a0c16ef6a4057662942ddefa2 (patch) | |
tree | b7811512dc4f7c08f7f2695868e3be66e57572a3 /src/test/resources/clds/camel/rest/clds-services.xml | |
parent | 728ad5ce6d3b5e3d973b6349469f96d6c3600fef (diff) |
Add tests
Add tests for https and aaf
Issue-ID: CLAMP-624
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia78ed8da7e54eaeaaed4fb87f483e0aff3a4a8c5
Diffstat (limited to 'src/test/resources/clds/camel/rest/clds-services.xml')
-rw-r--r-- | src/test/resources/clds/camel/rest/clds-services.xml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/test/resources/clds/camel/rest/clds-services.xml b/src/test/resources/clds/camel/rest/clds-services.xml deleted file mode 100644 index dd3a4bfdc..000000000 --- a/src/test/resources/clds/camel/rest/clds-services.xml +++ /dev/null @@ -1,29 +0,0 @@ -<rests xmlns="http://camel.apache.org/schema/spring"> - <rest> - <get uri="/v1/clds/cldsInfo" outType="org.onap.clamp.clds.model.CldsInfo" - produces="application/json"> - <to - uri="bean:org.onap.clamp.clds.service.CldsService?method=getCldsInfo()" /> - </get> - <get uri="/v1/healthcheck" produces="application/json" - outType="org.onap.clamp.clds.model.CldsHealthCheck"> - <route> - <setBody> - <method ref="org.onap.clamp.clds.service.CldsHealthcheckService" - method="gethealthcheck()" /> - </setBody> - <when> - <simple> ${body} == 'NOT-OK'</simple> - <setHeader headerName="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.clamp.clds.service.UserService?method=getUser()" /> - </get> - </rest> -</rests> |