aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/src/main/scripts/updateDgNamespace.sh
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-20 18:00:14 -0400
committerDan Timoney <dtimoney@att.com>2017-09-20 18:00:14 -0400
commit7629aef322c86ae2824d431f444267b46c16af7d (patch)
tree9cd28886bb59531df4f89e7526c7cd172a854b33 /platform-logic/src/main/scripts/updateDgNamespace.sh
parente028d9dc9d4283b0a8cb3dcbd902864ba5cab05d (diff)
Update DG namepaces - fixed
Fixed script src/main/scripts/updateDgNamespace.sh to update namespace references in DG XML files, and used that script to update all DG XMLs. Change-Id: Idc9867007fbf46e17b336ed8bb33fdd08670a6ea Issue-ID: SDNC-95 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: fafd0e6f7408803ae2a1fc0bef2a8a06cc08f2e6
Diffstat (limited to 'platform-logic/src/main/scripts/updateDgNamespace.sh')
-rwxr-xr-xplatform-logic/src/main/scripts/updateDgNamespace.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform-logic/src/main/scripts/updateDgNamespace.sh b/platform-logic/src/main/scripts/updateDgNamespace.sh
index cb93c6be..dde88911 100755
--- a/platform-logic/src/main/scripts/updateDgNamespace.sh
+++ b/platform-logic/src/main/scripts/updateDgNamespace.sh
@@ -2,8 +2,7 @@
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
+s/openecomp.org/onap.org/g
' $1
}