summaryrefslogtreecommitdiffstats
path: root/examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc
diff options
context:
space:
mode:
authoraditya.puthuparambil <aditya.puthuparambil@est.tech>2020-03-19 10:52:46 +0000
committerAditya Puthuparambil <aditya.puthuparambil@est.tech>2020-03-19 12:06:50 +0000
commit8c69f0434102b0328ae4754783a01c36f7e35c97 (patch)
treed11ea0e4d806ad03080cb28c2bed6bd6232bcebe /examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc
parent690495d32c6033741d7a7c2413476f7ba88e2825 (diff)
Apex-pdp tutorial documentation changes
Issue-ID: POLICY-2424 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I92491c904b65a0db93c9e6eaba676c653c276175
Diffstat (limited to 'examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc')
-rw-r--r--examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc b/examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc
index 7cbc83cc1..a93940d85 100644
--- a/examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc
+++ b/examples/examples-myfirstpolicy/src/site-docs/adoc/fragments/034-s1-test-policy.adoc
@@ -1,10 +1,11 @@
//
// ============LICENSE_START=======================================================
// Copyright (C) 2016-2018 Ericsson. All rights reserved.
+// Modifications Copyright (C) 2020 Nordix Foundation.
// ================================================================================
// 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
-//
+//
// SPDX-License-Identifier: CC-BY-4.0
// ============LICENSE_END=========================================================
//
@@ -20,7 +21,7 @@ This configuration expects incoming events to be in `JSON` format and to be pass
.JSON to load and execute _My First Policy_, read input JSON events from `stdin`, and emit output events to `stdout`
[source,json,options="nowrap"]
----
-include::{adsite-examples-myfirstpolicy-dir}/main/resources/org/onap/policy/apex/examples/myfirstpolicy/1/config/MyFirstPolicyConfigStdin2StdoutJsonEvent.json[configuration file]
+include::{adsite-examples-myfirstpolicy-dir}/main/resources/examples/config/myfirstpolicy/1/MyFirstPolicyConfigStdin2StdoutJsonEvent.json[configuration file]
----
To test the policy try paste the following events into the console as the APEX engine executes: