1:删除无用的数据库连接
2:修改pom中使用的hive版本为2.1.1 3:添加IP地址日志查询服务
This commit is contained in:
@@ -175,15 +175,21 @@
|
||||
<!-- 添加restful服务的过滤 -->
|
||||
<mvc:interceptor>
|
||||
<mvc:mapping path="/service/**" />
|
||||
<!-- <mvc:exclude-mapping path="/service/save" /> -->
|
||||
<!-- <mvc:exclude-mapping path="/service/save" /> -->
|
||||
<bean class="com.nis.interceptor.LogInterceptor" />
|
||||
</mvc:interceptor>
|
||||
|
||||
<!-- 数据源拦截器,该拦截路径下使用数据源C -->
|
||||
<!-- 日志数据源拦截器,该拦截路径下使用数据源C -->
|
||||
<!-- <mvc:interceptor> -->
|
||||
<!-- <mvc:mapping path="/service/log/**" /> -->
|
||||
<!-- <mvc:mapping path="/log/**"/> -->
|
||||
<!-- <bean class="com.nis.interceptor.DataSourceCInterceptor"></bean> -->
|
||||
<!-- </mvc:interceptor> -->
|
||||
|
||||
<!-- 数据源拦截器,该拦截路径下使用数据源B -->
|
||||
<mvc:interceptor>
|
||||
<mvc:mapping path="/service/log/**" />
|
||||
<mvc:mapping path="/log/**"/>
|
||||
<bean class="com.nis.interceptor.DataSourceCInterceptor"></bean>
|
||||
<mvc:mapping path="/service/cfg/**" />
|
||||
<bean class="com.nis.interceptor.DataSourceBInterceptor"></bean>
|
||||
</mvc:interceptor>
|
||||
|
||||
</mvc:interceptors>
|
||||
|
||||
Reference in New Issue
Block a user