9 https://api-designer.sso.infra.ftgroup/swagger-ui/?url=https://api-designer.sso.infra.ftgroup/api/1.0/apis/5an735gnX0/swagger.json[Swagger UI]
12 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]
14 serviceInventory API designed for ONAP Beijing Release.
15 This API is build from TMF open API18.0 (applying TMF Guideline 3.0)
16 only operation GET (by id & byList) for resource serviceSpecification is available
19 === Version information
21 __Version__ : 1.0.0_inProgress
27 __BasePath__ : /nbi/api/v1
38 * `application/json;charset=utf-8`
43 * `application/json;charset=utf-8`
60 This operation list service entities.
61 Attribute selection is restricted.
62 fields attribute may be used to filter retrieved attribute(s) for each service
64 Specific business errors for current operation will be encapsulated in
66 HTTP Response 422 Unprocessable entity
71 [options="header", cols=".^2,.^3,.^4"]
74 |**Query**|**fields** +
78 |**Query**|**relatedParty.id** +
80 |**Query**|**serviceSpecification.id** +
82 |**Query**|**serviceSpecification.name** +
89 [options="header", cols=".^2,.^14,.^4"]
91 |HTTP Code|Description|Schema
92 |**200**|Success|< <<_listservice,ListService>> > array
95 List of supported error codes:
96 - 20: Invalid URL parameter value
99 - 23: Missing body field
100 - 24: Invalid body field
102 - 26: Invalid header value
103 - 27: Missing query-string parameter
104 - 28: Invalid query-string parameter value|<<_errorrepresentation,ErrorRepresentation>>
105 |**401**|Unauthorized
107 List of supported error codes:
108 - 40: Missing credentials
109 - 41: Invalid credentials
110 - 42: Expired credentials|<<_errorrepresentation,ErrorRepresentation>>
113 List of supported error codes:
115 - 51: Forbidden requester
117 - 53: Too many requests|<<_errorrepresentation,ErrorRepresentation>>
120 List of supported error codes:
121 - 60: Resource not found|<<_errorrepresentation,ErrorRepresentation>>
122 |**422**|Unprocessable entity
124 Functional error|<<_errorrepresentation,ErrorRepresentation>>
125 |**500**|Internal Server Error
127 List of supported error codes:
128 - 1: Internal error|<<_errorrepresentation,ErrorRepresentation>>
129 |**503**|Service Unavailable
131 List of supported error codes:
132 - 5: The service is temporarily unavailable
133 - 6: Orange API is over capacity, retry later !|<<_errorrepresentation,ErrorRepresentation>>
138 ==== Retrieve a service
145 This operation retrieves a service entity.
146 Attribute selection is enabled for all first level attributes.
148 Specific business errors for current operation will be encapsulated in
150 HTTP Response 422 Unprocessable entity
155 [options="header", cols=".^2,.^3,.^4"]
160 |**Query**|**relatedParty.id** +
162 |**Query**|**serviceSpecification.id** +
164 |**Query**|**serviceSpecification.name** +
171 [options="header", cols=".^2,.^14,.^4"]
173 |HTTP Code|Description|Schema
174 |**200**|Success|<<_service,Service>>
177 List of supported error codes:
178 - 20: Invalid URL parameter value
181 - 23: Missing body field
182 - 24: Invalid body field
184 - 26: Invalid header value
185 - 27: Missing query-string parameter
186 - 28: Invalid query-string parameter value|<<_errorrepresentation,ErrorRepresentation>>
187 |**401**|Unauthorized
189 List of supported error codes:
190 - 40: Missing credentials
191 - 41: Invalid credentials
192 - 42: Expired credentials|<<_errorrepresentation,ErrorRepresentation>>
195 List of supported error codes:
197 - 51: Forbidden requester
199 - 53: Too many requests|<<_errorrepresentation,ErrorRepresentation>>
202 List of supported error codes:
203 - 60: Resource not found|<<_errorrepresentation,ErrorRepresentation>>
204 |**422**|Unprocessable entity
206 Functional error|<<_errorrepresentation,ErrorRepresentation>>
207 |**500**|Internal Server Error
209 List of supported error codes:
210 - 1: Internal error|<<_errorrepresentation,ErrorRepresentation>>
211 |**503**|Service Unavailable
213 List of supported error codes:
214 - 5: The service is temporarily unavailable
215 - 6: Orange API is over capacity, retry later !|<<_errorrepresentation,ErrorRepresentation>>
222 [[_errorrepresentation]]
223 === ErrorRepresentation
224 This class is used to describe error.
225 for nbi Beijing release we do not manage additional error for serviceCatalog
228 [options="header", cols=".^3,.^11,.^4"]
230 |Name|Description|Schema
231 |**@schemaLocation** +
232 __optional__|it provides a link to the schema describing a REST resource.|string
234 __optional__|The class type of a REST resource.|string
236 __required__|Application related code (as defined in the API or from a common list)|integer (int32)
238 __optional__|Text that provide more details and corrective actions related to the error. This can be shown to a client user.|string
240 __required__|Text that explains the reason for error. This can be shown to a client user.|string
241 |**referenceError** +
242 __optional__|url pointing to documentation describing the error|string
244 __optional__|http error code extension like 400-2|string
248 [[_listrelatedpartyref]]
249 === ListRelatedPartyRef
250 This class is used to structure list of service(s) retrieved
253 [options="header", cols=".^3,.^11,.^4"]
255 |Name|Description|Schema
257 __optional__|Unique identifier of a related party|string
259 __optional__|Role played by the related party - only role “ONAPcustomer” is managed in Beijing release.|string
265 This class is used to structure list of service(s) retrieved
268 [options="header", cols=".^3,.^11,.^4"]
270 |Name|Description|Schema
272 __optional__|Unique identifier of the service|string
274 __optional__|Name of the service|string
276 __optional__||<<_listrelatedpartyref,ListRelatedPartyRef>>
277 |**serviceSpecification** +
278 __optional__||<<_listservicespecificationref,ListServiceSpecificationRef>>
282 [[_listservicespecificationref]]
283 === ListServiceSpecificationRef
284 This class is used to structure list of service(s) retrieved
287 [options="header", cols=".^3,.^11,.^4"]
289 |Name|Description|Schema
291 __optional__|Unique identifier of the service specification|string
293 __optional__|Name of the required service specification|string
299 RelatedParty reference. A related party defines party or party role linked to a specific entity.
300 Only ONAP Customer is managed in Beijing release.
303 [options="header", cols=".^3,.^11,.^4"]
305 |Name|Description|Schema
307 __optional__|Not managed in the Beijing release.|string
309 __optional__|Reference of a related party.
310 Not filled in Beijing release.|string
312 __optional__|Unique identifier of a related party|string
314 __optional__|Role played by the related party.
315 Filled with 'ONAPcustomer'|string
321 Instantiated service (service_instance) in AAI
324 [options="header", cols=".^3,.^11,.^4"]
326 |Name|Description|Schema
328 __optional__|Not managed in Beijing release|string
329 |**@schemaLocation** +
330 __optional__|Not managed in Beijing release|string
332 __optional__|This attribute allows to dynamically extends TMF class. Not used in Beijing release.|string
333 |**characteristic** +
334 __optional__||< <<_servicecharacteristic,ServiceCharacteristic>> > array
336 __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
337 Not managed in Beijing release|boolean
339 __optional__|Reference of the service
340 Not managed in Beijing release|string
342 __optional__|Unique identifier of the service - Valued with service-instance-id|string
344 __optional__|Name of the service - Valued with service-instance-name|string
346 __optional__||< <<_relatedpartyref,RelatedPartyRef>> > array
347 |**serviceSpecification** +
348 __optional__||<<_servicespecificationref,ServiceSpecificationRef>>
350 __optional__||<<_statevalues,stateValues>>
351 |**supportingResource** +
352 __optional__||< <<_supportingresource,SupportingResource>> > array
354 __optional__|Service type - valued with 'service-instance'|string
358 [[_servicecharacteristic]]
359 === ServiceCharacteristic
360 A list of name value pairs that define the service characteristics
361 Not managed in Beijing release.
364 [options="header", cols=".^3,.^11,.^4"]
366 |Name|Description|Schema
368 __required__|Name of the characteristic
369 Not managed in Beijing release.|string
371 __optional__||<<_value,Value>>
373 __optional__|Type of value for this characteristic.
374 Not managed in Beijing release.|string
378 [[_servicespecificationref]]
379 === ServiceSpecificationRef
380 Service specification reference: ServiceSpecification of this service (catalog information)
383 [options="header", cols=".^3,.^11,.^4"]
385 |Name|Description|Schema
387 __optional__|This attribute allows to dynamically extends TMF class. Valued with 'ONAPservice'. We used this features to add following attribute: invariantUUID|string
388 |**@schemaLocation** +
389 __optional__|Not managed in Beijing release|string
391 __optional__|Reference of the service specification.
392 not managed in Beijing release.|string
394 __optional__|Unique identifier of the service specification. valued to model-version-id|string
396 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - model-invariant-id|string
398 __optional__|Name of the required service specification|string
400 __optional__|Service specification version.
401 Not managed in Beijing release|string
405 [[_supportingresource]]
406 === SupportingResource
407 Supporting resource - A supportingResource will be retrieved for each relationship of the relationship-list where related-link describe a vnf
410 [options="header", cols=".^3,.^11,.^4"]
412 |Name|Description|Schema
414 __optional__|This attribute allows to dynamically extends TMF class. Valued with 'ONAP resource'. We used this features to add following attributes:
418 modelCustomisationId|string
419 |**@schemaLocation** +
420 __optional__|Not managed in Beijing release.|string
422 __optional__|Reference of the supporting resource|string
424 __optional__|Unique identifier of the supporting resource - Valued to vnf-id|string
425 |**modelCustomisationId** +
426 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-customisation-id|string
427 |**modelInvariantId** +
428 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-invariant-id|string
429 |**modelVersionId** +
430 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with model-verson-id|string
432 __optional__|Name of the supporting resource - Valued with vnf_-name|string
434 __optional__|Not managed in Beijing release.|string
436 __optional__|Additional attribute (not in the TMF API) - extended through @referredType - valued with prov-status|string
442 Structure used to describe characteristic value.
443 Not managed in Beijing release.
446 [options="header", cols=".^3,.^11,.^4"]
448 |Name|Description|Schema
449 |**@schemaLocation** +
450 __optional__|Not managed in Beijing release.|string
452 __optional__|Not managed in Beijing release.|string
453 |**serviceCharacteristicValue** +
454 __optional__|Not managed in Beijing release.|string
460 __Type__ : enum (feasibilityChecked, designed, reserved, inactive, active, terminated)