Update Policy Offered APIs
[policy/parent.git] / docs / xacml / decision-api.rst
index e475e1d..caf81b7 100644 (file)
@@ -9,6 +9,10 @@ The Decision API is used by ONAP components that enforce policies and need a dec
 specific situation. The Decision API mimics closely the XACML request standard in that it supports a subject, action
 and resource.
 
+When the PAP activates an xacml-pdp, the decision API becomes available. Conversely, when the PAP deactivates an xacml-pdp, the
+decision API is disabled. The decision API is enabled/disabled by the PDP-STATE-CHANGE messages from PAP. If a request is made
+to the decision API while it is deactivated, a "404 - Not Found" error will be returned.
+
 .. csv-table::
    :header: "Field", "Required", "XACML equivalent", "Description"
 
@@ -41,7 +45,11 @@ x-patchversion is used only to communicate a PATCH version in a response for tro
 
 x-onap-requestid is used to track REST transactions for logging purpose, as described above.
 
-.. swaggerv2doc:: swagger.json
+.. csv-table::
+   :header: "Swagger"
+   :widths: 10
+
+   `Decision API Swagger <./local-swagger.html>`_
 
 
 End of Document