Document removal of xacml-pdp API limitation 68/124568/2
authorliamfallon <liam.fallon@est.tech>
Wed, 29 Sep 2021 12:44:34 +0000 (13:44 +0100)
committerliamfallon <liam.fallon@est.tech>
Thu, 30 Sep 2021 12:15:44 +0000 (13:15 +0100)
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 <liam.fallon@est.tech>
docs/xacml/decision-api.rst

index 7d068c1..8f6a993 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"