diff options
author | ramverma <ram.krishna.verma@ericsson.com> | 2018-07-24 17:36:53 +0100 |
---|---|---|
committer | ramverma <ram.krishna.verma@ericsson.com> | 2018-07-25 11:47:15 +0100 |
commit | d524cedc578ae1bfa3bae895b3170f87463cbed9 (patch) | |
tree | 0740644e356534f770d59ff34f16e5d9ca601276 /packages/apex-pdp-package-full/pom.xml | |
parent | 41ecf036b7f1b3bdd56311a0bc706407b242faca (diff) |
Adding more examples to apex-pdp
- Adding more examples (DecisionMaker, Periodic & ONAPvCPE) to apex-pdp.
- Fixed CORS issue in plugin-event-carrier-restserver module.
Added a ContainerResponseFilter to intercept every request/response coming to
REST server and add the required headers to support CORS.
Change-Id: Ic3e36c683f2a78992ce1417d2c00233b34066f2f
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'packages/apex-pdp-package-full/pom.xml')
-rw-r--r-- | packages/apex-pdp-package-full/pom.xml | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/packages/apex-pdp-package-full/pom.xml b/packages/apex-pdp-package-full/pom.xml index a067d1fcf..65acfef4d 100644 --- a/packages/apex-pdp-package-full/pom.xml +++ b/packages/apex-pdp-package-full/pom.xml @@ -195,6 +195,21 @@ <artifactId>pcvs</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-decisionmaker</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-periodic</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-onap-vcpe</artifactId> + <version>${project.version}</version> + </dependency> </dependencies> <build> @@ -266,6 +281,33 @@ <outputDirectory>${project.build.directory}</outputDirectory> <includes>etc/**/*,examples/**/*</includes> </artifactItem> + <artifactItem> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-decisionmaker</artifactId> + <version>${project.version}</version> + <type>jar</type> + <overWrite>false</overWrite> + <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory> + <includes>/DecisionMakerPolicyModel.json</includes> + </artifactItem> + <artifactItem> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-periodic</artifactId> + <version>${project.version}</version> + <type>jar</type> + <overWrite>false</overWrite> + <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory> + <includes>/PeriodicPolicyModel.json</includes> + </artifactItem> + <artifactItem> + <groupId>org.onap.policy.apex-pdp.examples</groupId> + <artifactId>examples-onap-vcpe</artifactId> + <version>${project.version}</version> + <type>jar</type> + <overWrite>false</overWrite> + <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory> + <includes>/ONAPvCPEPolicyModel.json</includes> + </artifactItem> </artifactItems> <overWriteReleases>true</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> @@ -273,7 +315,7 @@ </execution> </executions> </plugin> - + <!-- Build the tar ball --> <plugin> <groupId>org.apache.maven.plugins</groupId> |