diff options
author | Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> | 2020-02-03 16:02:18 +0000 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-02-21 14:01:50 -0500 |
commit | 28d8801959ffa9b12a00114c3d389a58a0359c40 (patch) | |
tree | 9e9bbfe922bc4bb205ab1a677d6538db0e3ed57b /sliapi/springboot/src/main/resources/sli_healthcheck.xml | |
parent | 599315984b449ca05f00b35037a103f1dc335030 (diff) |
Springboot-based SLI-API
Implement SLI-API RESTCONF in springboot
Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038
Issue-ID: CCSDK-2096
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliapi/springboot/src/main/resources/sli_healthcheck.xml')
-rw-r--r-- | sliapi/springboot/src/main/resources/sli_healthcheck.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sliapi/springboot/src/main/resources/sli_healthcheck.xml b/sliapi/springboot/src/main/resources/sli_healthcheck.xml new file mode 100644 index 000000000..bc8e2f700 --- /dev/null +++ b/sliapi/springboot/src/main/resources/sli_healthcheck.xml @@ -0,0 +1,27 @@ +<!-- + ============LICENSE_START======================================================= + openECOMP : SDN-C + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights + reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<service-logic xmlns="http://www.onap.org/sdnc/svclogic" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.onap.org/sdnc/svclogic ./svclogic.xsd" module='sli' version='0.7.0'><method rpc='healthcheck' mode='sync'> +<set> +<parameter name='error-code' value='200' /> +<parameter name='error-message' value='SDN-C is healthy'/> +<parameter name='ack-final' value='Y'/> +</set></method></service-logic> |