aboutsummaryrefslogtreecommitdiffstats
path: root/docs/consumedapis.rst
blob: 2efd1d647f1dd19800e4a30bd9e67b261dadcc8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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