From 35e46060a44f17c68cff654c5f65e3831af03847 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Fri, 19 Aug 2022 12:09:51 +0100 Subject: Add example policy for AC element microservice test Issue-ID: POLICY-4307 Change-Id: I0275bbacb3d2689f50f93eef541cd43601aab8ef Signed-off-by: FrancescoFioraEst --- examples/examples-acm/pom.xml | 115 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 examples/examples-acm/pom.xml (limited to 'examples/examples-acm/pom.xml') diff --git a/examples/examples-acm/pom.xml b/examples/examples-acm/pom.xml new file mode 100644 index 000000000..25e7307d8 --- /dev/null +++ b/examples/examples-acm/pom.xml @@ -0,0 +1,115 @@ + + + + 4.0.0 + + org.onap.policy.apex-pdp.examples + examples + 2.8.0-SNAPSHOT + + examples-acm + examples-acm + Specific code for the APEX acm Example + + APEXacElementPolicy + APEXacElementToscaPolicy + + org.onap.nodetypes.policy.MetadataSet + + + + org.onap.policy.apex-pdp.auth + cli-editor + ${project.version} + + + org.onap.policy.apex-pdp.services + services-engine + ${project.version} + + + org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema + plugins-context-schema-json + ${project.version} + + + org.onap.policy.apex-pdp.plugins.plugins-executor + plugins-executor-javascript + ${project.version} + + + org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier + plugins-event-carrier-restclient + ${project.version} + + + org.onap.policy.models.policy-models-interactions.model-impl + events + ${version.policy.models} + + + org.onap.policy.common + policy-endpoints + + + junit + junit + test + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + -Xss1m + + + + org.codehaus.mojo + exec-maven-plugin + + + + generate-tosca-policy + compile + + java + + + org.onap.policy.apex.auth.clieditor.tosca.ApexCliToscaEditorMain + compile + + --command-file=${project.basedir}/src/main/resources/policy/${policymodel.name}.apex + --output-tosca-file=${project.build.directory}/classes/${toscapolicy.name}.json + --log-file=${project.build.directory}/${policymodel.name}_policygeneration.log + --apex-config-file=${project.basedir}/src/main/resources/examples/config/apexACM/ApexConfig.json + --tosca-template-file=${project.basedir}/src/main/resources/tosca/ToscaTemplate.json + + + + + + + + -- cgit 1.2.3-korg