1 # Copyright (c) 2018 Orange
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.swagger: "2.0"
16 description: "Provides a healthcheck to verify that the NBI component is running\
17 \ fine as a standalone application or can also communicate with other onap modules.\n\
23 url: "https://onap.readthedocs.io"
24 email: "onap-discuss@lists.onap.org"
27 url: "http://www.apache.org/licenses/LICENSE-2.0"
28 x-planned-retirement-date: "205001"
31 url: "/redoc/logo.png"
32 backgroundColor: "#FFFFFF"
33 host: "serverRoot:30274"
34 basePath: "/nbi/api/v4"
39 - "application/json;charset=utf-8"
46 last-mod-release: "Frankfurt"
52 - "application/json;charset=utf-8"
53 operationId: "status_Find"
54 summary: "retrieve application status"
55 description: "* Default\n\n```\n{\n \"name\": \"nbi\",\n \"status\": \"\
56 ok\",\n \"version\": \"v3\"\n}\n```\n\n* Optional\n\n```\n?fullStatus=true\n\
57 ```\n\n```\n{\n \"name\": \"nbi\",\n \"status\": \"ok\",\n \"version\"\
58 : \"v3\",\n \"components\": [\n {\n \"name\": \"sdc connectivity\"\
59 ,\n \"status\": \"ko\"\n },\n {\n \"name\"\
60 : \"so connectivity\",\n \"status\": \"ok\"\n },\n \
61 \ {\n \"name\": \"aai connectivity\",\n \"status\"\
62 : \"ok\"\n },\n {\n \"name\": \"dmaap connectivity\"\
63 ,\n \"status\": \"ok\"\n }\n ]\n}\n```"
76 $ref: "#/definitions/Status"
79 description: "Status Value"
85 description: "Components Name"
91 - "dmaap connectivity"
93 description: "Application Name"
98 description: "Error code, inforURL, description and message"
118 description: "Error code and message"
140 $ref: "#/definitions/ErrorDetail"
142 description: "Component"
149 $ref: "#/definitions/ComponentsName"
151 $ref: "#/definitions/StatusValue"
153 description: "Status"
162 $ref: "#/definitions/ApplicationName"
164 $ref: "#/definitions/StatusValue"
171 $ref: "#/definitions/Component"