aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/src/main/scripts/updateDgNamespace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/src/main/scripts/updateDgNamespace.sh')
-rwxr-xr-xplatform-logic/src/main/scripts/updateDgNamespace.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/platform-logic/src/main/scripts/updateDgNamespace.sh b/platform-logic/src/main/scripts/updateDgNamespace.sh
new file mode 100755
index 00000000..cb93c6be
--- /dev/null
+++ b/platform-logic/src/main/scripts/updateDgNamespace.sh
@@ -0,0 +1,13 @@
+#! /bin/bash
+
+updateFile() {
+sed -i .orig -e '
+s/\(xmlns=.\)http:\/\/www\.onap\.org\/sdnctl\/svclogic/\1http:\/\/www\.onap\.org\/sdnc\/svclogic/g
+s/\(xsi:schemaLocation=.\)http:\/\/www\.openecomp\.org\/sdnctl\/svclogic/\1http:\/\/www\.onap\.org\/sdnc\/svclogic/g
+' $1
+}
+
+for file in $@
+do
+ updateFile $file
+done