aboutsummaryrefslogtreecommitdiffstats
path: root/docs/drools/runningEclipse.rst
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-06-16 12:53:10 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-06-16 12:53:33 -0500
commite8360a921116de9cc9454fc8c31f651fb78596f8 (patch)
treeba9576e945b7742543110ff382e99018754184ce /docs/drools/runningEclipse.rst
parentedafab64a147f40709c8bea579b98b43ac611eb6 (diff)
drools documentation redo
Issue-ID: POLICY-2622 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8f35569656cd5b14e06848356214ec78b427e7a1
Diffstat (limited to 'docs/drools/runningEclipse.rst')
-rw-r--r--docs/drools/runningEclipse.rst59
1 files changed, 0 insertions, 59 deletions
diff --git a/docs/drools/runningEclipse.rst b/docs/drools/runningEclipse.rst
deleted file mode 100644
index 5123a540..00000000
--- a/docs/drools/runningEclipse.rst
+++ /dev/null
@@ -1,59 +0,0 @@
-
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-
-************************
-Running PDP-D in Eclipse
-************************
-
-.. contents::
- :depth: 3
-
-This tutorial is intended for developers who would like to run the PDP-D in an Eclipse environment. It is assumed that the drools-pdp git project has been imported in an Eclipse workspace.
-
-Starting the PDP-D
-^^^^^^^^^^^^^^^^^^
-
-For the Frankfurt release, the project directory will look as follows assuming all drools-pdp projects were selected when importing.
-
- .. image:: img/frankfurt_project_explorer2.png
-
-Right click on policy-management hover over "Run As" and select "Java Application"
-
- .. image:: RunEcl_run_as.png
-
-Search for "Main" in the pop up and select the Main with the package "org.onap.policy.drools.system" and click "OK".
-
- .. image:: RunEcl_main.png
-
-The PDP-D will start running; the console will display output.
-
- .. image:: RunEcl_console_output.png
-
-Interacting with the PDP-D
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-To interact with the PDP-D, the Telemetry API can be used. A simple GET on the engine will show that the PDP-D is running in Eclipse. Ensure you are using the correct username and password specified for your setup.
-
- .. code-block:: bash
-
- curl -k --silent --user <username>:<password> -X GET https://localhost:9696/policy/pdp/engine/ | python -m json.tool
-
- .. image:: RunEcl_telemetry.png
-
-An HTTP 200 message for the GET request will also appear in the console in Eclipse.
-
- .. image:: RunEcl_pdpd_200.png
-
-
-.. seealso:: To create a controller and run a control loop, refer to `Modifying the Release Template <modAmsterTemplate.html>`_.
-
-.. seealso:: To use other telemetry commands to interact with the PDP-D, refer to `Getting Information <clsimulation.html#getting-information>`_.
-
-
-End of Document
-
-
-.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Running+PDP-D+in+Eclipse
-
-