From: liamfallon Date: Wed, 29 Sep 2021 12:44:34 +0000 (+0100) Subject: Document removal of xacml-pdp API limitation X-Git-Tag: 3.4.3~8^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a91dcf96aa5e1deabb9273400a34cc543937eec3;p=policy%2Fparent.git Document removal of xacml-pdp API limitation In the Honolulu Maintenance release the decision API is always running In Istanbul the: REST server is always running (i.e., the port is always responsive), but the decision API is enabled/disabled by PDP-STATE-CHANGE messages from PAP. Jim Hahn asked me to document this. Issue-ID: POLICY-3556 Change-Id: I6eee0b2f3d1e03b09dda7e14e3fa528826dc0d2b Signed-off-by: liamfallon --- diff --git a/docs/xacml/decision-api.rst b/docs/xacml/decision-api.rst index 7d068c1e..8f6a9933 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"