summaryrefslogtreecommitdiffstats
path: root/distribution/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/standalone')
-rw-r--r--distribution/standalone/pom.xml6
-rw-r--r--distribution/standalone/src/main/assembly/conf/environment/environment.json6
-rw-r--r--distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml15
-rw-r--r--distribution/standalone/src/main/assembly/run.bat2
-rw-r--r--distribution/standalone/src/main/assembly/run.sh2
-rw-r--r--distribution/standalone/src/main/assembly/stop.bat2
-rw-r--r--distribution/standalone/src/main/assembly/stop.sh2
7 files changed, 23 insertions, 12 deletions
diff --git a/distribution/standalone/pom.xml b/distribution/standalone/pom.xml
index 224e9bd..9134e80 100644
--- a/distribution/standalone/pom.xml
+++ b/distribution/standalone/pom.xml
@@ -27,7 +27,7 @@
<packaging>pom</packaging>
<properties>
- <packagename>openo-vnfsdk-functest</packagename>
+ <packagename>onap-vnfsdk-functest</packagename>
<linux64id>linux64</linux64id>
<win64id>win64</win64id>
<linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
@@ -101,7 +101,7 @@
<configuration>
<artifactItems>
<artifactItem>
- <groupId>org.openo.vnf-sdk.function-test</groupId>
+ <groupId>org.onap.vnf-sdk.function-test</groupId>
<artifactId>vnf-sdk-function-test</artifactId>
<type>jar</type>
<overWrite>true</overWrite>
@@ -120,7 +120,7 @@
<configuration>
<artifactItems>
<artifactItem>
- <groupId>org.openo.vnf-sdk.function-test</groupId>
+ <groupId>org.onap.vnf-sdk.function-test</groupId>
<artifactId>vnf-sdk-function-test</artifactId>
<type>jar</type>
<overWrite>true</overWrite>
diff --git a/distribution/standalone/src/main/assembly/conf/environment/environment.json b/distribution/standalone/src/main/assembly/conf/environment/environment.json
new file mode 100644
index 0000000..a990796
--- /dev/null
+++ b/distribution/standalone/src/main/assembly/conf/environment/environment.json
@@ -0,0 +1,6 @@
+{
+ "remoteIp": "127.0.0.1",
+ "userName": "functest",
+ "password": "password",
+ "path": "/home/root1/test/"
+} \ No newline at end of file
diff --git a/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
index 3e1a439..93e4d36 100644
--- a/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
+++ b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml
@@ -3,12 +3,11 @@ template: Hello, %s!
defaultName: ${DW_DEFAULT_NAME:-Stranger}
-msbServerAddr: http://127.0.0.1:80
#database
database:
# the name of your JDBC driver
- driverClass: com.mysql.jdbc.Driver
+ driverClass: org.postgresql.Driver
# the username
user: functest
@@ -17,7 +16,13 @@ database:
password: functest
# the JDBC URL
- url: jdbc:mysql://127.0.0.1:3306/functest
+ url: jdbc:postgresql://localhost:5432/functest
+
+ # any properties specific to your JDBC driver:
+ properties:
+ charSet: UTF-8
+ hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect #org.hibernate.dialect.MySQL5InnoDBDialect
+# hibernate.hbm2ddl.auto: create
# use the simple server factory if you only want to run on a single port
#server:
@@ -27,7 +32,7 @@ database:
# port: 8080
server:
type: simple
- rootPath: '/openoapi/vnfsdk/v1/*'
+ rootPath: '/api/vnfsdk/v1/*'
applicationContextPath: /
adminContextPath: /admin
connector:
@@ -44,7 +49,7 @@ logging:
loggers:
# Sets the level for 'com.example.app' to DEBUG.
- org.openo.vnfsdk.functest.VnfSdkFunTestApp: INFO
+ org.onap.vnfsdk.functest.VnfSdkFunTestApp: INFO
appenders:
- type: console
diff --git a/distribution/standalone/src/main/assembly/run.bat b/distribution/standalone/src/main/assembly/run.bat
index 1fda07c..5099274 100644
--- a/distribution/standalone/src/main/assembly/run.bat
+++ b/distribution/standalone/src/main/assembly/run.bat
@@ -29,7 +29,7 @@ set class_path=%RUNHOME%;%RUNHOME%vnf-sdk-function-test.jar
echo ### jvm_opts: %jvm_opts%
echo ### class_path: %class_path%
-%JAVA% -classpath %class_path% %jvm_opts% org.openo.vnfsdk.functest.VnfSdkFuncTestApp server %RUNHOME%conf/vnfsdkfunctest.yml
+%JAVA% -classpath %class_path% %jvm_opts% org.onap.vnfsdk.functest.VnfSdkFuncTestApp server %RUNHOME%conf/vnfsdkfunctest.yml
IF ERRORLEVEL 1 goto showerror
exit
diff --git a/distribution/standalone/src/main/assembly/run.sh b/distribution/standalone/src/main/assembly/run.sh
index b1329c0..99bf172 100644
--- a/distribution/standalone/src/main/assembly/run.sh
+++ b/distribution/standalone/src/main/assembly/run.sh
@@ -27,5 +27,5 @@ port=8701
echo @JAVA_OPTS@ $JAVA_OPTS
export CLASSPATH=CLASSPATH:"$JAVA_HOME/jre/lib"
echo @CLASSPATH@ $CLASSPATH
-"$JAVA" $JAVA_OPTS -cp $RUNHOME/vnf-sdk-function-test org.openo.vnfsdk.functest.VnfSdkFuncTestApp server "$RUNHOME/conf/vnfsdkfunctest.yml"
+"$JAVA" $JAVA_OPTS -cp $RUNHOME/vnf-sdk-function-test org.onap.vnfsdk.functest.VnfSdkFuncTestApp server "$RUNHOME/conf/vnfsdkfunctest.yml"
diff --git a/distribution/standalone/src/main/assembly/stop.bat b/distribution/standalone/src/main/assembly/stop.bat
index ed702ff..5058cc8 100644
--- a/distribution/standalone/src/main/assembly/stop.bat
+++ b/distribution/standalone/src/main/assembly/stop.bat
@@ -18,7 +18,7 @@
title stopping vnfsdk-functest
set HOME=%~dp0
-set Main_Class="org.openo.vnfsdk.functest.VnfSdkFuncTestApp"
+set Main_Class="org.onap.vnfsdk.functest.VnfSdkFuncTestApp"
echo ================== extsys-service info =============================================
echo HOME=$HOME
diff --git a/distribution/standalone/src/main/assembly/stop.sh b/distribution/standalone/src/main/assembly/stop.sh
index 36099c1..6970a54 100644
--- a/distribution/standalone/src/main/assembly/stop.sh
+++ b/distribution/standalone/src/main/assembly/stop.sh
@@ -17,7 +17,7 @@
DIRNAME=`dirname $0`
HOME=`cd $DIRNAME/; pwd`
-Main_Class="org.openo.vnfsdk.functest.VnfSdkFuncTestApp"
+Main_Class="org.onap.vnfsdk.functest.VnfSdkFuncTestApp"
echo ================== catalog-service info =============================================
echo HOME=$HOME