summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2018-09-26 16:44:57 +0800
committerSeshu Kumar M <seshu.kumar.m@huawei.com>2018-09-27 02:33:46 +0000
commitba46a1f079a4e5286e88951bdb7f92a55447ad9f (patch)
tree7ba1afaf870c4fd79f905f667d5b48bc1c469e03
parentef45a050c45224a49349c2c3ef3b3c85c122e7fb (diff)
update the APIs of SO
Change-Id: I8917dcdd90848885739721416c9b507afa96c12a Issue-ID: SO-675 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
-rw-r--r--docs/api/SO_Interface.rst26
-rw-r--r--docs/api/offered_consumed_apis.rst25
2 files changed, 30 insertions, 21 deletions
diff --git a/docs/api/SO_Interface.rst b/docs/api/SO_Interface.rst
index 695cedbd48..4f3d9146e4 100644
--- a/docs/api/SO_Interface.rst
+++ b/docs/api/SO_Interface.rst
@@ -18,7 +18,7 @@ Create service instance
+--------------------+-------------------------------------+
|Interface Definition|Description |
+====================+=====================================+
-|URI |{serverRoot}/serviceInstances/v6 |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6 |
+--------------------+-------------------------------------+
|Operation Type |POST |
+--------------------+-------------------------------------+
@@ -210,7 +210,7 @@ Delete service instance
+--------------------+---------------------------------------------------------+
|Interface Definition|Description |
+====================+=========================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId} |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId} |
+--------------------+---------------------------------------------------------+
|Operation Type |DELETE |
+--------------------+---------------------------------------------------------+
@@ -263,7 +263,7 @@ Create Volume Group
+--------------------+-------------------------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+===========================================================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups |
+--------------------+-------------------------------------------------------------------------------------------+
|Operation Type |POST |
+--------------------+-------------------------------------------------------------------------------------------+
@@ -394,7 +394,7 @@ Delete Volume Group
+--------------------+---------------------------------------------------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+=====================================================================================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volume-groupinstance-id} |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volume-groupinstance-id} |
+--------------------+---------------------------------------------------------------------------------------------------------------------+
|Operation Type |DELETE |
+--------------------+---------------------------------------------------------------------------------------------------------------------+
@@ -455,7 +455,7 @@ Create VF Module
+--------------------+----------------------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+========================================================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules |
+--------------------+----------------------------------------------------------------------------------------+
|Operation Type |POST |
+--------------------+----------------------------------------------------------------------------------------+
@@ -550,7 +550,7 @@ Delete VF Module
+--------------------+--------------------------------------------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+==============================================================================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleinstance-id} |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleinstance-id} |
+--------------------+--------------------------------------------------------------------------------------------------------------+
|Operation Type |DELETE |
+--------------------+--------------------------------------------------------------------------------------------------------------+
@@ -619,7 +619,7 @@ Create VNF
+--------------------+--------------------------------------------------------------+
|Interface Definition|Description |
+====================+==============================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs |
+--------------------+--------------------------------------------------------------+
|Operation Type |POST |
+--------------------+--------------------------------------------------------------+
@@ -766,7 +766,7 @@ Delete VNF
+--------------------+------------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+==============================================================================+
-|URI |{serverRoot}/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId} |
+|URI |/onap/so/infra/serviceInstantiation/serviceInstances/v6/{serviceInstanceId}/vnfs/{vnfInstanceId} |
+--------------------+------------------------------------------------------------------------------+
|Operation Type |DELETE |
+--------------------+------------------------------------------------------------------------------+
@@ -847,7 +847,7 @@ GET Orchestration Request
+--------------------+--------------------------------------------------------------+
|Interface Definition|Description |
+====================+==============================================================+
-|URI |{serverRoot}/orchestrationRequests/v6/{request-id} |
+|URI |/onap/so/infra/serviceInstantiation/orchestrationRequests/v6/{request-id} |
+--------------------+--------------------------------------------------------------+
|Operation Type |GET |
+--------------------+--------------------------------------------------------------+
@@ -998,7 +998,7 @@ GET Orchestration Requests
+--------------------+--------------------------------------------------------------+
|Interface Definition|Description |
+====================+==============================================================+
-|URI |{serverRoot}/orchestrationRequests/v6 |
+|URI |/onap/so/infra/serviceInstantiation/orchestrationRequests/v6 |
+--------------------+--------------------------------------------------------------+
|Operation Type |GET |
+--------------------+--------------------------------------------------------------+
@@ -1751,7 +1751,7 @@ Create E2E service instance
+--------------------+-------------------------------------+
|Interface Definition|Description |
+====================+=====================================+
-|URI |{serverRoot}/e2eServiceInstances/v3 |
+|URI |/onap/so/infra/serviceInstantiation/e2eServiceInstances/v3 |
+--------------------+-------------------------------------+
|Operation Type |POST |
+--------------------+-------------------------------------+
@@ -1848,7 +1848,7 @@ Delete E2E service instance
+--------------------+-----------------------------------------------+
|Interface Definition|Description |
+====================+===============================================+
-|URI |{serverRoot}/e2eServiceInstances/v3/{serviceId}|
+|URI |/onap/so/infra/serviceInstantiation/e2eServiceInstances/v3/{serviceId}|
+--------------------+-----------------------------------------------+
|Operation Type |DELETE |
+--------------------+-----------------------------------------------+
@@ -1877,7 +1877,7 @@ Query E2E service operation result
+--------------------+------------------------------------------------------------------------+
|Interface Definition|Description |
+====================+========================================================================+
-|URI |{serverRoot}/e2eServiceInstances/v3/{serviceId}/operations/{operationId}|
+|URI |/onap/so/infra/serviceInstantiation/e2eServiceInstances/v3/{serviceId}/operations/{operationId}|
+--------------------+------------------------------------------------------------------------+
|Operation Type |GET |
+--------------------+------------------------------------------------------------------------+
diff --git a/docs/api/offered_consumed_apis.rst b/docs/api/offered_consumed_apis.rst
index 6f8b7fcb89..0cf7e0f341 100644
--- a/docs/api/offered_consumed_apis.rst
+++ b/docs/api/offered_consumed_apis.rst
@@ -5,11 +5,20 @@
SO Offered and Consumed APIs
=====================================
-SO APIs
---------
-All the Service Orchestrator APIs, both inward and outward are documented in the below link of onap wiki.
-
-.. toctree::
- :maxdepth: 1
-
- SO_Interface.rst
+The list of APIs that SO offerers could be find in the following table:
+
+.. |yml-icon| image:: swagger/images/yaml.png
+ :width: 40px
+
+.. |swagger-icon| image:: swagger/images/swagger.png
+ :width: 40px
+
+.. |html-icon| image:: swagger/images/html.png
+ :width: 40px
+
+.. csv-table::
+ :header: "|Swagger-icon|", "|html-icon|", "|yml-icon|"
+ :widths: 60,60,60
+
+ "swagger json file", "html doc", "yaml doc"
+ ":download:`link <swagger/swagger.json>`", ":download:`link <swagger/swagger.html>`", ":download:`link <swagger/swagger.yaml>`"