summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorankitbhatt <ankit.bhatt@amdocs.com>2019-03-05 16:34:18 +0530
committerankitbhatt <ankit.bhatt@amdocs.com>2019-04-04 12:51:20 +0530
commit75a5dadbe6b4eb6e6838341dffdd2c272b65b35c (patch)
tree3909e5f30569497e781027ffd58c6d970ee271e3 /installation
parente3f666c36bf5a6f8251c88c1df3d7d3873e2338d (diff)
Added SDNC MDSAL Data Migrator Functionality.
Change-Id: I63ec1a4674d3a3cc6b39708ddee18ae7f9040b1c Issue-ID: SDNC-223 Signed-off-by: ankitbhatt <ankit.bhatt@amdocs.com> Former-commit-id: c4c27b78ff6b4a8f22553ef3d19aec67edd17482
Diffstat (limited to 'installation')
-rw-r--r--installation/sdnc/pom.xml20
-rw-r--r--installation/src/main/properties/data-migrator.properties26
2 files changed, 44 insertions, 2 deletions
diff --git a/installation/sdnc/pom.xml b/installation/sdnc/pom.xml
index c26b4361..4f59aaa9 100644
--- a/installation/sdnc/pom.xml
+++ b/installation/sdnc/pom.xml
@@ -280,6 +280,24 @@
</artifactItems>
</configuration>
</execution>
+ <execution>
+ <id>unpack migration utility</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/data-migrator</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.onap.sdnc.oam</groupId>
+ <artifactId>data-migrator</artifactId>
+ <version>1.5.0-SNAPSHOT</version>
+ <type>zip</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -310,8 +328,6 @@
</execution>
</executions>
</plugin>
-
-
</plugins>
</build>
diff --git a/installation/src/main/properties/data-migrator.properties b/installation/src/main/properties/data-migrator.properties
new file mode 100644
index 00000000..9bec60dd
--- /dev/null
+++ b/installation/src/main/properties/data-migrator.properties
@@ -0,0 +1,26 @@
+###
+# ============LICENSE_START=======================================================
+# ONAP : SDN-C
+# ================================================================================
+# Copyright (C) 2019 AMDOCS
+# ================================================================================
+# 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=========================================================
+###
+org.onap.sdnc.datamigrator.source.host=http://10.53.234.213:30202
+org.onap.sdnc.datamigrator.source.user=admin
+org.onap.sdnc.datamigrator.source.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+org.onap.sdnc.datamigrator.target.host=http://10.53.234.215:30202
+org.onap.sdnc.datamigrator.target.user=admin
+org.onap.sdnc.datamigrator.target.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+org.onap.sdnc.datamigrator.data.path=/tmp \ No newline at end of file