remove jar files
authorAl Rotundo <ar3165@att.com>
Wed, 20 Sep 2017 20:08:52 +0000 (20:08 +0000)
committerAl Rotundo <arotundo@att.com>
Wed, 20 Sep 2017 20:44:22 +0000 (20:44 +0000)
jar files from lib directory were removed that were not needed.  Added needed files into pom.xml file.

Change-Id: I7cd15cdb3b65f790e4dbb4334753cb51d08f1803
Issue-ID:SDNC-81
Signed-off-by: Al Rotundo <arotundo@att.com>
17 files changed:
admportal/lib/CSPCheck.java [deleted file]
admportal/lib/GLCookieDecryption.jar [deleted file]
admportal/lib/ST4-4.0.8.jar [deleted file]
admportal/lib/antlr4-4.5.1.jar [deleted file]
admportal/lib/antlr4-runtime-4.5.1.jar [deleted file]
admportal/lib/java-concurrent-hash-trie-map-0.2.23.jar [deleted file]
admportal/lib/jsr305-2.0.3.jar [deleted file]
admportal/lib/object-cache-api-0.6.3-Helium-SR1.jar [deleted file]
admportal/lib/org.abego.treelayout.core-1.0.1.jar [deleted file]
admportal/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar [deleted file]
admportal/lib/util-0.6.3-Helium-SR1.jar [deleted file]
admportal/lib/yang-binding-0.6.3-Helium-SR1.jar [deleted file]
admportal/lib/yang-common-0.6.3-Helium-SR1.jar [deleted file]
admportal/package.json
admportal/pom.xml
admportal/shell/start_portal.sh
admportal/shell/svclogic.sh

