aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/offeredapis.rst8966
1 files changed, 1137 insertions, 7829 deletions
diff --git a/docs/offeredapis.rst b/docs/offeredapis.rst
index 268ffa0688..5a2d9c7ddf 100644
--- a/docs/offeredapis.rst
+++ b/docs/offeredapis.rst
@@ -1,11 +1,11 @@
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
-=============
+============
Offered APIs
-=============
+============
-:Date: 2017-10-23
+:Date: 2017-12-25
.. contents::
:depth: 3
@@ -22,133 +22,26 @@ Version information
URI scheme
----------
-*Host* : localhost:8080 *BasePath* : /sdc2/rest *Schemes* : HTTP
+*BasePath* : /sdc
Tags
----
-- Additional Information Servlet
+- Artifact External Servlet
-- BE Monitoring
+- Asset Metadata External Servlet
-- Catalog Types Upload
+- CRUD External Servlet
-- Component Servlet
+- Distribution Catalog Servlet
-- Consumer Servlet
-
-- Distribution Service Servlet
-
-- Element Servlet
-
-- Input Catalog
-
-- Lifecycle Actions Servlet
-
-- Product Catalog
-
-- Resource Artifact Servlet
-
-- Resource Attribute Servlet
-
-- Resource Group Servlet
-
-- Resource Instance Servlet
-
-- Resource Property Servlet
-
-- Resources Catalog
-
-- Resources Catalog Upload
-
-- Service Catalog
-
-- Types Fetch Servlet
-
-- User Administration
+- Distribution Servlet
Paths
=====
-return aggregate BE health check of Titan, ES and BE
-----------------------------------------------------
-
-::
-
- GET /healthCheck
-
-Description
-~~~~~~~~~~~
-
-return BE health check
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Titan, ES and BE are all up | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | One or more BE components (Titan, ES, BE) are down | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- BE Monitoring
-
-POST /monitoring
-----------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Body** | **body**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- BE Monitoring
-
-Retrieve all artifactTypes
---------------------------
+Artifact types list
+-------------------
::
@@ -157,829 +50,7 @@ Retrieve all artifactTypes
Description
~~~~~~~~~~~
-Retrieve all artifactTypes
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns artifactTypes Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | No artifactTypes were found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-get component audit records
----------------------------
-
-::
-
- GET /v1/catalog/audit-records/{componentType}/{componentUniqueId}
-
-Description
-~~~~~~~~~~~
-
-get audit records for a service or a resource
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentUniqueId**\ * | string |
-| | required* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Get data types
---------------
-
-::
-
- GET /v1/catalog/dataTypes
-
-Description
-~~~~~~~~~~~
-
-Returns data types
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | datatypes | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Data types not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Types Fetch Servlet
-
-Create product
---------------
-
-::
-
- POST /v1/catalog/products
-
-Description
-~~~~~~~~~~~
-
-Returns created product
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | USER\_ID of product strategist user | string |
-| ** | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Product object to be created | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Product <#_pr |
-| | | oduct>`__ |
-+---------+----------------------------------------------------+----------------+
-| **201** | Product created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid/missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation / Empty USER\_ID header | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Product already exists / User not found / Wrong | No Content |
-| | user role | |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Product Catalog
-
-Retrieve Service
-----------------
-
-::
-
- GET /v1/catalog/products/productName/{productName}/productVersion/{productVersion}
-
-Description
-~~~~~~~~~~~
-
-Returns product according to name and version
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **productName**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **productVersion**\ *req | string |
-| | uired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Product found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Product not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Product Catalog
-
-validate product name
----------------------
-
-::
-
- GET /v1/catalog/products/validate-name/{productName}
-
-Description
-~~~~~~~~~~~
-
-checks if the chosen product name is available
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **productName**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Product Catalog
-
-Retrieve product
-----------------
-
-::
-
- GET /v1/catalog/products/{productId}
-
-Description
-~~~~~~~~~~~
-
-Returns product according to productId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **productId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Product found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Product not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Product Catalog
-
-DELETE /v1/catalog/products/{productid}
----------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **productId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Product Catalog
-
-Update Product Metadata
------------------------
-
-::
-
- PUT /v1/catalog/products/{productId}/metadata
-
-Description
-~~~~~~~~~~~
-
-Returns updated product
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **productId | | string |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Product object to be Updated | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Product Updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Product Catalog
-
-Create Resource
----------------
-
-::
-
- POST /v1/catalog/resources
-
-Description
-~~~~~~~~~~~
-
-Returns created resource
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource object to be created | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Resource <#_r |
-| | | esource>`__ |
-+---------+----------------------------------------------------+----------------+
-| **201** | Resource created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Resource already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-GET /v1/catalog/resources/certified/abstract
---------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-GET /v1/catalog/resources/certified/notabstract
------------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Create Resource
----------------
-
-::
-
- POST /v1/catalog/resources/csar/{csaruuid}
-
-Description
-~~~~~~~~~~~
-
-Returns resource created from csar uuid
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **csaruuid**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Resource <#_r |
-| | | esource>`__ |
-+---------+----------------------------------------------------+----------------+
-| **201** | Resource retrieced | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Retrieve Resource by name and version
--------------------------------------
-
-::
-
- GET /v1/catalog/resources/resourceName/{resourceName}/resourceVersion/{resourceVersion}
-
-Description
-~~~~~~~~~~~
-
-Returns resource according to resourceId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceName**\ *requi | string |
-| | red* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceVersion**\ *re | string |
-| | quired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-validate resource name
-----------------------
-
-::
-
- GET /v1/catalog/resources/validate-name/{resourceName}
-
-Description
-~~~~~~~~~~~
-
-checks if the chosen resource name is available
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceName**\ *requi | string |
-| | red* | |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **subtype**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Retrieve Resource
------------------
-
-::
-
- GET /v1/catalog/resources/{resourceId}
-
-Description
-~~~~~~~~~~~
-
-Returns resource according to resourceId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Update Resource
----------------
-
-::
-
- PUT /v1/catalog/resources/{resourceId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource
+Fetches available artifact types list
Parameters
~~~~~~~~~~
@@ -987,226 +58,21 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource object to be updated | string |
-| | required* | | |
+| **Header | **Accept**\ | The username and password | string |
+| ** | *required* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Resource already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-DELETE /v1/catalog/resources/{resourceid}
------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **resourceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Create Additional Information Label and Value
----------------------------------------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/additionalinfo
-
-Description
-~~~~~~~~~~~
-
-Returns created Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Additional information key value to | string |
-| | required* | be created | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Additional information created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Get all Additional Information under resource
----------------------------------------------
-
-::
-
- GET /v1/catalog/resources/{resourceId}/additionalinfo
-
-Description
-~~~~~~~~~~~
-
-Returns Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | list of additional information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Get Additional Information by id
---------------------------------
-
-::
-
- GET /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
-
-Description
-~~~~~~~~~~~
-
-Returns Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
| | \ *required | | |
| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -1216,78 +82,24 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | fetched additional information | No Content |
+| **200** | Artifact types list fetched successfully | string |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Update Additional Information Label and Value
----------------------------------------------
-
-::
-
- PUT /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
-| | \ *required | | |
-| | * | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Additional information key value to | string |
-| | required* | be created | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Additional information updated | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | to register for distribution ( POST,PUT,DELETE | |
+| | will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
+| **500** | The registration failed due to internal SDC | No Content |
+| | problem or Cambria Service failure ECOMP Component | |
+| | should continue the attempts to register for | |
+| | distribution - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -1303,19 +115,19 @@ Produces
Tags
~~~~
-- Additional Information Servlet
+- Distribution Servlet
-Create Additional Information Label and Value
----------------------------------------------
+Download service artifact
+-------------------------
::
- DELETE /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
+ GET /v1/catalog/services/{serviceName}/{serviceVersion}/artifacts/{artifactName}
Description
~~~~~~~~~~~
-Returns deleted Additional Inforamtion property
+Returns downloaded artifact
Parameters
~~~~~~~~~~
@@ -1323,74 +135,33 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
| | \ *required | | |
| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Additional information deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Create Artifact
----------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/artifacts
-
-Description
-~~~~~~~~~~~
-
-Returns created ArtifactDefinition
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **artifactN | | string |
+| | ame**\ *req | | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Path** | **serviceNa | | string |
+| | me**\ *requ | | |
+| | ired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
+| **Path** | **serviceVe | | string |
+| | rsion**\ *r | | |
+| | equired* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -1400,72 +171,25 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Resource created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **200** | The artifact is found and streamed. | string |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **409** | Artifact already exist | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Update Artifact
----------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated artifact
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource created | No Content |
+| **404** | Specified artifact is not found - SVC4505 | No Content |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -1476,19 +200,19 @@ Consumes
Produces
~~~~~~~~
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Resource Artifact Servlet
+- Distribution Catalog Servlet
-Download resource Artifact in Base64
-------------------------------------
+Download resource instance artifact by artifact name
+----------------------------------------------------
::
- GET /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
+ GET /v1/catalog/services/{serviceName}/{serviceVersion}/resourceInstances/{resourceInstanceName}/artifacts/{artifactName}
Description
~~~~~~~~~~~
@@ -1498,311 +222,41 @@ Returns downloaded artifact
Parameters
~~~~~~~~~~
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource artifact downloaded | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource/Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Delete Artifact
----------------
-
-::
-
- DELETE /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns delete artifact
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Create Resource Attribute
--------------------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/attributes
-
-Description
-~~~~~~~~~~~
-
-Returns created resource attribute
-
-Parameters
-~~~~~~~~~~
-
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | attribute | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource attribute to be created | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource property created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Resource attribute already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Attribute Servlet
-
-Update Resource Attribute
--------------------------
-
-::
-
- PUT /v1/catalog/resources/{resourceId}/attributes/{attributeId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated attribute
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **attribute | attribute id to update | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | attribute | |
-| | red* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource attribute to update | string |
-| | required* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource attribute updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Attribute Servlet
-
-Create Resource Attribute
--------------------------
-
-::
-
- DELETE /v1/catalog/resources/{resourceId}/attributes/{attributeId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted attribute
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **artifactN | | string |
+| | ame**\ *req | | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Path** | **resourceI | | string |
+| | nstanceName | | |
+| | **\ *requir | | |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **attribute | Attribute id to delete | string |
-| | Id**\ *requ | | |
+| **Path** | **serviceNa | | string |
+| | me**\ *requ | | |
| | ired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id of attribute | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **204** | deleted attribute | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource property not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Attribute Servlet
-
-Update Resource Metadata
-------------------------
-
-::
-
- PUT /v1/catalog/resources/{resourceId}/metadata
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource metadata
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource metadata to be updated | string |
-| | required* | | |
+| **Path** | **serviceVe | | string |
+| | rsion**\ *r | | |
+| | equired* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -1812,72 +266,25 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Resource metadata updated | No Content |
+| **200** | The artifact is found and streamed. | string |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Create Resource Property
-------------------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/properties
-
-Description
-~~~~~~~~~~~
-
-Returns created resource property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource property to be created | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource property created | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **404** | Specified artifact is not found - SVC4505 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Resource property already exist | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -1888,24 +295,24 @@ Consumes
Produces
~~~~~~~~
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Resource Property Servlet
+- Distribution Catalog Servlet
-Create Resource Property
-------------------------
+Download resource artifact
+--------------------------
::
- GET /v1/catalog/resources/{resourceId}/properties/{propertyId}
+ GET /v1/catalog/services/{serviceName}/{serviceVersion}/resources/{resourceName}/{resourceVersion}/artifacts/{artifactName}
Description
~~~~~~~~~~~
-Returns property of resource
+Returns downloaded artifact
Parameters
~~~~~~~~~~
@@ -1913,142 +320,41 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **propertyI | proerty id to get | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id of property | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | property | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource property not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Property Servlet
-
-Update Resource Property
-------------------------
-
-::
-
- PUT /v1/catalog/resources/{resourceId}/properties/{propertyId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated property
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **propertyI | proerty id to update | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Path** | **artifactN | | string |
+| | ame**\ *req | | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id to update with new | string |
-| | d**\ *requi | property | |
-| | red* | | |
+| **Path** | **resourceN | | string |
+| | ame**\ *req | | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Resource property to update | string |
+| **Path** | **resourceV | | string |
+| | ersion**\ * | | |
| | required* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource property updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Property Servlet
-
-Create Resource Property
-------------------------
-
-::
-
- DELETE /v1/catalog/resources/{resourceId}/properties/{propertyId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **propertyI | Property id to delete | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Path** | **serviceNa | | string |
+| | me**\ *requ | | |
+| | ired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | resource id of property | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Path** | **serviceVe | | string |
+| | rsion**\ *r | | |
+| | equired* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -2058,86 +364,25 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **204** | deleted property | No Content |
+| **200** | The artifact is found and streamed. | string |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **404** | Resource property not found | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Property Servlet
-
-Create Artifact and Attach to interface
----------------------------------------
-
-::
-
- POST /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts
-
-Description
-~~~~~~~~~~~
-
-Returns created resource
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **Content-M | | string |
-| ** | D5**\ *opti | | |
-| | onal* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **interface | | string |
-| | Type**\ *re | | |
-| | quired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **operation | | string |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource created | No Content |
+| **404** | Specified artifact is not found - SVC4505 | No Content |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Artifact already exist | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -2148,24 +393,24 @@ Consumes
Produces
~~~~~~~~
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Resource Artifact Servlet
+- Distribution Catalog Servlet
-update Artifact Attach to interface
------------------------------------
+creates a resource
+------------------
::
- POST /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}
+ POST /v1/catalog/{assetType}
Description
~~~~~~~~~~~
-updates artifact by interface
+Creates a resource
Parameters
~~~~~~~~~~
@@ -2173,600 +418,36 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **Content-M | | string |
-| ** | D5**\ *opti | | |
-| | onal* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **interface | | string |
-| | Type**\ *re | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **operation | | string |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | delete artifact under interface deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Artifact already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-delete Artifact from interface
-------------------------------
-
-::
-
- DELETE /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-delete matching artifact from interface
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **interfaceType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **operation**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **resourceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | delete artifact under interface deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Artifact already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-DELETE /v1/catalog/resources/{resourcename}/{version}
------------------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **resourceName**\ *requi | string |
-| | red* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **version**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Resources Catalog
-
-Create Service
---------------
-
-::
-
- POST /v1/catalog/services
-
-Description
-~~~~~~~~~~~
-
-Returns created service
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Service object to be created | string |
-| | required* | | |
+| **Header | **USER\_ID* | The user id | string |
+| ** | *\ *require | | |
+| | d* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Service <#_se |
-| | | rvice>`__ |
-+---------+----------------------------------------------------+----------------+
-| **201** | Service created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Service already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Retrieve Distributions
-----------------------
-
-::
-
- GET /v1/catalog/services/distribution/{did}
-
-Description
-~~~~~~~~~~~
-
-Return the list of distribution status objects
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **did**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Status not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Distribution Service Servlet
-
-Retrieve Service
-----------------
-
-::
-
- GET /v1/catalog/services/serviceName/{serviceName}/serviceVersion/{serviceVersion}
-
-Description
-~~~~~~~~~~~
-
-Returns service according to name and version
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceName**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceVersion**\ *req | string |
-| | uired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Service not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Download service artifact
--------------------------
-
-::
-
- GET /v1/catalog/services/toscatoheat/{artifactName}
-
-Description
-~~~~~~~~~~~
-
-Returns downloaded artifact
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactName**\ *requi | string |
-| | red* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Artifact downloaded | No Content |
-+---------+----------------------------------------------------+----------------+
-| **401** | Authorization required | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/octet-stream``
-
-Tags
-~~~~
-
-- Service Catalog
-
-validate service name
----------------------
-
-::
-
- GET /v1/catalog/services/validate-name/{serviceName}
-
-Description
-~~~~~~~~~~~
-
-checks if the chosen service name is available
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceName**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Get Inputs only
----------------
-
-::
-
- GET /v1/catalog/services/{componentId}/inputs
-
-Description
-~~~~~~~~~~~
-
-Returns Inputs list
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **amount**\ *optional* | integer (int32) |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **fromId**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Retrieve Service
-----------------
-
-::
-
- GET /v1/catalog/services/{serviceId}
-
-Description
-~~~~~~~~~~~
-
-Returns service according to serviceId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Service not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-DELETE /v1/catalog/services/{serviceid}
----------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Service Catalog
-
-Create Additional Information Label and Value
----------------------------------------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/additionalinfo
-
-Description
-~~~~~~~~~~~
-
-Returns created Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | service id to update with new | string |
-| | **\ *requir | property | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Additional information key value to | string |
-| | required* | be created | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -2776,71 +457,27 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Additional information created | No Content |
+| **200** | ECOMP component is authenticated and Asset created | `Resource <#_r |
+| | | esource>`__ |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Create VFCMT request: VFCMT name exceeds character | No Content |
+| | limit - SVC4073 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Get all Additional Information under service
---------------------------------------------
-
-::
-
- GET /v1/catalog/services/{serviceId}/additionalinfo
-
-Description
-~~~~~~~~~~~
-
-Returns Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | service id to update with new | string |
-| | **\ *requir | property | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Error: Requested *%1* (uuid) resource was not | No Content |
+| | found - SVC4063 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | list of additional information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem. ECOMP Component should continue the | |
+| | attempts to get the needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -2856,19 +493,19 @@ Produces
Tags
~~~~
-- Additional Information Servlet
+- CRUD External Servlet
-Get Additional Information by id
---------------------------------
+Fetch list of assets
+--------------------
::
- GET /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
+ GET /v1/catalog/{assetType}
Description
~~~~~~~~~~~
-Returns Additional Inforamtion property
+Returns list of assets
Parameters
~~~~~~~~~~
@@ -2876,271 +513,43 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
-| | \ *required | | |
-| | * | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | service id to update with new | string |
-| | **\ *requir | property | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | fetched additional information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Update Additional Information Label and Value
----------------------------------------------
-
-::
-
- PUT /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
| | \ *required | | |
| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | service id to update with new | string |
-| | **\ *requir | property | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Additional information key value to | string |
-| | required* | be created | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Additional information updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Create Additional Information Label and Value
----------------------------------------------
-
-::
-
- DELETE /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted Additional Inforamtion property
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
+| **Query* | **category* | The filter key (resourceType only | string |
+| * | *\ *optiona | for resources) | |
| | l* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **labelId** | label id | string |
-| | \ *required | | |
+| **Query* | **distribut | The filter key (resourceType only | string |
+| * | ionStatus** | for resources) | |
+| | \ *optional | | |
| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | service id to update with new | string |
-| | **\ *requir | property | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Additional information deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Additional information key already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Additional Information Servlet
-
-Create Artifact
----------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/artifacts
-
-Description
-~~~~~~~~~~~
-
-Returns created ArtifactDefinition
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Artifact already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Update Api Artifact
--------------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/artifacts/api/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns created ArtifactDefinition
-
-Parameters
-~~~~~~~~~~
-
+| **Query* | **resourceT | The filter key (resourceType only | string |
+| * | ype**\ *opt | for resources) | |
+| | ional* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **Content-M | | string |
-| ** | D5**\ *opti | | |
+| **Query* | **subCatego | The filter key (resourceType only | string |
+| * | ry**\ *opti | for resources) | |
| | onal* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
Responses
~~~~~~~~~
@@ -3149,75 +558,28 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Api Artifact Updated | No Content |
+| **200** | ECOMP component is authenticated and list of | < |
+| | Catalog Assets Metadata is returned | `AssetMetadata |
+| | | <#_assetmetad |
+| | | ata>`__ |
+| | | > array |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Delete Api Artifact
--------------------
-
-::
-
- DELETE /v1/catalog/services/{serviceId}/artifacts/api/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns Deleted ArtifactDefinition
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **Content-MD5**\ *option | string |
-| | al* | |
-+------------------+--------------------------+----------------------------------+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **204** | Api Artifact deleted | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem. ECOMP Component should continue the | |
+| | attempts to get the needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -3226,19 +588,19 @@ Produces
Tags
~~~~
-- Resource Artifact Servlet
+- Asset Metadata External Servlet
-Update Artifact
----------------
+uploads of artifact to a resource or service
+--------------------------------------------
::
- POST /v1/catalog/services/{serviceId}/artifacts/{artifactId}
+ POST /v1/catalog/{assetType}/{uuid}/artifacts
Description
~~~~~~~~~~~
-Returns updated artifact
+uploads of artifact to a resource or service
Parameters
~~~~~~~~~~
@@ -3246,628 +608,43 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
-| | ed* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Service artifact created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Download service Artifact in Base64
------------------------------------
-
-::
-
- GET /v1/catalog/services/{serviceId}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns downloaded artifact
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service artifact downloaded | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Service/Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Delete Artifact
----------------
-
-::
-
- DELETE /v1/catalog/services/{serviceId}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns delete artifact
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **artifactId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Service artifact deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Update Service Distribution State
----------------------------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/distribution-state/{state}
-
-Description
-~~~~~~~~~~~
-
-service with the changed distribution status
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
-| | ed* | | |
+| **Header | **Content-M | The value for this header must be | string |
+| ** | D5**\ *requ | the MD5 checksum over the whole json | |
+| | ired* | body | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **state**\ | | enum (approve, |
-| | *required* | | reject) |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | DistributionChangeInfo - get comment | `LifecycleChange |
-| | required* | out of body | InfoWithAction < |
-| | | | #_lifecyclechang |
-| | | | einfowithaction> |
-| | | | `__ |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service distribution state changed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Service is not available for distribution | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Requested service was not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error. Please try again later. | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Mark distribution as deployed
------------------------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/distribution/{did}/markDeployed
-
-Description
-~~~~~~~~~~~
-
-relevant audit record will be created
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **did**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service was marked as deployed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Service is not available | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Requested service was not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error. Please try again later. | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Activate distribution
----------------------
-
-::
-
- POST /v1/catalog/services/{serviceId}/distribution/{env}/activate
-
-Description
-~~~~~~~~~~~
-
-activate distribution
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **env**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | OK | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Requested service was not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Service cannot be distributed due to missing | No Content |
-| | deployment artifacts | |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error. Please try again later. | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Update Service Metadata
------------------------
-
-::
-
- PUT /v1/catalog/services/{serviceId}/metadata
-
-Description
-~~~~~~~~~~~
-
-Returns updated service
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Service object to be Updated | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service Updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-POST /v1/catalog/services/{serviceid}/tempUrlToBeDeleted
---------------------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceId**\ *required | string |
-| | * | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | OK | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error. Please try again later. | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-DELETE /v1/catalog/services/{servicename}/{version}
----------------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **serviceName**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **version**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Service Catalog
-
-Retrieve Distributions
-----------------------
-
-::
-
- GET /v1/catalog/services/{serviceUUID}/distribution
-
-Description
-~~~~~~~~~~~
-
-Returns list bases on the information extracted from Auditing Records
-according to service uuid
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **serviceUUID**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Service found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Service not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Distribution Service Servlet
-
-Create Resource from yaml
--------------------------
-
-::
-
- POST /v1/catalog/upload/{resourceAuthority}
-
-Description
-~~~~~~~~~~~
-
-Returns created resource
-
-Parameters
-~~~~~~~~~~
-
-+---------+------------+----------------------------------+----------------+---------+
-| Type | Name | Description | Schema | Default |
-+=========+============+==================================+================+=========+
-| **Heade | **USER\_ID | | string | |
-| r** | **\ *optio | | | |
-| | nal* | | | |
-+---------+------------+----------------------------------+----------------+---------+
-| **Path* | **resource | validValues: normative-resource | enum | |
-| * | Authority* | / user-resource | (multipart, | |
-| | *\ *requir | | user-resource, | |
-| | ed* | | user-resource- | |
-| | | | ui-import) | |
-+---------+------------+----------------------------------+----------------+---------+
-| **Query | **createNe | | boolean | ``"true |
-| ** | wVersion** | | | "`` |
-| | \ *optiona | | | |
-| | l* | | | |
-+---------+------------+----------------------------------+----------------+---------+
-| **FormD | **resource | resourceMetadata | string | |
-| ata** | Metadata** | | | |
-| | \ *optiona | | | |
-| | l* | | | |
-+---------+------------+----------------------------------+----------------+---------+
-| **FormD | **resource | FileInputStream | file | |
-| ata** | Zip**\ *op | | | |
-| | tional* | | | |
-+---------+------------+----------------------------------+----------------+---------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Resource already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resources Catalog Upload
-
-Create Capability Type from yaml
---------------------------------
-
-::
-
- POST /v1/catalog/uploadType/capability
-
-Description
-~~~~~~~~~~~
-
-Returns created Capability Type
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **capabilit | FileInputStream | file |
-| ta** | yTypeZip**\ | | |
-| | *optional* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -3877,77 +654,31 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Capability Type created | No Content |
+| **200** | Artifact uploaded | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Capability Type already exist | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Catalog Types Upload
-
-Create Categories from yaml
----------------------------
-
-::
-
- POST /v1/catalog/uploadType/categories
-
-Description
-~~~~~~~~~~~
-
-Returns created categories
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **categorie | FileInputStream | file |
-| ta** | sZip**\ *op | | |
-| | tional* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Categories created | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Category already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
Produces
~~~~~~~~
@@ -3957,19 +688,19 @@ Produces
Tags
~~~~
-- Catalog Types Upload
+- Artifact External Servlet
-Create Categories from yaml
----------------------------
+updates an artifact on a resource or service
+--------------------------------------------
::
- POST /v1/catalog/uploadType/datatypes
+ POST /v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
-Returns created data types
+uploads of artifact to a resource or service
Parameters
~~~~~~~~~~
@@ -3977,188 +708,48 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **dataTypes | FileInputStream | file |
-| ta** | Zip**\ *opt | | |
-| | ional* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Data types created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Data types already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Catalog Types Upload
-
-Create GroupTypes from yaml
----------------------------
-
-::
-
- POST /v1/catalog/uploadType/grouptypes
-
-Description
-~~~~~~~~~~~
-
-Returns created group types
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Content-M | The value for this header must be | string |
+| ** | D5**\ *requ | the MD5 checksum over the whole json | |
+| | ired* | body | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **groupType | FileInputStream | file |
-| ta** | sZip**\ *op | | |
-| | tional* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | group types created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | group types already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Catalog Types Upload
-
-Create Interface Lyfecycle Type from yaml
------------------------------------------
-
-::
-
- POST /v1/catalog/uploadType/interfaceLifecycle
-
-Description
-~~~~~~~~~~~
-
-Returns created Interface Lifecycle Type
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **interface | FileInputStream | file |
-| ta** | LifecycleTy | | |
-| | peZip**\ *o | | |
-| | ptional* | | |
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Interface Lifecycle Type created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Interface Lifecycle Type already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Catalog Types Upload
-
-Create PolicyTypes from yaml
-----------------------------
-
-::
-
- POST /v1/catalog/uploadType/policytypes
-
-Description
-~~~~~~~~~~~
-
-Returns created policy types
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
-| **FormDa | **policyTyp | FileInputStream | file |
-| ta** | esZip**\ *o | | |
-| | ptional* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -4168,157 +759,37 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | policy types created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | policy types already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``multipart/form-data``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Catalog Types Upload
-
-Change Resource lifecycle State
--------------------------------
-
-::
-
- POST /v1/catalog/{componentCollection}/{componentId}/lifecycleState/{lifecycleOperation}
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | validValues: resources / services / | enum (resources, |
-| | Collection* | products | services, |
-| | *\ *require | | products) |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | id of component to be changed | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **lifecycle | | enum (checkout, |
-| | Operation** | | undoCheckout, |
-| | \ *required | | checkin, |
-| | * | | certificationReq |
-| | | | uest, |
-| | | | startCertificati |
-| | | | on, |
-| | | | failCertificatio |
-| | | | n, |
-| | | | cancelCertificat |
-| | | | ion, |
-| | | | certify) |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | LifecycleChangeInfo - relevant for | string |
-| | optional* | checkin, failCertification, | |
-| | | cancelCertification | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **200** | Artifact updated | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource state changed | No Content |
+| **400** | Artifact name is missing in input - SVC4128 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Resource already exist | No Content |
+| **403** | Asset is being edited by different user. Only one | No Content |
+| | user can checkout and edit an asset on given time. | |
+| | The asset will be available for checkout after the | |
+| | other user will checkin the asset - SVC4086 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Lifecycle Actions Servlet
-
-Get Component Requirments And Capabilities
-------------------------------------------
-
-::
-
- GET /v1/catalog/{componentType}/latestversion/notabstract
-
-Description
-~~~~~~~~~~~
-
-Returns Requirments And Capabilities according to componentId
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Type**\ *re | | |
-| | quired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Query* | **internalC | | string |
-| * | omponentTyp | | |
-| | e**\ *optio | | |
-| | nal* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Consumer Object to be created | < string > array |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **409** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -4327,19 +798,19 @@ Produces
Tags
~~~~
-- Component Servlet
+- Artifact External Servlet
-Get Component uid only
-----------------------
+Download component artifact
+---------------------------
::
- GET /v1/catalog/{componentType}/latestversion/notabstract/metadata
+ GET /v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
-Returns componentId
+Returns downloaded artifact
Parameters
~~~~~~~~~~
@@ -4347,88 +818,37 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Type**\ *re | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Query* | **internalC | | string |
-| * | omponentTyp | | |
-| | e**\ *optio | | |
-| | nal* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | uid list | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Get Component instances
------------------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/componentInstances
-
-Description
-~~~~~~~~~~~
-
-Returns component instances
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Type**\ *re | | |
-| | quired* | | |
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-| **Query* | **searchTex | | string |
-| * | t**\ *optio | | |
-| | nal* | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | uid list | string |
-| | required* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -4438,162 +858,48 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Component found | No Content |
+| **200** | Artifact downloaded | string |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Get properties
---------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/componentInstances/{instanceId}/{inputId}/properties
-
-Description
-~~~~~~~~~~~
-
-Returns properties list
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **inputId**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **instanceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
+| **404** | Artifact was not found - SVC4505 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Get Inputs only
----------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/componentInstances/{instanceId}/{originComponentUid}/inputs
-
-Description
-~~~~~~~~~~~
-
-Returns Inputs list
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **instanceId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **originComponentUid**\ | string |
-| | *required* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Input Catalog
+- Artifact External Servlet
-Create inputs on service
-------------------------
+deletes an artifact of a resource or service
+--------------------------------------------
::
- POST /v1/catalog/{componentType}/{componentId}/create/inputs
+ DELETE /v1/catalog/{assetType}/{uuid}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
-Return inputs list
+deletes an artifact of a resource or service
Parameters
~~~~~~~~~~
@@ -4601,497 +907,37 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Type**\ *re | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | ComponentIns Inputs Object to be | string |
-| | required* | created | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Delete input from service
--------------------------
-
-::
-
- DELETE /v1/catalog/{componentType}/{componentId}/delete/{inputId}/input
-
-Description
-~~~~~~~~~~~
-
-Delete service input
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Type**\ *re | | |
-| | quired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **inputId** | | string |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
| | \ *required | | |
| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Service Input to be deleted | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Input deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Input not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Retrieve Resource
------------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/filteredDataByParams
-
-Description
-~~~~~~~~~~~
-
-Returns resource according to resourceId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **include**\ *optional* | < string > array(multi) |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Retrieve properties belonging to component instances of specific component by name and optionally resource type
----------------------------------------------------------------------------------------------------------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/filteredproperties/{propertyNameFragment}
-
-Description
-~~~~~~~~~~~
-
-Returns properties belonging to component instances of specific
-component by name and optionally resource type
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **propertyNameFragment** | string |
-| | \ *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **resourceType**\ *optio | < string > array(multi) |
-| | nal* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Get inputs
-----------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/inputs/{inputId}
-
-Description
-~~~~~~~~~~~
-
-Returns inputs list
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **inputId**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Get inputs
-----------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/inputs/{inputId}/inputs
-
-Description
-~~~~~~~~~~~
-
-Returns inputs list
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **inputId**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Get Component Requirments And Capabilities
-------------------------------------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentId}/requirmentsCapabilities
-
-Description
-~~~~~~~~~~~
-
-Returns Requirements And Capabilities according to componentId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Validate Component Conformance Level
-------------------------------------
-
-::
-
- GET /v1/catalog/{componentType}/{componentUuid}/conformanceLevelValidation
-
-Description
-~~~~~~~~~~~
-
-Returns the result according to conformance level in BE config
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentUuid**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Component Servlet
-
-Get component Artifacts
------------------------
-
-::
-
- GET /v1/catalog/{containerComponentType}/{componentId}/artifactsByType/{artifactGroupType}
-
-Description
-~~~~~~~~~~~
-
-Returns artifacts
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **artifactG | | string |
-| | roupType**\ | | |
-| | *required* | | |
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -5101,142 +947,37 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Component artifacts | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource/Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Get group artifacts
--------------------
-
-::
-
- GET /v1/catalog/{containerComponentType}/{componentId}/groups/{groupId}
-
-Description
-~~~~~~~~~~~
-
-Returns artifacts metadata according to groupId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **containerComponentType | string |
-| | **\ *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **groupId**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **200** | Artifact deleted | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | group found | No Content |
+| **400** | Artifact name is missing in input - SVC4128 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **404** | Group not found | No Content |
+| **403** | Asset is being edited by different user. Only one | No Content |
+| | user can checkout and edit an asset on given time. | |
+| | The asset will be available for checkout after the | |
+| | other user will checkin the asset - SVC4086 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Group Servlet
-
-Update Group Metadata
----------------------
-
-::
-
- PUT /v1/catalog/{containerComponentType}/{componentId}/groups/{groupUniqueId}/metadata
-
-Description
-~~~~~~~~~~~
-
-Returns updated group definition
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | | string |
-| | ComponentTy | | |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **groupUniq | | string |
-| | ueId**\ *re | | |
-| | quired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Service object to be Updated | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Group Updated | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **409** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -5245,19 +986,14 @@ Produces
Tags
~~~~
-- Resource Group Servlet
+- Artifact External Servlet
-Updates List of properties on a group (only values)
----------------------------------------------------
+Change Resource lifecycle State
+-------------------------------
::
- PUT /v1/catalog/{containerComponentType}/{componentId}/groups/{groupUniqueId}/properties
-
-Description
-~~~~~~~~~~~
-
-Returns updated list of properties
+ POST /v1/catalog/{assetType}/{uuid}/lifecycleState/{lifecycleOperation}
Parameters
~~~~~~~~~~
@@ -5265,280 +1001,44 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | | string |
-| | ComponentTy | | |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **groupUniq | | string |
-| | ueId**\ *re | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Service object to be Updated | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Group Updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Group Servlet
-
-Create ComponentInstance
-------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance
-
-Description
-~~~~~~~~~~~
-
-Returns created ComponentInstance
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | USER\_ID of modifier user | string |
+| **Header | **USER\_ID* | The user id | string |
| ** | *\ *require | | |
| | d* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | RI object to be created | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Component created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Component instance already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Associate RI to RI
-------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/associate
-
-Description
-~~~~~~~~~~~
-
-Returns created RelationshipInfo
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | unique id of the container component | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Path** | **assetType | validValues: resources / services | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | allowed values are resources | enum (resources, |
-| | ComponentTy | /services / products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
+| **Path** | **lifecycle | | enum (checkout, |
+| | Operation** | | checkin) |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | RelationshipInfo | string |
+| **Path** | **uuid**\ * | id of component to be changed | string |
| | required* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Relationship created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Relationship already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Create RI and associate RI to RI
---------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/createAndAssociate
-
-Description
-~~~~~~~~~~~
-
-Returns created RI and RelationshipInfo
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | RI created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Relationship already exist | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Dissociate RI from RI
----------------------
-
-::
-
- PUT /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/dissociate
-
-Description
-~~~~~~~~~~~
-
-Returns deleted RelationshipInfo
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | unique id of the container component | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | allowed values are resources | enum (resources, |
-| | ComponentTy | /services / products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | RelationshipInfo | string |
-| | required* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -5548,71 +1048,30 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Relationship deleted | No Content |
+| **200** | Resource state changed | `AssetMetadata |
+| | | <#_assetmetad |
+| | | ata>`__ |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Missing X-ECOMP-InstanceID HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update resource instance multiple component
--------------------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/multipleComponentInstance
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services / | enum (resources, |
-| | ComponentTy | products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Component Instance JSON Array | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | Asset is being edited by different user. Only one | No Content |
+| | user can checkout and edit an asset on given time. | |
+| | The asset will be available for checkout after the | |
+| | other user will checkin the asset - SVC4080 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource instance updated | No Content |
+| **404** | Error: Requested *%1* (uuid) resource was not | No Content |
+| | found - SVC4063 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem. ECOMP Component should continue the | |
+| | attempts to get the needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -5628,81 +1087,19 @@ Produces
Tags
~~~~
-- Resource Instance Servlet
-
-Update resource instance
-------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services / | enum (resources, |
-| | ComponentTy | products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Resource instance updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
+- CRUD External Servlet
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Load Resource Instance artifact payload
----------------------------------------
+Detailed metadata of asset by uuid
+----------------------------------
::
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts
+ GET /v1/catalog/{assetType}/{uuid}/metadata
Description
~~~~~~~~~~~
-Returns updated artifact
+Returns detailed metadata of an asset by uuid
Parameters
~~~~~~~~~~
@@ -5710,29 +1107,27 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **Content-M | | string |
-| ** | D5**\ *opti | | |
-| | onal* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
+| **Path** | **uuid**\ * | The requested asset uuid | string |
| | required* | | |
+----------+-------------+--------------------------------------+------------------+
@@ -5743,95 +1138,31 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Artifact updated | No Content |
+| **200** | ECOMP component is authenticated and list of | < |
+| | Catalog Assets Metadata is returned | `AssetMetadata |
+| | | <#_assetmetad |
+| | | ata>`__ |
+| | | > array |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Delete Resource Instance artifact
----------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted artifact
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **Content-M | | string |
-| ** | D5**\ *opti | | |
-| | onal* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Artifact updated | No Content |
+| **404** | Error: Requested *%1* (uuid) resource was not | No Content |
+| | found - SVC4063 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem. ECOMP Component should continue the | |
+| | attempts to get the needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -5840,19 +1171,19 @@ Produces
Tags
~~~~
-- Resource Artifact Servlet
+- Asset Metadata External Servlet
-Update Resource Instance HEAT\_ENV parameters
----------------------------------------------
+uploads an artifact to a resource instance
+------------------------------------------
::
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}/heatParams
+ POST /v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts
Description
~~~~~~~~~~~
-Returns updated artifact
+uploads an artifact to a resource instance
Parameters
~~~~~~~~~~
@@ -5860,154 +1191,48 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the artifact | string |
-| | required* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Artifact updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Update resource instance attribute
-----------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/attribute
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance attribute
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Content-M | The value for this header must be | string |
+| ** | D5**\ *requ | the MD5 checksum over the whole json | |
+| | ired* | body | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | service id | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | resource instance id | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update resource instance
-------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/changeVersion
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Path** | **resourceI | The component instance name (as | string |
+| | nstanceName | publishedin the response of the | |
+| | **\ *requir | detailed query) | |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -6017,80 +1242,32 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
+| **200** | Artifact uploaded | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Get group artifacts
--------------------
-
-::
-
- GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstId}
-
-Description
-~~~~~~~~~~~
-
-Returns artifacts metadata according to groupInstId
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentInstanceId**\ | string |
-| | *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **containerComponentType | string |
-| | **\ *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **groupInstId**\ *requir | string |
-| | ed* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | group found | No Content |
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **404** | Group not found | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -6099,19 +1276,19 @@ Produces
Tags
~~~~
-- Resource Instance Servlet
+- Artifact External Servlet
-Update resource instance property
----------------------------------
+updates an artifact on a resource instance
+------------------------------------------
::
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstanceId}/property
+ POST /v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
-Returns updated resource instance property
+uploads of artifact to a resource or service
Parameters
~~~~~~~~~~
@@ -6119,159 +1296,53 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | service id | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | resource instance id | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **groupInst | group instance id | string |
-| | anceId**\ * | | |
-| | required* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update resource instance property
----------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/input
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance property
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Content-M | The value for this header must be | string |
+| ** | D5**\ *requ | the MD5 checksum over the whole json | |
+| | ired* | body | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | service id | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | resource instance id | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update resource instance property
----------------------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/property
-
-Description
-~~~~~~~~~~~
-
-Returns updated resource instance property
-
-Parameters
-~~~~~~~~~~
-
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | service id | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Path** | **resourceI | The component instance name (as | string |
+| | nstanceName | publishedin the response of the | |
+| | **\ *requir | detailed query) | |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | resource instance id | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -6281,150 +1352,37 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update resource instance
-------------------------
-
-::
-
- DELETE /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/property/{propertyId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted resource instance property
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | id of user initiating the operation | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | service id | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | resource instance id | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **propertyI | property id | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **200** | Artifact updated | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Resource instance created | No Content |
+| **400** | Artifact name is missing in input - SVC4128 | No Content |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **403** | Asset is being edited by different user. Only one | No Content |
+| | user can checkout and edit an asset on given time. | |
+| | The asset will be available for checkout after the | |
+| | other user will checkin the asset - SVC4086 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Delete ResourceInstance
------------------------
-
-::
-
- DELETE /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{resourceInstanceId}
-
-Description
-~~~~~~~~~~~
-
-Returns delete resourceInstance
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services / | enum (resources, |
-| | ComponentTy | products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **resourceI | | string |
-| | nstanceId** | | |
-| | \ *required | | |
-| | * | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | ResourceInstance deleted | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **409** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -6433,14 +1391,14 @@ Produces
Tags
~~~~
-- Resource Instance Servlet
+- Artifact External Servlet
-Download component Artifact in Base64
--------------------------------------
+Download resource instance artifact by artifact UUID
+----------------------------------------------------
::
- GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstances/{componentInstanceId}/artifacts/{artifactId}
+ GET /v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
@@ -6453,269 +1411,42 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Path** | **artifactI | | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | ResourceInstance artifact downloaded | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | ResourceInstance/Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Get component Artifacts
------------------------
-
-::
-
- GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstances/{componentInstanceId}/artifactsByType/{artifactGroupType}
-
-Description
-~~~~~~~~~~~
-
-Returns artifacts
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **artifactG | | string |
-| | roupType**\ | | |
-| | *required* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Component artifacts | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Resource/Artifact not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Artifact Servlet
-
-Update resource inputs
-----------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{componentId}/update/inputs
-
-Description
-~~~~~~~~~~~
-
-Returns updated input
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **component | | string |
-| | Id**\ *requ | | |
-| | ired* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the input | string |
-| | required* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Input updated | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Input Catalog
-
-Get component instance properties
----------------------------------
-
-::
-
- GET /v1/catalog/{containerComponentType}/{containerComponentId}/componentInstances/{componentInstanceUniqueId}/properties
-
-Description
-~~~~~~~~~~~
-
-Returns component instance properties
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentInstanceUniqu | string |
-| | eId**\ *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **containerComponentId** | string |
-| | \ *required* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **containerComponentType | string |
-| | **\ *required* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Properties found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Component/Component Instance - not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Create service proxy
---------------------
-
-::
-
- POST /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy
-
-Description
-~~~~~~~~~~~
-
-Returns created service proxy
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | USER\_ID of modifier user | string |
-| ** | *\ *require | | |
-| | d* | | |
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | | string |
-| | ComponentId | | |
-| | **\ *requir | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Path** | **resourceI | The component instance name (as | string |
+| | nstanceName | publishedin the response of the | |
+| | **\ *requir | detailed query) | |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | RI object to be created | string |
-| | required* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -6725,103 +1456,48 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Service proxy created | No Content |
+| **200** | Artifact downloaded | string |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Service proxy already exist | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Delete service proxy
---------------------
-
-::
-
- DELETE /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy/{serviceProxyId}
-
-Description
-~~~~~~~~~~~
-
-Returns delete service proxy
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **container | | string |
-| | ComponentId | | |
-| | **\ *requir | | |
-| | ed* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services / | enum (resources, |
-| | ComponentTy | products | services, |
-| | pe**\ *requ | | products) |
-| | ired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **servicePr | | string |
-| | oxyId**\ *r | | |
-| | equired* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **404** | Artifact was not found - SVC4505 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Service proxy deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Resource Instance Servlet
+- Artifact External Servlet
-Update service proxy with new version
--------------------------------------
+deletes an artifact of a resource insatnce
+------------------------------------------
::
- POST /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy/{serviceProxyId}/changeVersion/{newServiceId}
+ DELETE /v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceName}/artifacts/{artifactUUID}
Description
~~~~~~~~~~~
-Returns updated service proxy
+deletes an artifact of a resource insatnce
Parameters
~~~~~~~~~~
@@ -6829,87 +1505,42 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Path** | **container | | string |
-| | ComponentId | | |
-| | **\ *requir | | |
-| | ed* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **container | valid values: resources / services | enum (resources, |
-| | ComponentTy | | services) |
-| | pe**\ *requ | | |
-| | ired* | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **servicePr | | string |
-| | oxyId**\ *r | | |
-| | equired* | | |
+| **Header | **USER\_ID* | The user ID of the DCAE Designer. | string |
+| ** | *\ *require | This user must also have Designer | |
+| | d* | role in SDC | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Service proxy created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Resource Instance Servlet
-
-Update Group Instance Property Values
--------------------------------------
-
-::
-
- PUT /v1/catalog/{containerComponentType}/{serviceId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstanceId}
-
-Description
-~~~~~~~~~~~
-
-Returns updated group instance
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | | string |
-| | InstanceId* | | |
-| | *\ *require | | |
-| | d* | | |
+| **Path** | **artifactU | The uuid of the artifact as | string |
+| | UID**\ *req | published in the asset detailed | |
+| | uired* | metadata or in the response of the | |
+| | | upload / update operation | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **groupInst | | string |
-| | anceId**\ * | | |
-| | required* | | |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **serviceId | | string |
-| | **\ *requir | | |
+| **Path** | **resourceI | The component instance name (as | string |
+| | nstanceName | publishedin the response of the | |
+| | **\ *requir | detailed query) | |
| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Group instance object to be Updated | string |
-| | required* | | |
+| **Path** | **uuid**\ * | The uuid of the asset as published | string |
+| | required* | in the metadata | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -6919,70 +1550,37 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Group Instance Property Values Updated | No Content |
+| **200** | Artifact deleted | `ArtifactDefin |
+| | | ition <#_artif |
+| | | actdefinition> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
+| **400** | Artifact name is missing in input - SVC4128 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Service Catalog
-
-Retrieve the all resource, service and product categories
----------------------------------------------------------
-
-::
-
- GET /v1/categories
-
-Description
-~~~~~~~~~~~
-
-Retrieve the all resource, service and product categories
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **403** | Asset is being edited by different user. Only one | No Content |
+| | user can checkout and edit an asset on given time. | |
+| | The asset will be available for checkout after the | |
+| | other user will checkin the asset - SVC4086 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns categories Ok | No Content |
+| **404** | Specified resource is not found - SVC4063 | No Content |
+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | (PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
+| **409** | Restricted Operation – the user provided does not | No Content |
+| | have role of Designer or the asset is being used | |
+| | by another designer - SVC4301 | |
+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
@@ -6991,20 +1589,19 @@ Produces
Tags
~~~~
-- Element Servlet
+- Artifact External Servlet
-Retrieve the list of all resource/service/product categories/sub-categories/groupings
--------------------------------------------------------------------------------------
+Fetch assets CSAR
+-----------------
::
- GET /v1/categories/{componentType}
+ GET /v1/catalog/{assetType}/{uuid}/toscaModel
Description
~~~~~~~~~~~
-Retrieve the list of all resource/service/product
-categories/sub-categories/groupings.
+Returns asset csar
Parameters
~~~~~~~~~~
@@ -7012,75 +1609,27 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | allowed values are resources / | enum (resources, |
-| | Type**\ *re | services/ products | services, |
-| | quired* | | products) |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns categories Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid component type | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Create new component category
------------------------------
-
-::
-
- POST /v1/category/{componentType}
-
-Description
-~~~~~~~~~~~
-
-Create new component category
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | allowed values are resources | enum (resources, |
-| | Type**\ *re | /services / products | services, |
-| | quired* | | products) |
+| **Path** | **assetType | The requested asset type | enum (resources, |
+| | **\ *requir | | services) |
+| | ed* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Category to be created | string |
+| **Path** | **uuid**\ * | The requested asset uuid | string |
| | required* | | |
+----------+-------------+--------------------------------------+------------------+
@@ -7091,114 +1640,49 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Category created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid category data | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Category already exists / User not permitted to | No Content |
-| | perform the action | |
-+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Create new component sub-category
----------------------------------
-
-::
-
- POST /v1/category/{componentType}/{categoryId}/subCategory
-
-Description
-~~~~~~~~~~~
-
-Create new component sub-category for existing category
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **categoryI | Parent category unique ID | string |
-| | d**\ *requi | | |
-| | red* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | allowed values are resources / | enum (resources, |
-| | Type**\ *re | products | products) |
-| | quired* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Subcategory to be created. e.g. | string |
-| | required* | {"name":"Resource-subcat"} | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **200** | ECOMP component is authenticated and list of | string |
+| | Catalog Assets Metadata is returned | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Subcategory created | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-| **400** | Invalid subcategory data | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| **404** | Parent category wasn’t found | No Content |
+| **404** | Error: Requested *%1* (uuid) resource was not | No Content |
+| | found - SVC4063 | |
+---------+----------------------------------------------------+----------------+
-| **409** | Subcategory already exists / User not permitted to | No Content |
-| | perform the action | |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem. ECOMP Component should continue the | |
+| | attempts to get the needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
Produces
~~~~~~~~
-- ``application/json``
+- ``application/octet-stream``
Tags
~~~~
-- Element Servlet
+- Asset Metadata External Servlet
-Create new component grouping
------------------------------
+UEB Server List
+---------------
::
- POST /v1/category/{componentType}/{categoryId}/subCategory/{subCategoryId}/grouping
+ GET /v1/distributionUebCluster
Description
~~~~~~~~~~~
-Create new component grouping for existing sub-category
+return the available UEB Server List
Parameters
~~~~~~~~~~
@@ -7206,24 +1690,21 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **categoryI | Parent category unique ID | string |
-| | d**\ *requi | | |
-| | red* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **component | allowed values are products | enum (products) |
-| | Type**\ *re | | |
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **subCatego | Parent sub-category unique ID | string |
-| | ryId**\ *re | | |
-| | quired* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Subcategory to be created | string |
-| | required* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -7233,266 +1714,26 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **201** | Grouping created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid grouping data | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Parent category or subcategory were not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Grouping already exists / User not permitted to | No Content |
-| | perform the action | |
-+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Delete component category
--------------------------
-
-::
-
- DELETE /v1/category/{componentType}/{categoryUniqueId}
-
-Description
-~~~~~~~~~~~
-
-Delete component category
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **categoryUniqueId**\ *r | string |
-| | equired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Category <#_c |
-| | | ategory>`__ |
-+---------+----------------------------------------------------+----------------+
-| **204** | Category deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Category not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | User not permitted to perform the action | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Delete component category
--------------------------
-
-::
-
- DELETE /v1/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}
-
-Description
-~~~~~~~~~~~
-
-Delete component category
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **categoryUniqueId**\ *r | string |
-| | equired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **subCategoryUniqueId**\ | string |
-| | *required* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Category <#_c |
-| | | ategory>`__ |
-+---------+----------------------------------------------------+----------------+
-| **204** | Category deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Category not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | User not permitted to perform the action | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Delete component category
--------------------------
-
-::
-
- DELETE /v1/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}/grouping/{groupingUniqueId}
-
-Description
-~~~~~~~~~~~
-
-Delete component category
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **categoryUniqueId**\ *r | string |
-| | equired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **groupingUniqueId**\ *r | string |
-| | equired* | |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **subCategoryUniqueId**\ | string |
-| | *required* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `Category <#_c |
-| | | ategory>`__ |
-+---------+----------------------------------------------------+----------------+
-| **204** | Category deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | USER\_ID header is missing | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Category not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | User not permitted to perform the action | No Content |
+| **200** | ECOMP component is authenticated and list of | `ServerListRes |
+| | Cambria API server’s FQDNs is returned | ponse <#_serve |
+| | | rlistresponse> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-| **500** | General Error | No Content |
+| **400** | Missing *X-ECOMP-InstanceID* HTTP header - POL5001 | No Content |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Retrieve all artifactTypes
---------------------------
-
-::
-
- GET /v1/configuration/ui
-
-Description
-~~~~~~~~~~~
-
-Retrieve all artifactTypes
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its credentials | |
+| | for Basic Authentication - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns artifactTypes Ok | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| **404** | No artifactTypes were found | No Content |
+| **405** | Method Not Allowed: Invalid HTTP method type used | No Content |
+| | ( PUT,DELETE,POST will be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
+| **500** | The GET request failed either due to internal SDC | No Content |
+| | problem or Cambria Service failure. ECOMP | |
+| | Component should continue the attempts to get the | |
+| | needed information - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -7508,19 +1749,19 @@ Produces
Tags
~~~~
-- Element Servlet
+- Distribution Servlet
-Consumer credentials
---------------------
+Subscription status
+-------------------
::
- POST /v1/consumers
+ POST /v1/registerForDistribution
Description
~~~~~~~~~~~
-Returns created ONAP consumer credentials
+Subscribes for distribution notifications
Parameters
~~~~~~~~~~
@@ -7528,624 +1769,32 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | Consumer Object to be created | string |
-| | required* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **201** | Consumer credentials created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid content / Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Consumer Servlet
-
-Retrieve Consumer
------------------
-
-::
-
- GET /v1/consumers/{consumerId}
-
-Description
-~~~~~~~~~~~
-
-Returns consumer according to ConsumerID
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **consumerId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Consumer found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Consumer not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Consumer Servlet
-
-Deletes Consumer
-----------------
-
-::
-
- DELETE /v1/consumers/{consumerId}
-
-Description
-~~~~~~~~~~~
-
-Returns deleted consumer according to ConsumerID
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Path** | **consumerId**\ *require | string |
-| | d* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `ConsumerDefin |
-| | | ition <#_consu |
-| | | merdefinition> |
-| | | `__ |
-+---------+----------------------------------------------------+----------------+
-| **204** | Consumer deleted | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | Consumer not found | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Consumer Servlet
-
-Retrieve ONAP portal menu - MOC
--------------------------------
-
-::
-
- GET /v1/ecompPortalMenu
-
-Description
-~~~~~~~~~~~
-
-Retrieve ONAP portal menu
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Retrieve ONAP portal menu | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Retrieve all followed
----------------------
-
-::
-
- GET /v1/followed
-
-Description
-~~~~~~~~~~~
-
-Retrieve all followed
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns followed Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-DELETE /v1/inactiveComponents/{componenttype}
----------------------------------------------
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **componentType**\ *requ | string |
-| | ired* | |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **defau | successful operation | No Content |
-| lt** | | |
-+---------+----------------------------------------------------+----------------+
-
-Tags
-~~~~
-
-- Element Servlet
-
-Retrieve all propertyScopes
----------------------------
-
-::
-
- GET /v1/propertyScopes
-
-Description
-~~~~~~~~~~~
-
-Retrieve all propertyScopes
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns propertyScopes Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | No propertyScopes were found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Retrieve catalog resources and services
----------------------------------------
-
-::
-
- GET /v1/screen
-
-Description
-~~~~~~~~~~~
-
-Retrieve catalog resources and services
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-| **Query** | **excludeTypes**\ *optio | < enum (PRODUCT, SERVICE, VF, |
-| | nal* | VFC, CP, VL, VFCMT, CVFC, PNF) > |
-| | | array(multi) |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns resources and services Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-Retrieve all tags
------------------
-
-::
-
- GET /v1/tags
-
-Description
-~~~~~~~~~~~
-
-Retrieve all tags
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns tags Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | No tags were found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- Element Servlet
-
-add user
---------
-
-::
-
- POST /v1/user
-
-Description
-~~~~~~~~~~~
-
-Provision new user
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-L | Length of the request body | string |
+| ** | ength**\ *r | | |
+| | equired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the user | string |
-| | required* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | successful operation | `User <#_user> |
-| | | `__ |
-+---------+----------------------------------------------------+----------------+
-| **201** | New user created | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid Content. | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | User already exists | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-retrieve all administrators
----------------------------
-
-::
-
- GET /v1/user/admins
-
-Description
-~~~~~~~~~~~
-
-Returns all administrators
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Path** | **userId**\ *required* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns user Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-authorize
----------
-
-::
-
- GET /v1/user/authorize
-
-Description
-~~~~~~~~~~~
-
-authorize user
-
-Parameters
-~~~~~~~~~~
-
-+------------------+--------------------------+----------------------------------+
-| Type | Name | Schema |
-+==================+==========================+==================================+
-| **Header** | **HTTP\_CSP\_EMAIL**\ *o | string |
-| | ptional* | |
-+------------------+--------------------------+----------------------------------+
-| **Header** | **HTTP\_CSP\_FIRSTNAME** | string |
-| | \ *optional* | |
-+------------------+--------------------------+----------------------------------+
-| **Header** | **HTTP\_CSP\_LASTNAME**\ | string |
-| | *optional* | |
-+------------------+--------------------------+----------------------------------+
-| **Header** | **USER\_ID**\ *optional* | string |
-+------------------+--------------------------+----------------------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns user Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted Access | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-Retrieve the list of all active ASDC users or only group of users having specific roles.
-----------------------------------------------------------------------------------------
-
-::
-
- GET /v1/user/users
-
-Description
-~~~~~~~~~~~
-
-Returns list of users with the specified roles, or all of users in the
-case of empty *roles* header
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | Any active user’s USER\_ID | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Query* | **roles**\ | TESTER,DESIGNER,PRODUCT\_STRATEGIST, | string |
-| * | *optional* | OPS,PRODUCT\_MANAGER,GOVERNOR, | |
-| | | ADMIN OR all users by not typing | |
-| | | anything | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -8155,68 +1804,29 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Returns users Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **204** | No provisioned ASDC users of requested role | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Missing content | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Restricted Access | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
+| **200** | ECOMP component is successfully registered for | `TopicRegistra |
+| | distribution | tionResponse < |
+| | | #_topicregistr |
+| | | ationresponse> |
+| | | `__ |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-retrieve user details
----------------------
-
-::
-
- GET /v1/user/{userId}
-
-Description
-~~~~~~~~~~~
-
-Returns user details according to userId
-
-Parameters
-~~~~~~~~~~
-
-+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **userId**\ | userId of user to get | string |
-| | *required* | | |
-+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
+| **400** | Invalid Body : Specified *distrEnvName* doesn’t | No Content |
+| | exist - POL4137 | |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Returns user Ok | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | to register for distribution ( PUT,DELETE,GET will | |
+| | be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
+| **500** | The registration failed due to internal SDC | No Content |
+| | problem or Cambria Service failure ECOMP Component | |
+| | should continue the attempts to register for | |
+| | distribution - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -8232,19 +1842,19 @@ Produces
Tags
~~~~
-- User Administration
+- Distribution Servlet
-delete user
------------
+Subscription status
+-------------------
::
- DELETE /v1/user/{userId}
+ POST /v1/unRegisterForDistribution
Description
~~~~~~~~~~~
-Delete user
+Removes from subscription for distribution notifications
Parameters
~~~~~~~~~~
@@ -8252,137 +1862,32 @@ Parameters
+----------+-------------+--------------------------------------+------------------+
| Type | Name | Description | Schema |
+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
-+----------+-------------+--------------------------------------+------------------+
-| **Path** | **userId**\ | userId of user to get | string |
-| | *required* | | |
+| **Header | **Accept**\ | Determines the format of the body of | string |
+| ** | *optional* | the response | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Update deleted OK | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid Content. | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-update user role
-----------------
-
-::
-
- POST /v1/user/{userId}/role
-
-Description
-~~~~~~~~~~~
-
-Update user role
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **Authoriza | The username and password | string |
+| ** | tion**\ *re | | |
+| | quired* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Header | **USER\_ID* | | string |
-| ** | *\ *optiona | | |
-| | l* | | |
+| **Header | **Content-L | Length of the request body | string |
+| ** | ength**\ *r | | |
+| | equired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Path** | **userId**\ | userId of user to get | string |
-| | *required* | | |
+| **Header | **Content-T | Determines the format of the body of | string |
+| ** | ype**\ *req | the request | |
+| | uired* | | |
+----------+-------------+--------------------------------------+------------------+
-| **Body** | **body**\ * | json describe the update role | string |
-| | required* | | |
+| **Header | **X-ECOMP-I | X-ECOMP-InstanceID header | string |
+| ** | nstanceID** | | |
+| | \ *required | | |
+| | * | | |
+----------+-------------+--------------------------------------+------------------+
-
-Responses
-~~~~~~~~~
-
-+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | Update user OK | No Content |
-+---------+----------------------------------------------------+----------------+
-| **400** | Invalid Content. | No Content |
-+---------+----------------------------------------------------+----------------+
-| **403** | Missing information/Restricted operation | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
-+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
-+---------+----------------------------------------------------+----------------+
-| **409** | User already exists | No Content |
-+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
-+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-retrieve user role
-------------------
-
-::
-
- GET /v1/user/{userId}/role
-
-Description
-~~~~~~~~~~~
-
-Returns user role according to userId
-
-Parameters
-~~~~~~~~~~
-
+| **Header | **X-ECOMP-R | X-ECOMP-RequestID header | string |
+| ** | equestID**\ | | |
+| | *optional* | | |
+----------+-------------+--------------------------------------+------------------+
-| Type | Name | Description | Schema |
-+==========+=============+======================================+==================+
-| **Path** | **userId**\ | userId of user to get | string |
-| | *required* | | |
+| **Body** | **body**\ * | | string |
+| | optional* | | |
+----------+-------------+--------------------------------------+------------------+
Responses
@@ -8392,52 +1897,29 @@ Responses
| HTTP | Description | Schema |
| Code | | |
+=========+====================================================+================+
-| **200** | Returns user role Ok | No Content |
-+---------+----------------------------------------------------+----------------+
-| **404** | User not found | No Content |
+| **204** | ECOMP component is successfully unregistered | `TopicUnregist |
+| | | rationResponse |
+| | | <#_topicunreg |
+| | | istrationrespo |
+| | | nse>`__ |
+---------+----------------------------------------------------+----------------+
-| **405** | Method Not Allowed | No Content |
+| **400** | Invalid Body : Specified *distrEnvName* doesn’t | No Content |
+| | exist - POL4137 | |
+---------+----------------------------------------------------+----------------+
-| **500** | Internal Server Error | No Content |
+| **401** | ECOMP component should authenticate itself and to | No Content |
+| | re-send again HTTP request with its Basic | |
+| | Authentication credentials - POL5002 | |
+---------+----------------------------------------------------+----------------+
-
-Consumes
-~~~~~~~~
-
-- ``application/json``
-
-Produces
-~~~~~~~~
-
-- ``application/json``
-
-Tags
-~~~~
-
-- User Administration
-
-return the ASDC application version
------------------------------------
-
-::
-
- GET /version
-
-Description
-~~~~~~~~~~~
-
-return the ASDC application version
-
-Responses
-~~~~~~~~~
-
+| **403** | ECOMP component is not authorized - POL5003 | No Content |
+---------+----------------------------------------------------+----------------+
-| HTTP | Description | Schema |
-| Code | | |
-+=========+====================================================+================+
-| **200** | return ASDC version | No Content |
+| **405** | Method Not Allowed : Invalid HTTP method type used | No Content |
+| | to register for distribution ( PUT,DELETE,GET will | |
+| | be rejected) - POL4050 | |
+---------+----------------------------------------------------+----------------+
-| **500** | Internal Error | No Content |
+| **500** | The registration failed due to internal SDC | No Content |
+| | problem or Cambria Service failure ECOMP Component | |
+| | should continue the attempts to register for | |
+| | distribution - POL5000 | |
+---------+----------------------------------------------------+----------------+
Consumes
@@ -8453,7 +1935,7 @@ Produces
Tags
~~~~
-- BE Monitoring
+- Distribution Servlet
Definitions
===========
@@ -8464,6 +1946,8 @@ AdditionalInfoParameterInfo
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **key**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
@@ -8481,6 +1965,8 @@ AdditionalInformationDefinition
+================================+===========================================+
| **creationTime**\ *optional* | integer (int64) |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **lastCreatedCounter**\ *optio | integer (int32) |
| nal* | |
+--------------------------------+-------------------------------------------+
@@ -8544,6 +2030,8 @@ ArtifactDataDefinition
+--------------------------------+-------------------------------------------+
| **duplicated**\ *optional* | boolean |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **esId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **generated**\ *optional* | boolean |
@@ -8631,6 +2119,8 @@ ArtifactDefinition
+--------------------------------+-------------------------------------------+
| **duplicated**\ *optional* | boolean |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **esId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **generated**\ *optional* | boolean |
@@ -8680,6 +2170,63 @@ ArtifactDefinition
| al* | |
+--------------------------------+-------------------------------------------+
+AssetMetadata
+-------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **toscaModelURL**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uuid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+CapabilityDataDefinition
+------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **capabilitySources**\ *option | < string > array |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **leftOccurrences**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **maxOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **minOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **source**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **validSourceTypes**\ *optiona | < string > array |
+| l* | |
++--------------------------------+-------------------------------------------+
+
CapabilityDefinition
--------------------
@@ -8691,6 +2238,8 @@ CapabilityDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **leftOccurrences**\ *optional | string |
| * | |
+--------------------------------+-------------------------------------------+
@@ -8723,13 +2272,19 @@ CapabilityDefinition
| l* | |
+--------------------------------+-------------------------------------------+
-Category
---------
+CapabilityRequirementRelationship
+---------------------------------
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
-| **name**\ *optional* | string |
+| **capability**\ *optional* | `CapabilityDataDefinition <#_capabilityda |
+| | tadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **relation**\ *optional* | `RelationshipInfo <#_relationshipinfo>`__ |
++--------------------------------+-------------------------------------------+
+| **requirement**\ *optional* | `RequirementDataDefinition <#_requirement |
+| | datadefinition>`__ |
+--------------------------------+-------------------------------------------+
CategoryDefinition
@@ -8738,6 +2293,8 @@ CategoryDefinition
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **icons**\ *optional* | < string > array |
+--------------------------------+-------------------------------------------+
| **name**\ *optional* | string |
@@ -8760,6 +2317,9 @@ ComponentInstance
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **actualComponentUid**\ *optio | string |
+| nal* | |
++--------------------------------+-------------------------------------------+
| **artifacts**\ *optional* | < string, |
| | `ArtifactDefinition <#_artifactdefinition |
| | >`__ |
@@ -8792,6 +2352,8 @@ ComponentInstance
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **groupInstances**\ *optional* | < `GroupInstance <#_groupinstance>`__ > |
| | array |
+--------------------------------+-------------------------------------------+
@@ -8802,6 +2364,8 @@ ComponentInstance
+--------------------------------+-------------------------------------------+
| **invariantName**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **isProxy**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **modificationTime**\ *optiona | integer (int64) |
| l* | |
+--------------------------------+-------------------------------------------+
@@ -8810,7 +2374,8 @@ ComponentInstance
| **normalizedName**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **originType**\ *optional* | enum (PRODUCT, SERVICE, VF, VFC, CP, VL, |
-| | VFCMT, CVFC, PNF) |
+| | Configuration, VFCMT, CVFC, PNF, |
+| | ServiceProxy) |
+--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
@@ -8826,6 +2391,17 @@ ComponentInstance
| | nition>`__ |
| | > array > map |
+--------------------------------+-------------------------------------------+
+| **sourceModelInvariant**\ *opt | string |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **sourceModelName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **sourceModelUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **sourceModelUuid**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
| **toscaComponentName**\ *optio | string |
| nal* | |
+--------------------------------+-------------------------------------------+
@@ -8855,6 +2431,11 @@ ComponentInstanceInput
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **getInputProperty**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
| **getInputValues**\ *optional* | < |
| | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
@@ -8902,6 +2483,8 @@ ComponentInstanceInput
+--------------------------------+-------------------------------------------+
| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
+--------------------------------+-------------------------------------------+
+| **schemaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
| **status**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **type**\ *optional* | string |
@@ -8936,6 +2519,11 @@ ComponentInstanceProperty
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **getInputProperty**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
| **getInputValues**\ *optional* | < |
| | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
@@ -8973,6 +2561,8 @@ ComponentInstanceProperty
+--------------------------------+-------------------------------------------+
| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
+--------------------------------+-------------------------------------------+
+| **schemaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
| **status**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **type**\ *optional* | string |
@@ -9016,6 +2606,8 @@ ComponentMetadataDataDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **highestVersion**\ *optional* | boolean |
+--------------------------------+-------------------------------------------+
| **icon**\ *optional* | string |
@@ -9071,66 +2663,14 @@ ComponentMetadataDefinition
| ptional* | nentmetadatadatadefinition>`__ |
+--------------------------------+-------------------------------------------+
-ConsumerDefinition
-------------------
-
-+--------------------------------+-------------------------------------------+
-| Name | Schema |
-+================================+===========================================+
-| **consumerDetailsLastupdatedti | integer (int64) |
-| me**\ *optional* | |
-+--------------------------------+-------------------------------------------+
-| **consumerLastAuthenticationTi | integer (int64) |
-| me**\ *optional* | |
-+--------------------------------+-------------------------------------------+
-| **consumerName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **consumerPassword**\ *optiona | string |
-| l* | |
-+--------------------------------+-------------------------------------------+
-| **consumerSalt**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **lastModfierAtuid**\ *optiona | string |
-| l* | |
-+--------------------------------+-------------------------------------------+
-| **ownerId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-
-DistributionStatusInfo
-----------------------
-
-+--------------------------------+-------------------------------------------+
-| Name | Schema |
-+================================+===========================================+
-| **errorReason**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **omfComponentID**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **status**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **timestamp**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **url**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-
-DistributionStatusListResponse
-------------------------------
-
-+--------------------------------+-------------------------------------------+
-| Name | Schema |
-+================================+===========================================+
-| **distributionStatusList**\ *o | < |
-| ptional* | `DistributionStatusInfo <#_distributionst |
-| | atusinfo>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-
GetInputValueDataDefinition
---------------------------
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **getInputIndex**\ *optional* | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
+--------------------------------+-------------------------------------------+
@@ -9159,6 +2699,8 @@ GroupDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **groupUUID**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **invariantUUID**\ *optional* | string |
@@ -9203,6 +2745,8 @@ GroupInstance
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **groupInstanceArtifacts**\ *o | < string > array |
| ptional* | |
+--------------------------------+-------------------------------------------+
@@ -9251,6 +2795,8 @@ GroupingDefinition
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **name**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **normalizedName**\ *optional* | string |
@@ -9272,6 +2818,8 @@ HeatParameterDataDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **name**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
@@ -9293,6 +2841,8 @@ HeatParameterDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **name**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
@@ -9319,6 +2869,11 @@ InputDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **getInputProperty**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
| **getInputValues**\ *optional* | < |
| | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
@@ -9361,6 +2916,8 @@ InputDefinition
+--------------------------------+-------------------------------------------+
| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
+--------------------------------+-------------------------------------------+
+| **schemaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
| **status**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **type**\ *optional* | string |
@@ -9382,6 +2939,8 @@ InterfaceDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **lastUpdateDate**\ *optional* | integer (int64) |
+--------------------------------+-------------------------------------------+
| **operations**\ *optional* | < string, |
@@ -9399,18 +2958,6 @@ InterfaceDefinition
| **uniqueId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
-LifecycleChangeInfoWithAction
------------------------------
-
-+--------------------------------+-------------------------------------------+
-| Name | Schema |
-+================================+===========================================+
-| **action**\ *optional* | enum (CREATE\_FROM\_CSAR, |
-| | UPDATE\_FROM\_EXTERNAL\_API) |
-+--------------------------------+-------------------------------------------+
-| **userRemarks**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-
Operation
---------
@@ -9423,6 +2970,8 @@ Operation
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **implementation**\ *optional* | `ArtifactDataDefinition <#_artifactdatade |
| | finition>`__ |
+--------------------------------+-------------------------------------------+
@@ -9451,6 +3000,8 @@ OperationDataDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **implementation**\ *optional* | `ArtifactDataDefinition <#_artifactdatade |
| | finition>`__ |
+--------------------------------+-------------------------------------------+
@@ -9466,165 +3017,6 @@ OperationDataDefinition
| **uniqueId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
-Product
--------
-
-+--------------------------------+-------------------------------------------+
-| Name | Schema |
-+================================+===========================================+
-| **additionalInformation**\ *op | < |
-| tional* | `AdditionalInformationDefinition <#_addit |
-| | ionalinformationdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **allArtifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **allVersions**\ *optional* | < string, string > map |
-+--------------------------------+-------------------------------------------+
-| **artifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **capabilities**\ *optional* | < string, < |
-| | `CapabilityDefinition <#_capabilitydefini |
-| | tion>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **categories**\ *optional* | < |
-| | `CategoryDefinition <#_categorydefinition |
-| | >`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentInstances**\ *optio | < |
-| nal* | `ComponentInstance <#_componentinstance>` |
-| | __ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesAttributes | < string, < |
-| **\ *optional* | `ComponentInstanceProperty <#_componentin |
-| | stanceproperty>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesInputs**\ | < string, < |
-| *optional* | `ComponentInstanceInput <#_componentinsta |
-| | nceinput>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesProperties | < string, < |
-| **\ *optional* | `ComponentInstanceProperty <#_componentin |
-| | stanceproperty>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesRelations* | < |
-| *\ *optional* | `RequirementCapabilityRelDef <#_requireme |
-| | ntcapabilityreldef>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentMetadataDefinition* | `ComponentMetadataDefinition <#_component |
-| *\ *optional* | metadatadefinition>`__ |
-+--------------------------------+-------------------------------------------+
-| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
-| | RESOURCE\_INSTANCE, PRODUCT, |
-| | SERVICE\_INSTANCE) |
-+--------------------------------+-------------------------------------------+
-| **conformanceLevel**\ *optiona | string |
-| l* | |
-+--------------------------------+-------------------------------------------+
-| **contactId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **contacts**\ *optional* | < string > array |
-+--------------------------------+-------------------------------------------+
-| **creationDate**\ *optional* | integer (int64) |
-+--------------------------------+-------------------------------------------+
-| **creatorFullName**\ *optional | string |
-| * | |
-+--------------------------------+-------------------------------------------+
-| **creatorUserId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **csarUUID**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **csarVersion**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **deploymentArtifacts**\ *opti | < string, |
-| onal* | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **derivedFromGenericType**\ *o | string |
-| ptional* | |
-+--------------------------------+-------------------------------------------+
-| **derivedFromGenericVersion**\ | string |
-| *optional* | |
-+--------------------------------+-------------------------------------------+
-| **description**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **fullName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **groups**\ *optional* | < `GroupDefinition <#_groupdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **highestVersion**\ *optional* | boolean |
-+--------------------------------+-------------------------------------------+
-| **icon**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **importedToscaChecksum**\ *op | string |
-| tional* | |
-+--------------------------------+-------------------------------------------+
-| **inputs**\ *optional* | < `InputDefinition <#_inputdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **invariantUUID**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **isActive**\ *optional* | boolean |
-+--------------------------------+-------------------------------------------+
-| **isDeleted**\ *optional* | boolean |
-+--------------------------------+-------------------------------------------+
-| **lastUpdateDate**\ *optional* | integer (int64) |
-+--------------------------------+-------------------------------------------+
-| **lastUpdaterFullName**\ *opti | string |
-| onal* | |
-+--------------------------------+-------------------------------------------+
-| **lastUpdaterUserId**\ *option | string |
-| al* | |
-+--------------------------------+-------------------------------------------+
-| **lifecycleState**\ *optional* | enum (READY\_FOR\_CERTIFICATION, |
-| | CERTIFICATION\_IN\_PROGRESS, CERTIFIED, |
-| | NOT\_CERTIFIED\_CHECKIN, |
-| | NOT\_CERTIFIED\_CHECKOUT) |
-+--------------------------------+-------------------------------------------+
-| **name**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **normalizedName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **projectCode**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **requirements**\ *optional* | < string, < |
-| | `RequirementDefinition <#_requirementdefi |
-| | nition>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **systemName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **tags**\ *optional* | < string > array |
-+--------------------------------+-------------------------------------------+
-| **toscaArtifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **toscaType**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **uniqueId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **uuid**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **version**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-
PropertyConstraint
------------------
@@ -9642,6 +3034,11 @@ PropertyDataDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **getInputProperty**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
| **getInputValues**\ *optional* | < |
| | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
@@ -9674,6 +3071,8 @@ PropertyDataDefinition
+--------------------------------+-------------------------------------------+
| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
+--------------------------------+-------------------------------------------+
+| **schemaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
| **status**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **type**\ *optional* | string |
@@ -9700,6 +3099,11 @@ PropertyDefinition
+--------------------------------+-------------------------------------------+
| **description**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **getInputProperty**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
| **getInputValues**\ *optional* | < |
| | `GetInputValueDataDefinition <#_getinputv |
| | aluedatadefinition>`__ |
@@ -9732,6 +3136,8 @@ PropertyDefinition
+--------------------------------+-------------------------------------------+
| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
+--------------------------------+-------------------------------------------+
+| **schemaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
| **status**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **type**\ *optional* | string |
@@ -9747,6 +3153,8 @@ PropertyRule
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **firstToken**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
@@ -9767,8 +3175,8 @@ RelationshipImpl
| **type**\ *optional* | string |
+--------------------------------+-------------------------------------------+
-RequirementAndRelationshipPair
-------------------------------
+RelationshipInfo
+----------------
+--------------------------------+-------------------------------------------+
| Name | Schema |
@@ -9801,15 +3209,54 @@ RequirementCapabilityRelDef
| **fromNode**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **relationships**\ *optional* | < |
-| | `RequirementAndRelationshipPair <#_requir |
-| | ementandrelationshippair>`__ |
+| | `CapabilityRequirementRelationship <#_cap |
+| | abilityrequirementrelationship>`__ |
| | > array |
+--------------------------------+-------------------------------------------+
+| **singleRelationship**\ *optio | `CapabilityRequirementRelationship <#_cap |
+| nal* | abilityrequirementrelationship>`__ |
++--------------------------------+-------------------------------------------+
| **toNode**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **uid**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+RequirementDataDefinition
+-------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **capability**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **leftOccurrences**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **maxOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **minOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **node**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **relationship**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **source**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
RequirementDefinition
---------------------
@@ -9818,6 +3265,8 @@ RequirementDefinition
+================================+===========================================+
| **capability**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **leftOccurrences**\ *optional | string |
| * | |
+--------------------------------+-------------------------------------------+
@@ -10008,7 +3457,7 @@ Resource
| | > array > map |
+--------------------------------+-------------------------------------------+
| **resourceType**\ *optional* | enum (VFC, VF, CP, PNF, CVFC, VL, VFCMT, |
-| | ABSTRACT) |
+| | Configuration, ServiceProxy, ABSTRACT) |
+--------------------------------+-------------------------------------------+
| **resourceVendorModelNumber**\ | string |
| *optional* | |
@@ -10048,6 +3497,8 @@ SchemaDefinition
+--------------------------------+-------------------------------------------+
| **derivedFrom**\ *optional* | string |
+--------------------------------+-------------------------------------------+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **ownerId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
| **properties**\ *optional* | < string, |
@@ -10059,175 +3510,13 @@ SchemaDefinition
| | finition>`__ |
+--------------------------------+-------------------------------------------+
-Service
--------
+ServerListResponse
+------------------
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
-| **additionalInformation**\ *op | < |
-| tional* | `AdditionalInformationDefinition <#_addit |
-| | ionalinformationdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **allArtifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **allVersions**\ *optional* | < string, string > map |
-+--------------------------------+-------------------------------------------+
-| **artifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **capabilities**\ *optional* | < string, < |
-| | `CapabilityDefinition <#_capabilitydefini |
-| | tion>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **categories**\ *optional* | < |
-| | `CategoryDefinition <#_categorydefinition |
-| | >`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentInstances**\ *optio | < |
-| nal* | `ComponentInstance <#_componentinstance>` |
-| | __ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesAttributes | < string, < |
-| **\ *optional* | `ComponentInstanceProperty <#_componentin |
-| | stanceproperty>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesInputs**\ | < string, < |
-| *optional* | `ComponentInstanceInput <#_componentinsta |
-| | nceinput>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesProperties | < string, < |
-| **\ *optional* | `ComponentInstanceProperty <#_componentin |
-| | stanceproperty>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **componentInstancesRelations* | < |
-| *\ *optional* | `RequirementCapabilityRelDef <#_requireme |
-| | ntcapabilityreldef>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **componentMetadataDefinition* | `ComponentMetadataDefinition <#_component |
-| *\ *optional* | metadatadefinition>`__ |
-+--------------------------------+-------------------------------------------+
-| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
-| | RESOURCE\_INSTANCE, PRODUCT, |
-| | SERVICE\_INSTANCE) |
-+--------------------------------+-------------------------------------------+
-| **conformanceLevel**\ *optiona | string |
-| l* | |
-+--------------------------------+-------------------------------------------+
-| **contactId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **creationDate**\ *optional* | integer (int64) |
-+--------------------------------+-------------------------------------------+
-| **creatorFullName**\ *optional | string |
-| * | |
-+--------------------------------+-------------------------------------------+
-| **creatorUserId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **csarUUID**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **csarVersion**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **deploymentArtifacts**\ *opti | < string, |
-| onal* | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **derivedFromGenericType**\ *o | string |
-| ptional* | |
-+--------------------------------+-------------------------------------------+
-| **derivedFromGenericVersion**\ | string |
-| *optional* | |
-+--------------------------------+-------------------------------------------+
-| **description**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **distributionStatus**\ *optio | enum (DISTRIBUTION\_NOT\_APPROVED, |
-| nal* | DISTRIBUTION\_APPROVED, DISTRIBUTED, |
-| | DISTRIBUTION\_REJECTED) |
-+--------------------------------+-------------------------------------------+
-| **ecompGeneratedNaming**\ *opt | boolean |
-| ional* | |
-+--------------------------------+-------------------------------------------+
-| **groups**\ *optional* | < `GroupDefinition <#_groupdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **highestVersion**\ *optional* | boolean |
-+--------------------------------+-------------------------------------------+
-| **icon**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **importedToscaChecksum**\ *op | string |
-| tional* | |
-+--------------------------------+-------------------------------------------+
-| **inputs**\ *optional* | < `InputDefinition <#_inputdefinition>`__ |
-| | > array |
-+--------------------------------+-------------------------------------------+
-| **invariantUUID**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **isDeleted**\ *optional* | boolean |
-+--------------------------------+-------------------------------------------+
-| **lastUpdateDate**\ *optional* | integer (int64) |
-+--------------------------------+-------------------------------------------+
-| **lastUpdaterFullName**\ *opti | string |
-| onal* | |
-+--------------------------------+-------------------------------------------+
-| **lastUpdaterUserId**\ *option | string |
-| al* | |
-+--------------------------------+-------------------------------------------+
-| **lifecycleState**\ *optional* | enum (READY\_FOR\_CERTIFICATION, |
-| | CERTIFICATION\_IN\_PROGRESS, CERTIFIED, |
-| | NOT\_CERTIFIED\_CHECKIN, |
-| | NOT\_CERTIFIED\_CHECKOUT) |
-+--------------------------------+-------------------------------------------+
-| **name**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **namingPolicy**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **normalizedName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **projectCode**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **requirements**\ *optional* | < string, < |
-| | `RequirementDefinition <#_requirementdefi |
-| | nition>`__ |
-| | > array > map |
-+--------------------------------+-------------------------------------------+
-| **serviceApiArtifacts**\ *opti | < string, |
-| onal* | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **serviceRole**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **serviceType**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **systemName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **tags**\ *optional* | < string > array |
-+--------------------------------+-------------------------------------------+
-| **toscaArtifacts**\ *optional* | < string, |
-| | `ArtifactDefinition <#_artifactdefinition |
-| | >`__ |
-| | > map |
-+--------------------------------+-------------------------------------------+
-| **toscaType**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **uniqueId**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **uuid**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **version**\ *optional* | string |
+| **uebServerList**\ *optional* | < string > array |
+--------------------------------+-------------------------------------------+
SubCategoryDefinition
@@ -10236,6 +3525,8 @@ SubCategoryDefinition
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
+| **empty**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
| **groupings**\ *optional* | < |
| | `GroupingDefinition <#_groupingdefinition |
| | >`__ |
@@ -10252,25 +3543,42 @@ SubCategoryDefinition
| **uniqueId**\ *optional* | string |
+--------------------------------+-------------------------------------------+
-User
-----
+TopicRegistrationResponse
+-------------------------
+--------------------------------+-------------------------------------------+
| Name | Schema |
+================================+===========================================+
-| **email**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **firstName**\ *optional* | string |
-+--------------------------------+-------------------------------------------+
-| **fullName**\ *optional* | string |
+| **distrNotificationTopicName** | string |
+| \ *optional* | |
+--------------------------------+-------------------------------------------+
-| **lastLoginTime**\ *optional* | integer (int64) |
+| **distrStatusTopicName**\ *opt | string |
+| ional* | |
+--------------------------------+-------------------------------------------+
-| **lastName**\ *optional* | string |
+
+TopicUnregistrationResponse
+---------------------------
+
+--------------------------------+-------------------------------------------+
-| **role**\ *optional* | string |
+| Name | Schema |
++================================+===========================================+
+| **distrNotificationTopicName** | string |
+| \ *optional* | |
+--------------------------------+-------------------------------------------+
-| **status**\ *optional* | enum (ACTIVE, INACTIVE) |
+| **distrStatusTopicName**\ *opt | string |
+| ional* | |
+--------------------------------+-------------------------------------------+
-| **userId**\ *optional* | string |
+| **notificationUnregisterResult | enum (OK, CONNNECTION\_ERROR, NOT\_FOUND, |
+| **\ *optional* | TOPIC\_ALREADY\_EXIST, |
+| | OBJECT\_NOT\_FOUND, |
+| | INTERNAL\_SERVER\_ERROR, |
+| | AUTHENTICATION\_ERROR, |
+| | UNKNOWN\_HOST\_ERROR) |
++--------------------------------+-------------------------------------------+
+| **statusUnregisterResult**\ *o | enum (OK, CONNNECTION\_ERROR, NOT\_FOUND, |
+| ptional* | TOPIC\_ALREADY\_EXIST, |
+| | OBJECT\_NOT\_FOUND, |
+| | INTERNAL\_SERVER\_ERROR, |
+| | AUTHENTICATION\_ERROR, |
+| | UNKNOWN\_HOST\_ERROR) |
+--------------------------------+-------------------------------------------+