From: Saryu Shah Date: Fri, 19 Oct 2018 23:58:21 +0000 (+0000) Subject: Updated policy documentation - vFW X-Git-Tag: 1.3.1~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=commitdiff_plain;h=4783328ad799c57f0701321b8d36825b15981828 Updated policy documentation - vFW Updated policy documentation - vFW ------------------------------------------------------------- Change-Id: I65a1fa707f6443d3c947b80c2328ba43c0756aa2 Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah --- diff --git a/docs/platform/Tut_vFW_aai_get.JPG b/docs/platform/Tut_vFW_aai_get.JPG index 3fa0e0353..1b00d60b5 100755 Binary files a/docs/platform/Tut_vFW_aai_get.JPG and b/docs/platform/Tut_vFW_aai_get.JPG differ diff --git a/docs/platform/Tut_vFW_aai_named_query_request.JPG b/docs/platform/Tut_vFW_aai_named_query_request.JPG index a07e7b056..c7f86f93f 100755 Binary files a/docs/platform/Tut_vFW_aai_named_query_request.JPG and b/docs/platform/Tut_vFW_aai_named_query_request.JPG differ diff --git a/docs/platform/Tut_vFW_aai_named_query_response.JPG b/docs/platform/Tut_vFW_aai_named_query_response.JPG index d6116292b..b3a9fa94d 100755 Binary files a/docs/platform/Tut_vFW_aai_named_query_response.JPG and b/docs/platform/Tut_vFW_aai_named_query_response.JPG differ diff --git a/docs/platform/Tut_vFW_appc_request.JPG b/docs/platform/Tut_vFW_appc_request.JPG index 2215e6694..737719f79 100755 Binary files a/docs/platform/Tut_vFW_appc_request.JPG and b/docs/platform/Tut_vFW_appc_request.JPG differ diff --git a/docs/platform/Tut_vFW_final_memory.JPG b/docs/platform/Tut_vFW_final_memory.JPG index 2f9661e47..f68aac796 100755 Binary files a/docs/platform/Tut_vFW_final_memory.JPG and b/docs/platform/Tut_vFW_final_memory.JPG differ diff --git a/docs/platform/Tut_vFW_get_facts.JPG b/docs/platform/Tut_vFW_get_facts.JPG index 2b9198efb..276372574 100755 Binary files a/docs/platform/Tut_vFW_get_facts.JPG and b/docs/platform/Tut_vFW_get_facts.JPG differ diff --git a/docs/platform/Tut_vFW_get_facts_2.JPG b/docs/platform/Tut_vFW_get_facts_2.JPG index 3344c80e0..4bf8e9f3d 100755 Binary files a/docs/platform/Tut_vFW_get_facts_2.JPG and b/docs/platform/Tut_vFW_get_facts_2.JPG differ diff --git a/docs/platform/Tut_vFW_insert_appc_response.JPG b/docs/platform/Tut_vFW_insert_appc_response.JPG index 5e2edf949..d631603c2 100755 Binary files a/docs/platform/Tut_vFW_insert_appc_response.JPG and b/docs/platform/Tut_vFW_insert_appc_response.JPG differ diff --git a/docs/platform/Tut_vFW_onset_injected.JPG b/docs/platform/Tut_vFW_onset_injected.JPG index 0852ff8a8..ebff2e363 100755 Binary files a/docs/platform/Tut_vFW_onset_injected.JPG and b/docs/platform/Tut_vFW_onset_injected.JPG differ diff --git a/docs/platform/Tut_vFW_policy_active.JPG b/docs/platform/Tut_vFW_policy_active.JPG index 3eb856831..d3530a74f 100755 Binary files a/docs/platform/Tut_vFW_policy_active.JPG and b/docs/platform/Tut_vFW_policy_active.JPG differ diff --git a/docs/platform/Tut_vFW_policy_final_success.JPG b/docs/platform/Tut_vFW_policy_final_success.JPG index 1fa4a0c2d..bdb7858b8 100755 Binary files a/docs/platform/Tut_vFW_policy_final_success.JPG and b/docs/platform/Tut_vFW_policy_final_success.JPG differ diff --git a/docs/platform/Tut_vFW_policy_guard_result.JPG b/docs/platform/Tut_vFW_policy_guard_result.JPG index 03bcbe7ce..89a2f4f8e 100755 Binary files a/docs/platform/Tut_vFW_policy_guard_result.JPG and b/docs/platform/Tut_vFW_policy_guard_result.JPG differ diff --git a/docs/platform/Tut_vFW_policy_guard_start.JPG b/docs/platform/Tut_vFW_policy_guard_start.JPG index dc8dea915..1aa5490a0 100755 Binary files a/docs/platform/Tut_vFW_policy_guard_start.JPG and b/docs/platform/Tut_vFW_policy_guard_start.JPG differ diff --git a/docs/platform/Tut_vFW_policy_operation_start.JPG b/docs/platform/Tut_vFW_policy_operation_start.JPG index ce452cbd8..0203c93a1 100755 Binary files a/docs/platform/Tut_vFW_policy_operation_start.JPG and b/docs/platform/Tut_vFW_policy_operation_start.JPG differ diff --git a/docs/platform/Tut_vFW_policy_operation_success.JPG b/docs/platform/Tut_vFW_policy_operation_success.JPG index 1ada6e935..8e4b8e186 100755 Binary files a/docs/platform/Tut_vFW_policy_operation_success.JPG and b/docs/platform/Tut_vFW_policy_operation_success.JPG differ diff --git a/docs/platform/Tut_vFW_policy_start.JPG b/docs/platform/Tut_vFW_policy_start.JPG index a33a24cd0..91be90e68 100755 Binary files a/docs/platform/Tut_vFW_policy_start.JPG and b/docs/platform/Tut_vFW_policy_start.JPG differ diff --git a/docs/platform/Tut_vFW_simulated_appc_response.JPG b/docs/platform/Tut_vFW_simulated_appc_response.JPG index c1d022c31..8ceb89cfc 100755 Binary files a/docs/platform/Tut_vFW_simulated_appc_response.JPG and b/docs/platform/Tut_vFW_simulated_appc_response.JPG differ diff --git a/docs/platform/Tut_vFW_simulated_onset.JPG b/docs/platform/Tut_vFW_simulated_onset.JPG index 65ccafafd..b6d40113f 100755 Binary files a/docs/platform/Tut_vFW_simulated_onset.JPG and b/docs/platform/Tut_vFW_simulated_onset.JPG differ diff --git a/docs/platform/Tut_vFW_simulators_enabled.JPG b/docs/platform/Tut_vFW_simulators_enabled.JPG index f350e2c25..8cd9902df 100755 Binary files a/docs/platform/Tut_vFW_simulators_enabled.JPG and b/docs/platform/Tut_vFW_simulators_enabled.JPG differ diff --git a/docs/platform/tutorial_vFW.rst b/docs/platform/tutorial_vFW.rst index 4b402d017..72288f339 100644 --- a/docs/platform/tutorial_vFW.rst +++ b/docs/platform/tutorial_vFW.rst @@ -32,7 +32,7 @@ The telemetry API is used to see what is in memory. There should only be 1 fact, .. code-block:: bash - curl --silent --user @1b3rt:31nst31n -X GET http://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam | python -m json.tool .. image:: Tut_vFW_get_facts.JPG @@ -46,7 +46,7 @@ Inject the onset using the Telemetry API. .. code-block:: bash - curl --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vfw.onset.json -X PUT http://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vfw.onset.json -X PUT https://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool .. image:: Tut_vFW_onset_injected.JPG @@ -76,8 +76,12 @@ Once the target entity is found, the PDP-D consults Guard to determine if this o .. image:: Tut_vFW_policy_guard_start.JPG +| + .. image:: Tut_vFW_policy_guard_result.JPG +| + .. image:: Tut_vFW_policy_operation_start.JPG Once the operation starts an APPC request is sent out. @@ -92,7 +96,7 @@ Inject the response using the Telemetry API. .. code-block:: bash - curl --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @appc.legacy.success.json -X PUT http://localhost:9696/policy/pdp/engine/topics/sources/ueb/APPC-CL/events | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @appc.legacy.success.json -X PUT https://localhost:9696/policy/pdp/engine/topics/sources/ueb/APPC-CL/events | python -m json.tool .. image:: Tut_vFW_insert_appc_response.JPG