aboutsummaryrefslogtreecommitdiffstats
path: root/docs/consumedapis.rst
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-01-20 15:08:39 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-01-20 15:11:41 +0800
commit7cec085b66fe866444c9d043cbaf958bc5029602 (patch)
tree7e6447498c7ccfb9f8dc34c44a72f9ce5a953496 /docs/consumedapis.rst
parent2479a0739895b15a13a07aa8260598483249c621 (diff)
update document
Issue-ID: MODELING-292 Change-Id: I3a6568d84fb6c04dd9bf0ee6bfe26f722ea463ed Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'docs/consumedapis.rst')
-rw-r--r--docs/consumedapis.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/consumedapis.rst b/docs/consumedapis.rst
new file mode 100644
index 0000000..2efd1d6
--- /dev/null
+++ b/docs/consumedapis.rst
@@ -0,0 +1,48 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+=============
+Consumed APIs
+=============
+
+SDC
+---
+Etsicatalog invokes SDC APIs to query/fetch package from SDC catalog.
+
+.. list-table::
+ :widths: 50 10 40
+ :header-rows: 1
+
+ * - URL
+ - Method
+ - Description
+ * - /api/sdc/v1/catalog/services/
+ - GET
+ - Get service list
+ * - /api/sdc/v1/catalog/services/{{csarId}}/metadata
+ - GET
+ - Get a service metadata
+ * - /api/sdc/v1/catalog/resources
+ - GET
+ - Get resource list
+ * - /api/sdc/v1/catalog/resources/{{csarId}}/metadata
+ - GET
+ - Get a resource metadata
+ * - /api/sdc/v1/catalog/services/{{csarId}}/toscaModel
+ - GET
+ - Download a service package
+
+Micro Service Bus
+-----------------
+Etsicatalog invokes Micro Service Bus APIs to register service to MSB.
+
+.. list-table::
+ :widths: 50 10 40
+ :header-rows: 1
+
+ * - URL
+ - Method
+ - Description
+ * - /api/microservices/v1/services
+ - POST
+ - Register service to the Microservice Bus \ No newline at end of file