1 # ================================================================================
2 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
17 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 title: "Config Binding Service"
24 /service_component/{service_component_name}:
26 - name: "service_component_name"
28 description: "Service Component Name. service_component_name and service_component_name:rels must be keys in consul."
32 description: "Binds the configuration for service_component_name and returns the bound configuration as a JSON"
33 operationId: "config_binding_service.controller.bind_config_for_scn"
36 description: OK; the bound config is returned as an object
40 description: there is no configuration in Consul for this component
43 description: "This is the health check endpoint. If this returns a 200, the server is alive and consul can be reached. If not a 200, either dead, or no connection to consul"
44 operationId: "config_binding_service.controller.healthcheck"
48 description: Successful response
50 description: the config binding service cannot reach Consul