X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fxacml%2Fdecision-api.rst;h=caf81b7f26e77335481d4b9036d0157779a5488a;hb=a43eb545dded63e1f21b7f14105ae0ed093b54db;hp=e475e1dcac7105a5cae632df9b52e80187d7e77e;hpb=11de40286f2a91edc9755f6ea9e621006452527b;p=policy%2Fparent.git diff --git a/docs/xacml/decision-api.rst b/docs/xacml/decision-api.rst index e475e1dc..caf81b7f 100644 --- a/docs/xacml/decision-api.rst +++ b/docs/xacml/decision-api.rst @@ -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