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\
22 url: "/redoc/logo.png"
23 backgroundColor: "#FFFFFF"
24 host: "localhost:8080"
25 basePath: "/nbi/api/v4"
29 - "application/json;charset=utf-8"
39 - "application/json;charset=utf-8"
40 operationId: "statusFind"
41 summary: "retrieve application status"
42 description: "* Default\n\n```\n{\n \"name\": \"nbi\",\n \"status\": \"\
43 ok\",\n \"version\": \"v3\"\n}\n```\n\n* Optional\n\n```\n?fullStatus=true\n\
44 ```\n\n```\n{\n \"name\": \"nbi\",\n \"status\": \"ok\",\n \"version\"\
45 : \"v3\",\n \"components\": [\n {\n \"name\": \"sdc connectivity\"\
46 ,\n \"status\": \"ko\"\n },\n {\n \"name\"\
47 : \"so connectivity\",\n \"status\": \"ok\"\n },\n \
48 \ {\n \"name\": \"aai connectivity\",\n \"status\"\
49 : \"ok\"\n },\n {\n \"name\": \"dmaap connectivity\"\
50 ,\n \"status\": \"ok\"\n }\n ]\n}\n```"
63 $ref: "#/definitions/Status"
78 - "dmaap connectivity"
127 $ref: "#/definitions/ErrorDetail"
136 $ref: "#/definitions/ComponentsName"
138 $ref: "#/definitions/StatusValue"
149 $ref: "#/definitions/ApplicationName"
151 $ref: "#/definitions/StatusValue"
158 $ref: "#/definitions/Component"