2 This work is licensed under a Creative Commons Attribution 4.0 International License.
3 http://creativecommons.org/licenses/by/4.0
15 https://api-designer.sso.infra.ftgroup/swagger-ui/?url=https://api-designer.sso.infra.ftgroup/api/1.0/apis/5an735gnX0/swagger.json[Swagger UI]
18 https://plantuml.rd.francetelecom.fr/proxy?fmt=svg&src=https://api-designer.sso.infra.ftgroup/api/1.0/apis/5an735gnX0/plantuml&noCache=304710.0[plant UML UI]
20 serviceInventory API designed for ONAP Beijing Release.
21 This API is build from TMF open API18.0 (applying TMF Guideline 3.0)
22 only operation GET (by id & byList) for resource serviceSpecification is available
25 === Version information
27 __Version__ : 1.0.0_inProgress
33 __BasePath__ : /nbi/api/v1
44 * `application/json;charset=utf-8`
49 * `application/json;charset=utf-8`
66 This operation list service entities.
67 Attribute selection is restricted.
68 fields attribute may be used to filter retrieved attribute(s) for each service
70 Specific business errors for current operation will be encapsulated in
72 HTTP Response 422 Unprocessable entity
77 [options="header", cols=".^2,.^3,.^4"]
80 |**Query**|**fields** +
84 |**Query**|**relatedParty.id** +
86 |**Query**|**serviceSpecification.id** +
88 |**Query**|**serviceSpecification.name** +
95 [options="header", cols=".^2,.^14,.^4"]
97 |HTTP Code|Description|Schema
98 |**200**|Success|< <<_listservice,ListService>> > array
101 List of supported error codes:
102 - 20: Invalid URL parameter value
105 - 23: Missing body field
106 - 24: Invalid body field
108 - 26: Invalid header value
109 - 27: Missing query-string parameter
110 - 28: Invalid query-string parameter value|<<_errorrepresentation,ErrorRepresentation>>
111 |**401**|Unauthorized
113 List of supported error codes:
114 - 40: Missing credentials
115 - 41: Invalid credentials
116 - 42: Expired credentials|<<_errorrepresentation,ErrorRepresentation>>
119 List of supported error codes:
121 - 51: Forbidden requester
123 - 53: Too many requests|<<_errorrepresentation,ErrorRepresentation>>
126 List of supported error codes:
127 - 60: Resource not found|<<_errorrepresentation,ErrorRepresentation>>
128 |**422**|Unprocessable entity
130 Functional error|<<_errorrepresentation,ErrorRepresentation>>
131 |**500**|Internal Server Error
133 List of supported error codes:
134 - 1: Internal error|<<_errorrepresentation,ErrorRepresentation>>
135 |**503**|Service Unavailable
137 List of supported error codes:
138 - 5: The service is temporarily unavailable
139 - 6: Orange API is over capacity, retry later !|<<_errorrepresentation,ErrorRepresentation>>
144 ==== Retrieve a service
151 This operation retrieves a service entity.
152 Attribute selection is enabled for all first level attributes.
154 Specific business errors for current operation will be encapsulated in
156 HTTP Response 422 Unprocessable entity
161 [options="header", cols=".^2,.^3,.^4"]
166 |**Query**|**relatedParty.id** +
168 |**Query**|**serviceSpecification.id** +
170 |**Query**|**serviceSpecification.name** +
177 [options="header", cols=".^2,.^14,.^4"]
179 |HTTP Code|Description|Schema
180 |**200**|Success|<<_service,Service>>
183 List of supported error codes:
184 - 20: Invalid URL parameter value
187 - 23: Missing body field
188 - 24: Invalid body field
190 - 26: Invalid header value
191 - 27: Missing query-string parameter
192 - 28: Invalid query-string parameter value|<<_errorrepresentation,ErrorRepresentation>>
193 |**401**|Unauthorized
195 List of supported error codes:
196 - 40: Missing credentials
197 - 41: Invalid credentials
198 - 42: Expired credentials|<<_errorrepresentation,ErrorRepresentation>>
201 List of supported error codes:
203 - 51: Forbidden requester
205 - 53: Too many requests|<<_errorrepresentation,ErrorRepresentation>>
208 List of supported error codes:
209 - 60: Resource not found|<<_errorrepresentation,ErrorRepresentation>>
210 |**422**|Unprocessable entity
212 Functional error|<<_errorrepresentation,ErrorRepresentation>>
213 |**500**|Internal Server Error
215 List of supported error codes:
216 - 1: Internal error|<<_errorrepresentation,ErrorRepresentation>>
217 |**503**|Service Unavailable
219 List of supported error codes:
220 - 5: The service is temporarily unavailable
221 - 6: Orange API is over capacity, retry later !|<<_errorrepresentation,ErrorRepresentation>>
228 [[_errorrepresentation]]
229 === ErrorRepresentation
230 This class is used to describe error.
231 for nbi Beijing release we do not manage additional error for serviceCatalog
234 [options="header", cols=".^3,.^11,.^4"]
236 |Name|Description|Schema
237 |**@schemaLocation** +
238 __optional__|it provides a link to the schema describing a REST resource.|string
240 __optional__|The class type of a REST resource.|string
242 __required__|Application related code (as defined in the API or from a common list)|integer (int32)
244 __optional__|Text that provide more details and corrective actions related to the error. This can be shown to a client user.|string
246 __required__|Text that explains the reason for error. This can be shown to a client user.|string
247 |**referenceError** +
248 __optional__|url pointing to documentation describing the error|string
250 __optional__|http error code extension like 400-2|string
254 [[_listrelatedpartyref]]
255 === ListRelatedPartyRef
256 This class is used to structure list of service(s) retrieved
259 [options="header", cols=".^3,.^11,.^4"]
261 |Name|Description|Schema
263 __optional__|Unique identifier of a related party|string
265 __optional__|Role played by the related party - only role “ONAPcustomer” is managed in Beijing release.|string
271 This class is used to structure list of service(s) retrieved
274 [options="header", cols=".^3,.^11,.^4"]
276 |Name|Description|Schema
278 __optional__|Unique identifier of the service|string
280 __optional__|Name of the service|string
282 __optional__||<<_listrelatedpartyref,ListRelatedPartyRef>>
283 |**serviceSpecification** +
284 __optional__||<<_listservicespecificationref,ListServiceSpecificationRef>>
288 [[_listservicespecificationref]]
289 === ListServiceSpecificationRef
290 This class is used to structure list of service(s) retrieved
293 [options="header", cols=".^3,.^11,.^4"]
295 |Name|Description|Schema
297 __optional__|Unique identifier of the service specification|string
299 __optional__|Name of the required service specification|string
305 RelatedParty reference. A related party defines party or party role linked to a specific entity.
306 Only ONAP Customer is managed in Beijing release.
309 [options="header", cols=".^3,.^11,.^4"]
311 |Name|Description|Schema
313 __optional__|Not managed in the Beijing release.|string
315 __optional__|Reference of a related party.
316 Not filled in Beijing release.|string
318 __optional__|Unique identifier of a related party|string
320 __optional__|Role played by the related party.
321 Filled with 'ONAPcustomer'|string
327 Instantiated service (service_instance) in AAI
330 [options="header", cols=".^3,.^11,.^4"]
332 |Name|Description|Schema
334 __optional__|Not managed in Beijing release|string
335 |**@schemaLocation** +
336 __optional__|Not managed in Beijing release|string
338 __optional__|This attribute allows to dynamically extends TMF class. Not used in Beijing release.|string
339 |**characteristic** +
340 __optional__||< <<_servicecharacteristic,ServiceCharacteristic>> > array
342 __optional__|This is a Boolean attribute that, if TRUE, signifies that this Service has already been started. If the value of this attribute is FALSE, then this signifies that this Service has NOT been Started
343 Not managed in Beijing release|boolean
345 __optional__|Reference of the service
346 Not managed in Beijing release|string
348 __optional__|Unique identifier of the service - Valued with service-instance-id|string
350 __optional__|Name of the service - Valued with service-instance-name|string
352 __optional__||< <<_relatedpartyref,RelatedPartyRef>> > array
353 |**serviceSpecification** +
354 __optional__||<<_servicespecificationref,ServiceSpecificationRef>>
356 __optional__||<<_statevalues,stateValues>>
357 |**supportingResource** +
358 __optional__||< <<_supportingresource,SupportingResource>> > array
360 __optional__|Service type - valued with 'service-instance'|string
364 [[_servicecharacteristic]]
365 === ServiceCharacteristic
366 A list of name value pairs that define the service characteristics
367 Not managed in Beijing release.
370 [options="header", cols=".^3,.^11,.^4"]
372 |Name|Description|Schema
374 __required__|Name of the characteristic
375 Not managed in Beijing release.|string
377 __optional__||<<_value,Value>>
379 __optional__|Type of value for this characteristic.
380 Not managed in Beijing release.|string
384 [[_servicespecificationref]]
385 === ServiceSpecificationRef
386 Service specification reference: ServiceSpecification of this service (catalog information)
389 [options="header", cols=".^3,.^11,.^4"]
391 |Name|Description|Schema
393 __optional__|This attribute allows to dynamically extends TMF class. Valued with 'ONAPservice'. We used this features to add following attribute: invariantUUID|string
394 |**@schemaLocation** +
395 __optional__|Not managed in Beijing release|string
397 __optional__|Reference of the service specification.
398 not managed in Beijing release.|string
400 __optional__|Unique identifier of the service specification. valued to model-version-id|string
402 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - model-invariant-id|string
404 __optional__|Name of the required service specification|string
406 __optional__|Service specification version.
407 Not managed in Beijing release|string
411 [[_supportingresource]]
412 === SupportingResource
413 Supporting resource - A supportingResource will be retrieved for each relationship of the relationship-list where related-link describe a vnf
416 [options="header", cols=".^3,.^11,.^4"]
418 |Name|Description|Schema
420 __optional__|This attribute allows to dynamically extends TMF class. Valued with 'ONAP resource'. We used this features to add following attributes:
424 modelCustomisationId|string
425 |**@schemaLocation** +
426 __optional__|Not managed in Beijing release.|string
428 __optional__|Reference of the supporting resource|string
430 __optional__|Unique identifier of the supporting resource - Valued to vnf-id|string
431 |**modelCustomisationId** +
432 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-customisation-id|string
433 |**modelInvariantId** +
434 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-invariant-id|string
435 |**modelVersionId** +
436 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-verson-id|string
438 __optional__|Name of the supporting resource - Valued with vnf_-name|string
440 __optional__|Not managed in Beijing release.|string
442 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with prov-status|string
448 Structure used to describe characteristic value.
449 Not managed in Beijing release.
452 [options="header", cols=".^3,.^11,.^4"]
454 |Name|Description|Schema
455 |**@schemaLocation** +
456 __optional__|Not managed in Beijing release.|string
458 __optional__|Not managed in Beijing release.|string
459 |**serviceCharacteristicValue** +
460 __optional__|Not managed in Beijing release.|string
466 __Type__ : enum (feasibilityChecked, designed, reserved, inactive, active, terminated)