Documentation - wild card suffixes for PDP supported policy types 19/98819/1
authorSaryu Shah <ss3917@att.com>
Mon, 25 Nov 2019 18:08:00 +0000 (18:08 +0000)
committerSaryu Shah <ss3917@att.com>
Mon, 25 Nov 2019 18:08:00 +0000 (18:08 +0000)
Updated documentation to include wilcard suffixes for PDP supported policy types

Issue-ID: POLICY-2247

Signed-off-by: Saryu Shah <ss3917@att.com>
Change-Id: Ibbd030d569616b1e7a5b3f1ca0deb3ecf642aea3

docs/apex/APEX-OnapPf-Guide.rst
docs/design/design.rst
docs/pap/response/group-query-pap-resp.json

index 2429185..5e75f32 100644 (file)
@@ -369,45 +369,49 @@ Format of the configuration file (OnapPfConfig.json) explained
 
          .. container:: colist arabic
 
 
          .. container:: colist arabic
 
-            +-----------------------------------+-----------------------------------+
-            | **1**                             | parameters for setting up the     |
-            |                                   | rest server such as host, port    |
-            |                                   | userName and password.            |
-            +-----------------------------------+-----------------------------------+
-            | **2**                             | https flag if enabled will enable |
-            |                                   | https support by the rest server. |
-            +-----------------------------------+-----------------------------------+
-            | **3**                             | time interval in which PDP-A      |
-            |                                   | has to send heartbeats to PAP.    |
-            |                                   | Specified in milliseconds.        |
-            +-----------------------------------+-----------------------------------+
-            | **4**                             | Type of the pdp.                  |
-            +-----------------------------------+-----------------------------------+
-            | **5**                             | List of policy types supported by |
-            |                                   | the PDP.                          |
-            +-----------------------------------+-----------------------------------+
-            | **6**                             | List of topics' details from      |
-            |                                   | which messages are received.      |
-            +-----------------------------------+-----------------------------------+
-            | **7**                             | Topic name of the source to which |
-            |                                   | PDP-A listens to for messages     |
-            |                                   | from PAP.                         |
-            +-----------------------------------+-----------------------------------+
-            | **8**                             | List of servers for the source    |
-            |                                   | topic.                            |
-            +-----------------------------------+-----------------------------------+
-            | **9**                             | The source topic infrastructure.  |
-            |                                   | For e.g. dmaap, noop, ueb         |
-            +-----------------------------------+-----------------------------------+
-            | **10**                            | List of topics' details to which  |
-            |                                   | messages are sent.                |
-            +-----------------------------------+-----------------------------------+
-            | **11**                            | Topic name of the sink to which   |
-            |                                   | PDP-A sends messages.             |
-            +-----------------------------------+-----------------------------------+
-            | **12**                            | List of servers for the sink      |
-            |                                   | topic.                            |
-            +-----------------------------------+-----------------------------------+
-            | **13**                            | The sink topic infrastructure.    |
-            |                                   | For e.g. dmaap, noop, ueb         |
-            +-----------------------------------+-----------------------------------+
+            +-----------------------------------+-------------------------------------------------+
+            | **1**                             | parameters for setting up the                   |
+            |                                   | rest server such as host, port                  |
+            |                                   | userName and password.                          |
+            +-----------------------------------+-------------------------------------------------+
+            | **2**                             | https flag if enabled will enable               |
+            |                                   | https support by the rest server.               |
+            +-----------------------------------+-------------------------------------------------+
+            | **3**                             | time interval in which PDP-A                    |
+            |                                   | has to send heartbeats to PAP.                  |
+            |                                   | Specified in milliseconds.                      |
+            +-----------------------------------+-------------------------------------------------+
+            | **4**                             | Type of the pdp.                                |
+            +-----------------------------------+-------------------------------------------------+
+            | **5**                             | List of policy types supported by               |
+            |                                   | the PDP. A trailing “.*” can be used to         |
+            |                                   | specify multiple policy types; for example,     |
+            |                                   | “onap.policies.controlloop.operational.apex.*”  |
+            |                                   | would match any policy type beginning with      |
+            |                                   | “onap.policies.controlloop.operational.apex.”   |
+            +-----------------------------------+-------------------------------------------------+
+            | **6**                             | List of topics' details from                    |
+            |                                   | which messages are received.                    |
+            +-----------------------------------+-------------------------------------------------+
+            | **7**                             | Topic name of the source to which               |
+            |                                   | PDP-A listens to for messages                   |
+            |                                   | from PAP.                                       |
+            +-----------------------------------+-------------------------------------------------+
+            | **8**                             | List of servers for the source                  |
+            |                                   | topic.                                          |
+            +-----------------------------------+-------------------------------------------------+
+            | **9**                             | The source topic infrastructure.                |
+            |                                   | For e.g. dmaap, noop, ueb                       |
+            +-----------------------------------+-------------------------------------------------+
+            | **10**                            | List of topics' details to which                |
+            |                                   | messages are sent.                              |
+            +-----------------------------------+-------------------------------------------------+
+            | **11**                            | Topic name of the sink to which                 |
+            |                                   | PDP-A sends messages.                           |
+            +-----------------------------------+-------------------------------------------------+
+            | **12**                            | List of servers for the sink                    |
+            |                                   | topic.                                          |
+            +-----------------------------------+-------------------------------------------------+
+            | **13**                            | The sink topic infrastructure.                  |
+            |                                   | For e.g. dmaap, noop, ueb                       |
+            +-----------------------------------+-------------------------------------------------+
index da0c3dc..84beb9e 100644 (file)
@@ -396,7 +396,10 @@ pdp_subgroups                R       M        N/A        A list of PDP subgroups
 ->pdp_type                   R       M        N/A        The PDP type of this PDP subgroup, currently xacml, drools, or
                                                          apex
 ->supported_policy_types     R       N/A      N/A        A list of the policy types supported by the PDPs in this PDP
 ->pdp_type                   R       M        N/A        The PDP type of this PDP subgroup, currently xacml, drools, or
                                                          apex
 ->supported_policy_types     R       N/A      N/A        A list of the policy types supported by the PDPs in this PDP
