Initial OpenECOMP MSO commit
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d
Signed-off-by: ChrisC <cc697w@intl.att.com>
diff --git a/packages/deliveries/pom.xml b/packages/deliveries/pom.xml
new file mode 100644
index 0000000..5f20b18
--- /dev/null
+++ b/packages/deliveries/pom.xml
@@ -0,0 +1,78 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.openecomp.mso</groupId>
+ <artifactId>packages</artifactId>
+ <version>0.0.4-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.openecomp.mso.packages</groupId>
+ <artifactId>mso-deliveries</artifactId>
+ <packaging>pom</packaging>
+
+ <name>MsoDeliveries</name>
+
+ <description>This project is responsible of the final packages</description>
+ <organization>
+ <name>OPENECOMP - MSO</name>
+ <url>http://www.openecomp.org/</url>
+ </organization>
+
+
+ <build>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+
+ <!-- MSO DB PACKS -->
+ <execution>
+ <configuration>
+
+ <descriptors>
+ <descriptor>src/main/assembly/mso-config/mso-db.xml</descriptor>
+ </descriptors>
+ <finalName>mso-config/mso-db-${project.version}</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <attach>false</attach>
+ </configuration>
+
+ <id>db-packs-mso</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+
+ </execution>
+ <!-- DEVELOPER PACKS -->
+ <execution>
+ <configuration>
+
+ <descriptors>
+ <descriptor>src/main/assembly/war-pack/mso-wars.xml</descriptor>
+ </descriptors>
+ <finalName>war-pack/mso-${project.version}</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <attach>false</attach>
+ </configuration>
+
+ <id>war-pack-mso</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+
+
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
diff --git a/packages/deliveries/src/main/assembly/mso-config/mso-db.xml b/packages/deliveries/src/main/assembly/mso-config/mso-db.xml
new file mode 100644
index 0000000..6e7bcf7
--- /dev/null
+++ b/packages/deliveries/src/main/assembly/mso-config/mso-db.xml
@@ -0,0 +1,44 @@
+<!--
+ ============LICENSE_START=======================================================
+ OpenECOMP MSO
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+ -->
+
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
+ <id>mso-db</id>
+
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+
+ <!-- include MSO Extra files (scripts, db scripts) -->
+ <fileSet>
+ <includes>
+ <include>**/</include>
+ </includes>
+ <directory>../../packages/root-pack-extras/config-resources/mariadb/db-sql-scripts</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+</assembly>
diff --git a/packages/deliveries/src/main/assembly/war-pack/mso-wars.xml b/packages/deliveries/src/main/assembly/war-pack/mso-wars.xml
new file mode 100644
index 0000000..d412713
--- /dev/null
+++ b/packages/deliveries/src/main/assembly/war-pack/mso-wars.xml
@@ -0,0 +1,114 @@
+<!--
+ ============LICENSE_START=======================================================
+ ECOMP MSO
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+ -->
+
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
+ <id>mso-dev</id>
+
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+
+ <fileSets>
+
+ <!-- include config files -->
+
+ <fileSet>
+ <includes>
+ <include>mso-network-adapter*.war</include>
+ </includes>
+ <directory>../../adapters/mso-network-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
+ <include>mso-sdnc-adapter*.war</include>
+ </includes>
+ <directory>../../adapters/mso-sdnc-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
+ <include>mso-tenant-adapter*.war</include>
+ </includes>
+ <directory>../../adapters/mso-tenant-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
+ <include>mso-vnf-adapter*.war</include>
+ </includes>
+ <directory>../../adapters/mso-vnf-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <includes>
+ <include>mso-api-handler*.war</include>
+ </includes>
+ <directory>../../mso-api-handlers/mso-api-handler-infra/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
+ <include>mso-appc-adapter-*.war</include>
+ </includes>
+ <directory>../../adapters/mso-appc-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <includes>
+ <include>mso-requests-db-adapter*.war</include>
+ </includes>
+ <directory>../../adapters/mso-requests-db-adapter/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <includes>
+ <include>asdc-controller*.war</include>
+ </includes>
+ <directory>../../asdc-controller/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <includes>
+ <include>MSOGammaBPMN*.war</include>
+ </includes>
+ <directory>../../bpmn/MSOGammaBPMN/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <includes>
+ <include>MSOCockpit*.war</include>
+ </includes>
+ <directory>../../bpmn/MSOCockpit/target/</directory>
+ <outputDirectory>artifacts</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+
+</assembly>