Initial commit for OpenECOMP SDN-C OA&M
Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
diff --git a/admportal/src/assembly/assemble_zip.xml b/admportal/src/assembly/assemble_zip.xml
new file mode 100644
index 0000000..46763c8
--- /dev/null
+++ b/admportal/src/assembly/assemble_zip.xml
@@ -0,0 +1,101 @@
+<!--
+ ============LICENSE_START=======================================================
+ openECOMP : SDN-C
+ ================================================================================
+ 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=========================================================
+ -->
+
+<!-- Defines how we build the .zip file which is our distribution. -->
+
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+ <fileSet>
+ <directory>bin</directory>
+ <outputDirectory>admportal/bin</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>certs</directory>
+ <outputDirectory>admportal/certs</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>config</directory>
+ <outputDirectory>admportal/config</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>lib</directory>
+ <outputDirectory>admportal/lib</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>node_modules</directory>
+ <outputDirectory>admportal/node_modules</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>public</directory>
+ <outputDirectory>admportal/public</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>routes</directory>
+ <outputDirectory>admportal/routes</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>server</directory>
+ <outputDirectory>admportal/server</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>shell</directory>
+ <outputDirectory>admportal/shell</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>uploads</directory>
+ <outputDirectory>admportal/uploads</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>test</directory>
+ <outputDirectory>admportal/test</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>views</directory>
+ <outputDirectory>admportal/views</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory>admportal/</outputDirectory>
+ <includes>
+ <include>*.json</include>
+ <include>README</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target/lib</directory>
+ <outputDirectory>admportal/lib</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+
+
+</assembly>
diff --git a/admportal/src/main/swm/deinstall/postproc/post_proc b/admportal/src/main/swm/deinstall/postproc/post_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/deinstall/postproc/post_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/deinstall/preproc/pre_proc b/admportal/src/main/swm/deinstall/preproc/pre_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/deinstall/preproc/pre_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/fallback/postproc/post_proc b/admportal/src/main/swm/fallback/postproc/post_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/fallback/postproc/post_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/fallback/preproc/pre_proc b/admportal/src/main/swm/fallback/preproc/pre_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/fallback/preproc/pre_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/initinst/postproc/post_proc b/admportal/src/main/swm/initinst/postproc/post_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/initinst/postproc/post_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/initinst/preproc/pre_proc b/admportal/src/main/swm/initinst/preproc/pre_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/initinst/preproc/pre_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/install/postproc/post_proc b/admportal/src/main/swm/install/postproc/post_proc
new file mode 100644
index 0000000..09e4ca8
--- /dev/null
+++ b/admportal/src/main/swm/install/postproc/post_proc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exit 0;
+
diff --git a/admportal/src/main/swm/install/preproc/pre_proc b/admportal/src/main/swm/install/preproc/pre_proc
new file mode 100644
index 0000000..a8f5979
--- /dev/null
+++ b/admportal/src/main/swm/install/preproc/pre_proc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0;
diff --git a/admportal/src/main/swm/notes.txt b/admportal/src/main/swm/notes.txt
new file mode 100644
index 0000000..7fd88fb
--- /dev/null
+++ b/admportal/src/main/swm/notes.txt
@@ -0,0 +1,3 @@
+${groupId} ${artifactId} ${project.version}-${build.number}
+${SWM_VERSION}
+