-                                                         subgroup
+                                                         subgroup.  A trailing “.*” can be used to specify multiple 
+                                                         policy types; for example, “onap.policies.monitoring.*” 
+                                                         would match any policy type beginning with 
+                                                         “onap.policies.monitoring.”
 ->policies                   R       M        N/A        The list of policies running on the PDPs in this PDP subgroup
 ->->(name)                   R       M        N/A        The name of a TOSCA policy running in this PDP subgroup
 ->->policy_type              R       N/A      N/A        The TOSCA policy type of the policy
 ->policies                   R       M        N/A        The list of policies running on the PDPs in this PDP subgroup
 ->->(name)                   R       M        N/A        The name of a TOSCA policy running in this PDP subgroup
 ->->policy_type              R       N/A      N/A        The TOSCA policy type of the policy
@@ -861,7 +864,7 @@ services          O       List of String   One or more services the policy appli
 resources         O       List of String   The unique ID for the Control Loop
 geography         O       List of String   The target VNF the actor is executing the recipe on
 
 resources         O       List of String   The unique ID for the Control Loop
 geography         O       List of String   The target VNF the actor is executing the recipe on
 
-================= ======= ======== ==================================================================
+================= ======= ============== ==================================================================
 
 This example below shows the JSON body of an Optimize Decision API call.
 
 
 This example below shows the JSON body of an Optimize Decision API call.
 
index eb8b1db..cbdf508 100644 (file)
                             "version": "1.0.0"
                         },
                         {
                             "version": "1.0.0"
                         },
                         {
-                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
-                            "version": "1.0.0"
-                        },
-                        {
-                            "name": "onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server",
-                            "version": "1.0.0"
-                        },
-                        {
-                            "name": "onap.policies.monitoring.docker.sonhandler.app",
+                            "name": "onap.policies.monitoring.*",
                             "version": "1.0.0"
                         },
                         {
                             "version": "1.0.0"
                         },
                         {