diff --git a/admportal/lib/CSPCheck.java b/admportal/lib/CSPCheck.java
deleted file mode 100644 (file)
index dac1d88..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-import esGateKeeper.*;
-import java.util.*;
-import  java.io.*;
-import java.net.*;
-public class  CSPCheck{
-
-public static void main(String[] args){
-        try{
-               String attuid = "";     
-               if(args != null && args.length == 2){
-                       String secCookie = args[0];
-                       //validationEnv can be DEVL or PROD     
-                       String validationEnv=args[1];
-                       String retString = esGateKeeper.esGateKeeper(secCookie, "CSP", validationEnv, -5, "/tmp/");
-                       if(retString != null){
-                               String[] dataArr = retString.split("\\|");
-                               attuid= dataArr[5];
-
-                       }
-                       System.out.print("{" + "\"attuid\" : \"" + attuid + "\"}");
-               }
-       }catch(Exception e){
-               System.out.print("{" + "\"attuid\" : \"ERROR\"}");
-       }
-}
-}
-
diff --git a/admportal/lib/GLCookieDecryption.jar b/admportal/lib/GLCookieDecryption.jar
deleted file mode 100644 (file)
index aa3d059..0000000
Binary files a/admportal/lib/GLCookieDecryption.jar and /dev/null differ
diff --git a/admportal/lib/ST4-4.0.8.jar b/admportal/lib/ST4-4.0.8.jar
deleted file mode 100644 (file)
index 144828b..0000000
Binary files a/admportal/lib/ST4-4.0.8.jar and /dev/null differ
diff --git a/admportal/lib/antlr4-4.5.1.jar b/admportal/lib/antlr4-4.5.1.jar
deleted file mode 100755 (executable)
index 81039db..0000000
Binary files a/admportal/lib/antlr4-4.5.1.jar and /dev/null differ
diff --git a/admportal/lib/antlr4-runtime-4.5.1.jar b/admportal/lib/antlr4-runtime-4.5.1.jar
deleted file mode 100755 (executable)
index 7807292..0000000
Binary files a/admportal/lib/antlr4-runtime-4.5.1.jar and /dev/null differ
diff --git a/admportal/lib/java-concurrent-hash-trie-map-0.2.23.jar b/admportal/lib/java-concurrent-hash-trie-map-0.2.23.jar
deleted file mode 100644 (file)
index 2c019d0..0000000
Binary files a/admportal/lib/java-concurrent-hash-trie-map-0.2.23.jar and /dev/null differ
diff --git a/admportal/lib/jsr305-2.0.3.jar b/admportal/lib/jsr305-2.0.3.jar
deleted file mode 100644 (file)
index cc39b73..0000000
Binary files a/admportal/lib/jsr305-2.0.3.jar and /dev/null differ
diff --git a/admportal/lib/object-cache-api-0.6.3-Helium-SR1.jar b/admportal/lib/object-cache-api-0.6.3-Helium-SR1.jar
deleted file mode 100644 (file)
index e75db74..0000000
Binary files a/admportal/lib/object-cache-api-0.6.3-Helium-SR1.jar and /dev/null differ
diff --git a/admportal/lib/org.abego.treelayout.core-1.0.1.jar b/admportal/lib/org.abego.treelayout.core-1.0.1.jar
deleted file mode 100644 (file)
index 2350adc..0000000
Binary files a/admportal/lib/org.abego.treelayout.core-1.0.1.jar and /dev/null differ
diff --git a/admportal/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar b/admportal/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar
deleted file mode 100644 (file)
index c152830..0000000
Binary files a/admportal/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar and /dev/null differ
diff --git a/admportal/lib/util-0.6.3-Helium-SR1.jar b/admportal/lib/util-0.6.3-Helium-SR1.jar
deleted file mode 100644 (file)
index 0f8ca62..0000000
Binary files a/admportal/lib/util-0.6.3-Helium-SR1.jar and /dev/null differ
diff --git a/admportal/lib/yang-binding-0.6.3-Helium-SR1.jar b/admportal/lib/yang-binding-0.6.3-Helium-SR1.jar
deleted file mode 100644 (file)
index 6adef24..0000000
Binary files a/admportal/lib/yang-binding-0.6.3-Helium-SR1.jar and /dev/null differ
diff --git a/admportal/lib/yang-common-0.6.3-Helium-SR1.jar b/admportal/lib/yang-common-0.6.3-Helium-SR1.jar
deleted file mode 100644 (file)
index 1fc5f9f..0000000
Binary files a/admportal/lib/yang-common-0.6.3-Helium-SR1.jar and /dev/null differ
index e625ef2..f30d059 100644 (file)
@@ -6,6 +6,7 @@
     "start": "node ./bin/www"
   },
   "dependencies": {
+    "async": "^2.5.0",
     "body-parser": "~1.8.1",
     "bootstrap": "^3.3.6",
     "bootstrap-submenu": "^2.0.3",
index aebb75b..6bb2f6b 100644 (file)
                <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
        </properties>
 
-       <dependencies>
-               <dependency>
-                       <groupId>org.onap.ccsdk.sli.core</groupId>
-                       <artifactId>sli-common</artifactId>
-                       <version>${sdnctl.sli.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>mysql</groupId>
-                       <artifactId>mysql-connector-java</artifactId>
-                       <version>5.1.31</version>
-                       <type>jar</type>
-                       <scope>compile</scope>
-               </dependency>
-       </dependencies>
+  <dependencies>
+    <dependency>
+      <groupId>org.onap.ccsdk.sli.core</groupId>
+      <artifactId>sli-common</artifactId>
+      <version>${sdnctl.sli.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+      <version>5.1.31</version>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.antlr</groupId>
+      <artifactId>antlr4</artifactId>
+      <version>${antlr.version}</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>equinoxSDK381</groupId>
+      <artifactId>org.eclipse.osgi</artifactId>
+      <version>${equinox.osgi.version}</version>
+    </dependency>
+  </dependencies>
 
        <build>
                <plugins>
index 976502c..8a0c445 100755 (executable)
@@ -1,8 +1,8 @@
 #. ./set-https-env.sh
 #cd ../bin
 #cp ../config/config.json.https ../config/config.json
-export PROJECT_HOME=/opt/openecomp/sdnc
-export PROJECT_RUNTIME_BASE=/opt/openecomp/sdnc
+export PROJECT_HOME=/opt/onap/sdnc
+export PROJECT_RUNTIME_BASE=/opt/onap/sdnc
 #export JAVA_HOME=/usr/lib/jvm/java-7-oracle
 export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
 export SSL_ENABLED=false
@@ -19,11 +19,11 @@ export MAIN_MENU
 SSL_ENABLED=`python $PROJECT_HOME/admportal/shell/getAdmPortalProp.py sslEnabled | sed -e 's|['\'']||g'` 
 export SSL_ENABLED
 
-if [ ! -d /opt/openecomp/sdnc/admportal/node_modules ]; then
-       cd /opt/openecomp/sdnc/admportal && npm install
+if [ ! -d /opt/onap/sdnc/admportal/node_modules ]; then
+       cd /opt/onap/sdnc/admportal && npm install
 fi
 
-cd /opt/openecomp/sdnc/admportal
+cd /opt/onap/sdnc/admportal
 node shell/www
 #if [ "true" == "${SSL_ENABLED}" ]; then
        #pm2 startOrRestart process.https.json
index aca6bf1..67ada89 100644 (file)
@@ -29,4 +29,4 @@ do
     CLASSPATH=$CLASSPATH:${jar}
 done
 
-java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.openecomp.sdnc.sli.SvcLogicParser $*
+java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.onap.ccsdk.sli.core.sli.SvcLogicParser $*