summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaryu Shah <ss3917@att.com>2018-10-19 23:58:21 +0000
committerSaryu Shah <ss3917@att.com>2018-10-19 23:58:21 +0000
commit4783328ad799c57f0701321b8d36825b15981828 (patch)
tree856f6b1de56421a640f721e0bb0e14673a9b76d5
parent4a9687b40559e59d8d65b5181b28dc49804cf33d (diff)
Updated policy documentation - vFW
Updated policy documentation - vFW ------------------------------------------------------------- Change-Id: I65a1fa707f6443d3c947b80c2328ba43c0756aa2 Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah <ss3917@att.com>
-rwxr-xr-xdocs/platform/Tut_vFW_aai_get.JPGbin189259 -> 236040 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_aai_named_query_request.JPGbin49838 -> 37155 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_aai_named_query_response.JPGbin159269 -> 120139 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_appc_request.JPGbin77207 -> 64608 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_final_memory.JPGbin28333 -> 22558 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_get_facts.JPGbin27806 -> 23109 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_get_facts_2.JPGbin57808 -> 49524 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_insert_appc_response.JPGbin72401 -> 80927 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_onset_injected.JPGbin61028 -> 71215 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_active.JPGbin71657 -> 69632 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_final_success.JPGbin92351 -> 91758 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_guard_result.JPGbin74536 -> 72263 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_guard_start.JPGbin76845 -> 65518 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_operation_start.JPGbin83521 -> 84268 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_operation_success.JPGbin111772 -> 114571 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_policy_start.JPGbin16784 -> 12438 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_simulated_appc_response.JPGbin52482 -> 59739 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_simulated_onset.JPGbin38999 -> 38781 bytes
-rwxr-xr-xdocs/platform/Tut_vFW_simulators_enabled.JPGbin34420 -> 23142 bytes
-rw-r--r--docs/platform/tutorial_vFW.rst10
20 files changed, 7 insertions, 3 deletions
diff --git a/docs/platform/Tut_vFW_aai_get.JPG b/docs/platform/Tut_vFW_aai_get.JPG
index 3fa0e0353..1b00d60b5 100755
--- a/docs/platform/Tut_vFW_aai_get.JPG
+++ b/docs/platform/Tut_vFW_aai_get.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_aai_named_query_request.JPG
+++ b/docs/platform/Tut_vFW_aai_named_query_request.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_aai_named_query_response.JPG
+++ b/docs/platform/Tut_vFW_aai_named_query_response.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_appc_request.JPG b/docs/platform/Tut_vFW_appc_request.JPG
index 2215e6694..737719f79 100755
--- a/docs/platform/Tut_vFW_appc_request.JPG
+++ b/docs/platform/Tut_vFW_appc_request.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_final_memory.JPG b/docs/platform/Tut_vFW_final_memory.JPG
index 2f9661e47..f68aac796 100755
--- a/docs/platform/Tut_vFW_final_memory.JPG
+++ b/docs/platform/Tut_vFW_final_memory.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_get_facts.JPG b/docs/platform/Tut_vFW_get_facts.JPG
index 2b9198efb..276372574 100755
--- a/docs/platform/Tut_vFW_get_facts.JPG
+++ b/docs/platform/Tut_vFW_get_facts.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_get_facts_2.JPG
+++ b/docs/platform/Tut_vFW_get_facts_2.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_insert_appc_response.JPG
+++ b/docs/platform/Tut_vFW_insert_appc_response.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_onset_injected.JPG b/docs/platform/Tut_vFW_onset_injected.JPG
index 0852ff8a8..ebff2e363 100755
--- a/docs/platform/Tut_vFW_onset_injected.JPG
+++ b/docs/platform/Tut_vFW_onset_injected.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_policy_active.JPG b/docs/platform/Tut_vFW_policy_active.JPG
index 3eb856831..d3530a74f 100755
--- a/docs/platform/Tut_vFW_policy_active.JPG
+++ b/docs/platform/Tut_vFW_policy_active.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_policy_final_success.JPG
+++ b/docs/platform/Tut_vFW_policy_final_success.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_policy_guard_result.JPG
+++ b/docs/platform/Tut_vFW_policy_guard_result.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_policy_guard_start.JPG
+++ b/docs/platform/Tut_vFW_policy_guard_start.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_policy_operation_start.JPG
+++ b/docs/platform/Tut_vFW_policy_operation_start.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_policy_operation_success.JPG
+++ b/docs/platform/Tut_vFW_policy_operation_success.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_policy_start.JPG b/docs/platform/Tut_vFW_policy_start.JPG
index a33a24cd0..91be90e68 100755
--- a/docs/platform/Tut_vFW_policy_start.JPG
+++ b/docs/platform/Tut_vFW_policy_start.JPG
Binary files 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
--- a/docs/platform/Tut_vFW_simulated_appc_response.JPG
+++ b/docs/platform/Tut_vFW_simulated_appc_response.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_simulated_onset.JPG b/docs/platform/Tut_vFW_simulated_onset.JPG
index 65ccafafd..b6d40113f 100755
--- a/docs/platform/Tut_vFW_simulated_onset.JPG
+++ b/docs/platform/Tut_vFW_simulated_onset.JPG
Binary files differ
diff --git a/docs/platform/Tut_vFW_simulators_enabled.JPG b/docs/platform/Tut_vFW_simulators_enabled.JPG
index f350e2c25..8cd9902df 100755
--- a/docs/platform/Tut_vFW_simulators_enabled.JPG
+++ b/docs/platform/Tut_vFW_simulators_enabled.JPG
Binary files 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