summaryrefslogtreecommitdiffstats
path: root/docs/drools/runningEclipse.rst
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-04-02 16:56:51 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-02 16:56:51 +0000
commitfb6bde9b77223424ecd6377c83d9de2e487a55d9 (patch)
treebbb9ef99f20f80f045c5e0abd0a273fa8290b037 /docs/drools/runningEclipse.rst
parentdb60fd2ba97fc9c8135439b31f785a6d6c7dfcae (diff)
parent32da597e59acbc9f59941cf78cea2b85cf1e5cd2 (diff)
Merge "Update drools tutorials documentation"
Diffstat (limited to 'docs/drools/runningEclipse.rst')
-rw-r--r--docs/drools/runningEclipse.rst15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/drools/runningEclipse.rst b/docs/drools/runningEclipse.rst
index 136efe73..5123a540 100644
--- a/docs/drools/runningEclipse.rst
+++ b/docs/drools/runningEclipse.rst
@@ -3,7 +3,7 @@
.. http://creativecommons.org/licenses/by/4.0
************************
-Running PDP-D in Eclipse
+Running PDP-D in Eclipse
************************
.. contents::
@@ -12,10 +12,11 @@ Running PDP-D in Eclipse
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 Amsterdam release, the project directory will look as follows assuming all drools-pdp projects were selected when importing.
+^^^^^^^^^^^^^^^^^^
- .. image:: RunEcl_drools_pdp_project.png
+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"
@@ -32,11 +33,11 @@ The PDP-D will start running; the console will display output.
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.
+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 @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/ | python -m json.tool
+ curl -k --silent --user <username>:<password> -X GET https://localhost:9696/policy/pdp/engine/ | python -m json.tool
.. image:: RunEcl_telemetry.png
@@ -47,6 +48,8 @@ An HTTP 200 message for the GET request will also appear in the console in Eclip
.. 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