SDNC Blueprints Processor - Feature 79/64579/1
authorSingal, Kapil (ks220y) <ks220y@att.com>
Wed, 5 Sep 2018 03:31:58 +0000 (23:31 -0400)
committerSingal, Kapil (ks220y) <ks220y@att.com>
Wed, 5 Sep 2018 03:31:58 +0000 (23:31 -0400)
Creating SDN Controller Blueprints Processor Feature

Change-Id: If00efe04ca22ff1c4d07f16f69cd946ea20f8f86
Issue-ID: CCSDK-519
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
blueprints-processor/features/pom.xml [new file with mode: 0644]
blueprints-processor/features/src/main/resources/features.xml [new file with mode: 0644]

diff --git a/blueprints-processor/features/pom.xml b/blueprints-processor/features/pom.xml
new file mode 100644 (file)
index 0000000..5b9ecfc
--- /dev/null
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+  Copyright © 2017-2018 AT&T Intellectual Property.\r
+  Modifications Copyright © 2018 IBM.\r
+  \r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+      http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+-->\r
+\r
+<project xmlns="http://maven.apache.org/POM/4.0.0"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
+       <modelVersion>4.0.0</modelVersion>\r
+       <parent>\r
+               <groupId>org.onap.ccsdk.config</groupId>\r
+               <artifactId>blueprints-processor</artifactId>\r
+               <version>0.0.1-SNAPSHOT</version>\r
+       </parent>\r
+\r
+       <artifactId>blueprints-processor-features</artifactId>\r
+       <packaging>jar</packaging>\r
+       <name>Blueprints Processor - Features</name>\r
+\r
+       <dependencies>\r
+               <dependency>\r
+                       <groupId>org.onap.ccsdk.config</groupId>\r
+                       <artifactId>blueprints-data-adaptor-provider</artifactId>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.onap.ccsdk.config</groupId>\r
+                       <artifactId>blueprints-rest-adaptor-provider</artifactId>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.onap.ccsdk.config</groupId>\r
+                       <artifactId>blueprints-assignment-provider</artifactId>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.onap.ccsdk.config</groupId>\r
+                       <artifactId>blueprints-generator-provider</artifactId>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.onap.ccsdk.config</groupId>\r
+                       <artifactId>blueprints-model-provider</artifactId>\r
+               </dependency>\r
+\r
+               <dependency>\r
+                       <groupId>org.opendaylight.mdsal</groupId>\r
+                       <artifactId>features-mdsal</artifactId>\r
+                       <classifier>features</classifier>\r
+                       <type>xml</type>\r
+                       <scope>runtime</scope>\r
+               </dependency>\r
+       </dependencies>\r
+\r
+       <build>\r
+               <resources>\r
+                       <resource>\r
+                               <filtering>true</filtering>\r
+                               <directory>src/main/resources</directory>\r
+                       </resource>\r
+               </resources>\r
+               <plugins>\r
+                       <plugin>\r
+                               <groupId>org.apache.maven.plugins</groupId>\r
+                               <artifactId>maven-resources-plugin</artifactId>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>filter</id>\r
+                                               <goals>\r
+                                                       <goal>resources</goal>\r
+                                               </goals>\r
+                                               <phase>generate-resources</phase>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+                       <plugin>\r
+                               <groupId>org.codehaus.mojo</groupId>\r
+                               <artifactId>build-helper-maven-plugin</artifactId>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>attach-artifacts</id>\r
+                                               <goals>\r
+                                                       <goal>attach-artifact</goal>\r
+                                               </goals>\r
+                                               <phase>package</phase>\r
+                                               <configuration>\r
+                                                       <artifacts>\r
+                                                               <artifact>\r
+                                                                       <file>${project.build.directory}/classes/${features.file}</file>\r
+                                                                       <type>xml</type>\r
+                                                                       <classifier>features</classifier>\r
+                                                               </artifact>\r
+                                                       </artifacts>\r
+                                               </configuration>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+               </plugins>\r
+       </build>\r
+</project>\r
diff --git a/blueprints-processor/features/src/main/resources/features.xml b/blueprints-processor/features/src/main/resources/features.xml
new file mode 100644 (file)
index 0000000..4375fa9
--- /dev/null
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+  Copyright © 2017-2018 AT&T Intellectual Property.\r
+  Modifications Copyright © 2018 IBM.\r
+  \r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+      http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+-->\r
+\r
+<features name="blueprints-processor-${project.version}"\r
+       xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">\r
+\r
+       <repository>mvn:org.opendaylight.mdsal/features-mdsal/${odl.mdsal.features.version}/xml/features</repository>\r
+\r
+       <feature name='blueprints-processor-dependency'\r
+               description="SDNC Controller: Blueprints Features Dependency"\r
+               version='${project.version}'>\r
+               <feature>ccsdk-sli</feature>\r
+\r
+               <bundle>wrap:mvn:com.jcraft/jsch/${jsch.version}</bundle>\r
+               <bundle>wrap:mvn:com.jayway.jsonpath/json-path/${jsonpath.version}</bundle>\r
+\r
+               <bundle>wrap:mvn:org.json/json/${org.json.version}</bundle>\r
+               <bundle>wrap:mvn:org.yaml/snakeyaml/${snakeyaml.version}</bundle>\r
+               <bundle>wrap:mvn:org.apache.velocity/velocity/${velocity.version}</bundle>\r
+\r
+               <bundle>wrap:mvn:commons-io/commons-io/${common.io.version}</bundle>\r
+               <bundle>wrap:mvn:net.minidev/json-smart/${json-smart.version}</bundle>\r
+               <bundle>wrap:mvn:net.minidev/accessors-smart/${accessors-smart.version}</bundle>\r
+\r
+               <bundle>mvn:commons-lang/commons-lang/${commons.lang.version}</bundle>\r
+               <bundle>mvn:commons-collections/commons-collections/${common.collections.version}</bundle>\r
+\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.core/jackson-core/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-xml/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.module/jackson-module-jsonSchema/${jackson.version}</bundle>\r
+               <bundle>wrap:mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/${jackson.version}</bundle>\r
+       </feature>\r
+\r
+       <feature name='blueprints-processor-libs'\r
+               description="SDNC Controller: Blueprints Libs"\r
+               version='${project.version}'>\r
+               <feature version="${project.version}">blueprints-processor-dependency</feature>\r
+               <bundle>mvn:org.onap.ccsdk.config/blueprints-rest-adaptor-provider/${project.version}</bundle>\r
+               <bundle>mvn:org.onap.ccsdk.config/blueprints-data-adaptor-provider/${project.version}</bundle>\r
+               <bundle>mvn:org.onap.ccsdk.config/blueprints-model-provider/${project.version}</bundle>\r
+       </feature>\r
+\r
+       <feature name='blueprints-processor-features'\r
+               description="SDNC Controller: Blueprints Features"\r
+               version='${project.version}'>\r
+               <feature version="${project.version}">blueprints-processor-libs</feature>\r
+               <bundle>mvn:org.onap.ccsdk.config/blueprints-generator-provider/${project.version}</bundle>\r
+               <bundle>mvn:org.onap.ccsdk.config/blueprints-assignment-provider/${project.version}</bundle>\r
+       </feature>\r
+\r
+</features>\r