summaryrefslogtreecommitdiffstats
path: root/docs/offeredapis.rst
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2023-04-06 11:22:37 +0100
committerlapentafd <francesco.lapenta@est.tech>2023-04-06 14:09:29 +0100
commitfa9ddbfc8ae98ac96b69847c42302e4a384c63f6 (patch)
treebb9a8b24ec9c7fdc2097aff728fcc805416e2497 /docs/offeredapis.rst
parent104926d3e3dd1ec55426f398a9442fb5394b1a90 (diff)
Update ACM rest api page
Unused file cleanup. Updated docs/clamp/acm/api-protocol/acm-rest-apis.rst Issue-ID: POLICY-4603 Change-Id: Ie8dd6989139f09b69f95bb42604b1ca8aa596d3c Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'docs/offeredapis.rst')
-rw-r--r--docs/offeredapis.rst21
1 files changed, 13 insertions, 8 deletions
diff --git a/docs/offeredapis.rst b/docs/offeredapis.rst
index fb265d45..a9e34cc2 100644
--- a/docs/offeredapis.rst
+++ b/docs/offeredapis.rst
@@ -26,9 +26,9 @@ The following environment file from postman can be used for testing API's. All y
:download:`Postman Environment <PolicyAPI.postman_environment.json>`
.. note::
- If you are testing on a Docker Installation use *http* as **protocol**, *localhost* as **IP**,
+ If you are testing on a Docker Installation use *http* as **protocol**, *localhost* as **IP**,
and the values set in the `export-ports.sh <https://raw.githubusercontent.com/onap/policy-docker/master/compose/export-ports.sh>`_ as **PORT**.
- More information in: :ref:`Docker Installation <docker-label>`
+ More information in: :ref:`Docker Installation <docker-label>`
Postman Collection for API Testing
----------------------------------
@@ -47,24 +47,29 @@ the original "Swagger Specification," is being widely used in API developments.
OAS 3.0 is used to describe the API contracts, and those documents are added as a source artifacts.
-`Swagger Specification for Policy API <https://github.com/onap/policy-api/blob/master/main/src/main/resources/openapi/openapi.yaml>`_
+`Swagger Specification for Policy API <./api/local-swagger.html>`_
-`Swagger Specification for Policy PAP <https://github.com/onap/policy-pap/blob/master/main/src/main/resources/openapi/openapi.yaml>`_
+`Swagger Specification for Policy PAP <./pap/local-swagger.html>`_
-`Swagger Specification for Policy XACML-PDP <https://github.com/onap/policy-xacml-pdp/blob/master/main/src/main/resources/openapi/openapi.yaml>`_
+`Swagger Specification for Policy XACML-PDP <./xacml/local-swagger.html>`_
-`Swagger Specification for Policy ACM-R <https://github.com/onap/policy-clamp/blob/master/runtime-acm/src/main/resources/openapi/openapi.yaml>`_
+`Swagger Specification for Policy ACM-R <./clamp/acm/api-protocol/local-swagger.html>`_
`Swagger Specification for Policy DROOLS-PDP <https://github.com/onap/policy-drools-pdp/blob/master/feature-healthcheck/src/main/resources/openapi/openapi.yaml>`_
-The YAML document can be imported in an web editor such as `Editor Swagger <https://editor.swagger.io/>`_
+The YAML document can be also downloaded and imported in an web editor such as `Editor Swagger <https://editor.swagger.io/>`_
An "OpenApi first" approach is adopted, so starting from the Swagger document we auto-generate interfaces that are implemented in the API controllers.
.. note::
The Swagger document can still be extracted from the code in the API that uses *Spring-Doc* dependency at the endpoint "../v3/api-docs/"
For Example ACM-Runtime endpoint
-
+
+ ``http://<IP>:<PORT>/onap/policy/clamp/acm/v3/api-docs``
+
+ The Swagger document can still be extracted from the code in the API that uses *Spring-Doc* dependency at the endpoint "../v3/api-docs/"
+ For Example ACM-Runtime endpoint
+
``http://<IP>:<PORT>/onap/policy/clamp/acm/v3/api-docs``