diff options
author | Lizi <li.zi30@zte.com.cn> | 2018-01-25 07:46:54 +0000 |
---|---|---|
committer | Lizi <li.zi30@zte.com.cn> | 2018-01-25 07:47:08 +0000 |
commit | 0d6ba27cdb051f6883687ace5d4d5f4b77ff0a85 (patch) | |
tree | 6f48438ec24d9a2da95dec4083188f689f9b9085 /esr-mgr/src/test | |
parent | 2c338133ce372a2407a40ff633d860616f126cf4 (diff) |
Fix the security issue.
Change-Id: Id63ea99cf3308406cb2a2ec205f0c1a2d12384e4
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-mgr/src/test')
-rw-r--r-- | esr-mgr/src/test/resources/Hibernate.cfg.xml | 38 | ||||
-rw-r--r-- | esr-mgr/src/test/resources/extsys.yml | 68 |
2 files changed, 0 insertions, 106 deletions
diff --git a/esr-mgr/src/test/resources/Hibernate.cfg.xml b/esr-mgr/src/test/resources/Hibernate.cfg.xml deleted file mode 100644 index 8d0776d..0000000 --- a/esr-mgr/src/test/resources/Hibernate.cfg.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Copyright 2016 ZTE Corporation. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<!DOCTYPE hibernate-configuration PUBLIC -"-//Hibernate/Hibernate Configuration DTD 3.0//EN" -"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> -<hibernate-configuration> -<session-factory> - <property name="show_sql">true</property> - <property name="dialect">org.hibernate.dialect.H2Dialect</property> - <property name="hibernate.connection.driver_class">org.h2.Driver</property> - <property name="hibernate.connection.url">jdbc:h2:tcp://localhost:18207/./db/extsys</property> - <property name="hibernate.connection.username">extsys</property> - <property name="hibernate.connection.password">extsys</property> - <property name="hbm2ddl">update</property> - <property name="current_session_context_class">thread</property> - <mapping class="org.onap.aai.esr.entity.db.EmsData"/> - <mapping class="org.onap.aai.esr.entity.db.BaseData"/> - <mapping class="org.onap.aai.esr.entity.db.SdncData"/> - <mapping class="org.onap.aai.esr.entity.db.VimData"/> - <mapping class="org.onap.aai.esr.entity.db.VnfmData"/> -</session-factory> -</hibernate-configuration> diff --git a/esr-mgr/src/test/resources/extsys.yml b/esr-mgr/src/test/resources/extsys.yml deleted file mode 100644 index 786be0a..0000000 --- a/esr-mgr/src/test/resources/extsys.yml +++ /dev/null @@ -1,68 +0,0 @@ -# -# Copyright 2016-2017 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -template: Hello, %s! - -#defaultName: ${DW_DEFAULT_NAME:-Stranger} -# the micro service ip -serviceIp: -msbDiscoveryIp: 10.74.148.80 -msbDiscoveryPort: 10081 -msbServerAddr: http://10.74.148.80:10081 -cloudInfrastructureAddr: http://10.74.148.80/api/aai-cloudInfrastructure/v11 -externalSystemAddr: http://10.74.148.80/api/aai-externalSystem/v11 -registByHand: true - -# 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: '/api/aai-esr-server/v1/*' - applicationContextPath: / - adminContextPath: /admin - connector: - type: http - port: 9518 - -# 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.onap.aai.esr.ExtsysApp: 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/extsys.log - archivedLogFilenamePattern: ./works/logs/zip/extsys-%d{yyyy-MM-dd}.log.gz - archivedFileCount: 7 - timeZone: UTC - |