aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/tutorial-enforcement/README.md
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-10-26 09:59:09 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-10-27 11:49:04 -0400
commitf0bd7f421948415b1c2f05cb39674f57f72218e0 (patch)
treebc63b71ad9a58f378072f98b50e4bce7d59c9a1f /tutorials/tutorial-enforcement/README.md
parent90b2d30c2546c1e79bb716fb97e479c076999693 (diff)
Submit Policy Tutorials
So app developers can more easily download and test client code etc. Issue-ID: POLICY-2876 Change-Id: I360cd0d637150cd0c2353c6284803f4438e96556 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'tutorials/tutorial-enforcement/README.md')
-rw-r--r--tutorials/tutorial-enforcement/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/tutorials/tutorial-enforcement/README.md b/tutorials/tutorial-enforcement/README.md
new file mode 100644
index 00000000..23321fd2
--- /dev/null
+++ b/tutorials/tutorial-enforcement/README.md
@@ -0,0 +1,20 @@
+Copyright 2020 AT&T Intellectual Property. All rights reserved.
+This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
+Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
+
+The Policy Enforcement Tutorial can be built:
+
+mvn clean install
+
+Be sure to start the Policy Framework application components if you are not testing this in a lab. See
+src/main/docker/README.txt for details to run local instances of the components.
+
+You can run the application via code by running the App.main method with command line argument with IP then Port
+of the XACML PDP, followed by the IP then Port of Dmaap.
+
+App.main(new String[] {"0.0.0.0", "6969", "0.0.0.0", "3904"});
+
+or from Eclipse by right-clicking App.java and selecting "Run As" and select "Java Application". Edit the
+configuration by adding these command line arguments: "0.0.0.0" "6969" "0.0.0.0" "3904"
+
+Quit the application by typing 'q' into stdin.