summaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds/camel/rest/clds-services.xml
blob: b3061dc42f7f2a6c2352aa8d75e394f92a6c6b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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">
			<to
				uri="bean:org.onap.clamp.clds.service.CldsHealthcheckService?method=gethealthcheck()" />
		</get>

		<get uri="/v1/user/getUser" produces="text/plain">
			<to
				uri="bean:org.onap.clamp.clds.service.UserService?method=getUser()" />
		</get>
	</rest>
</rests>