diff options
author | Murali-P <murali.p@huawei.com> | 2017-01-30 20:25:40 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2017-01-31 10:30:07 +0530 |
commit | 3075304c7f0a4814e2de297fb6ca54e48ffe7b91 (patch) | |
tree | ece70a3fd823d98d68c5142b7e85da8d4d07f803 /distribution/standalone/src/main/assembly/conf | |
parent | f4a9f582e9dc1fb064e650f8934e8a402749d6bb (diff) |
VNF SDK Function test init Code
Resolved:VNFSDK-21
Function test base code
Change-Id: Ib8070d0549acdea4775bd325c5a282d5e2a708e0
Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'distribution/standalone/src/main/assembly/conf')
-rw-r--r-- | distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml new file mode 100644 index 0000000..e4e00d0 --- /dev/null +++ b/distribution/standalone/src/main/assembly/conf/vnfsdkfunctest.yml @@ -0,0 +1,61 @@ + +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 + + # the username + user: functest + + # the password + password: functest + + # the JDBC URL + url: jdbc:mysql://127.0.0.1:3306/functest + +# use the simple server factory if you only want to run on a single port +#server: +# type: simple +# connector: +# type: http +# port: 8080 +server: + type: simple + rootPath: '/openoapi/vnfsdk/v1/*' + applicationContextPath: / + adminContextPath: /admin + connector: + type: http + port: 8100 + +# Logging settings. +logging: + + # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. + level: ALL + + # Logger-specific levels. + loggers: + + # Sets the level for 'com.example.app' to DEBUG. + org.openo.vnfsdk.functest.VnfSdkFunTestApp: INFO + + appenders: + - type: console + threshold: INFO + timeZone: UTC + logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" + - type: file + threshold: INFO + logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n" + currentLogFilename: ./works/logs/vnfsdk.log + archivedLogFilenamePattern: ./works/logs/zip/vnfsdk-%d{yyyy-MM-dd}.log.gz + archivedFileCount: 7 + timeZone: UTC + |