aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-common/src/main/resources')
-rw-r--r--usecaseui-common/src/main/resources/logback.xml117
-rw-r--r--usecaseui-common/src/main/resources/portalConfig/msb_register.xml155
2 files changed, 272 insertions, 0 deletions
diff --git a/usecaseui-common/src/main/resources/logback.xml b/usecaseui-common/src/main/resources/logback.xml
new file mode 100644
index 00000000..65e61cbd
--- /dev/null
+++ b/usecaseui-common/src/main/resources/logback.xml
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
+
+ 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.
+ -->
+<configuration debug="false" scan="true" scanPeriod="30 seconds">
+ <property name="projectName" value="openoui"/>
+ <property name="logDir" value="../webapps/openoui/openoui_log"/>
+ <property name="maxHistory" value="30"/>
+ <timestamp key="bySecond" datePattern="yyyyMMdd'T'HHmmss"/>
+
+ <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="errorAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <filter class="ch.qos.logback.classic.filter.LevelFilter">
+ <level>ERROR</level>
+ <onMatch>ACCEPT</onMatch>
+ <onMismatch>DENY</onMismatch>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/error/error.%d{yyyy-MM}.log</fileNamePattern>
+ <maxHistory>${maxHistory}</maxHistory>
+ </rollingPolicy>
+ <encoder>
+ <pattern>
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <appender name="warnAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <filter class="ch.qos.logback.classic.filter.LevelFilter">
+ <level>WARN</level>
+ <onMatch>ACCEPT</onMatch>
+ <onMismatch>DENY</onMismatch>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/warn/warn.%d{yyyy-MM}.log</fileNamePattern>
+ <maxHistory>${maxHistory}</maxHistory>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="infoAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <filter class="ch.qos.logback.classic.filter.LevelFilter">
+ <level>INFO</level>
+ <onMatch>ACCEPT</onMatch>
+ <onMismatch>DENY</onMismatch>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/info/info.%d{yyyy-MM}.log</fileNamePattern>
+ <maxHistory>${maxHistory}</maxHistory>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="debugAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <filter class="ch.qos.logback.classic.filter.LevelFilter">
+ <level>DEBUG</level>
+ <onMatch>ACCEPT</onMatch>
+ <onMismatch>DENY</onMismatch>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/debug/debug.%d{yyyy-MM}.log</fileNamePattern>
+ <maxHistory>${maxHistory}</maxHistory>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="traceAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <filter class="ch.qos.logback.classic.filter.LevelFilter">
+ <level>TRACE</level>
+ <onMatch>ACCEPT</onMatch>
+ <onMismatch>DENY</onMismatch>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDir}/trace/trace.%d{yyyy-MM}.log</fileNamePattern>
+ <maxHistory>${maxHistory}</maxHistory>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <root>
+ <level value="info"/>
+ <appender-ref ref="consoleAppender"/>
+ <appender-ref ref="errorAppender"/>
+ <appender-ref ref="warnAppender"/>
+ <appender-ref ref="infoAppender"/>
+ <appender-ref ref="debugAppender"/>
+ <appender-ref ref="traceAppender"/>
+ </root>
+</configuration>
diff --git a/usecaseui-common/src/main/resources/portalConfig/msb_register.xml b/usecaseui-common/src/main/resources/portalConfig/msb_register.xml
new file mode 100644
index 00000000..a777745a
--- /dev/null
+++ b/usecaseui-common/src/main/resources/portalConfig/msb_register.xml
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
+
+ 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.
+ -->
+<msbRegister>
+ <msbHost>
+ <hostIp>http://192.168.233.226</hostIp>
+ <hostPort>80</hostPort>
+ <msbApiRootDomain>/openoapi/microservices/v1/services</msbApiRootDomain>
+ </msbHost>
+ <registerList>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/framework</url>
+ <serviceName>framework</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/thirdparty</url>
+ <serviceName>thirdparty</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/login</url>
+ <serviceName>login</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/catalog</url>
+ <serviceName>catalog</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/extsys</url>
+ <serviceName>extsys</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/performance</url>
+ <serviceName>performance</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/monitor</url>
+ <serviceName>monitor</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/lifecyclemgr</url>
+ <serviceName>lifecyclemgr</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/resmgr</url>
+ <serviceName>resmgr</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/provincemgr</url>
+ <serviceName>provincemgr</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/user</url>
+ <serviceName>user</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/vnfmarket</url>
+ <serviceName>vnfmarket</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ <registerInfo>
+ <ip>127.0.0.1</ip>
+ <port>9150</port>
+ <url>/openoui/holmes</url>
+ <serviceName>holmes</serviceName>
+ <protocol>UI</protocol>
+ <visualRange>1</visualRange>
+ <lb_policy>hash</lb_policy>
+ <ttl>0</ttl>
+ </registerInfo>
+ </registerList>
+</msbRegister>