diff options
author | Peyton Puckett <peyton.puckett@att.com> | 2020-03-26 18:13:29 -0500 |
---|---|---|
committer | Peyton Puckett <peyton.puckett@att.com> | 2020-04-02 08:12:02 -0500 |
commit | 32da597e59acbc9f59941cf78cea2b85cf1e5cd2 (patch) | |
tree | 369ba8e4f728251bcea1256179ac68096aca0c4f /docs/drools/runningEclipse.rst | |
parent | 332b03d0f42734fcc1acfb3e79d86a64eb018732 (diff) |
Update drools tutorials documentation
Issue-ID: POLICY-2399
Change-Id: I9756a660f80348eb69b217e6f1de6bad7a7b6f00
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
Diffstat (limited to 'docs/drools/runningEclipse.rst')
-rw-r--r-- | docs/drools/runningEclipse.rst | 15 |
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 |