mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-24 06:57:56 +01:00
Remove depreacated code
This commit is contained in:
parent
eabc55307c
commit
5923d514b7
@ -1,7 +1,9 @@
|
||||
log4j.rootLogger=DEBUG, stdout, R
|
||||
log4j.rootLogger=INFO, stdout, R
|
||||
log4j.logger.com.wisemapping=DEBUG,R
|
||||
log4j.logger.org.springframework=DEBUG,R
|
||||
log4j.logger.org.hibernate=DEBUG,R
|
||||
log4j.logger.org.springframework=INFO,R
|
||||
log4j.logger.org.hibernate=INFO,R
|
||||
log4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=TRACE,R
|
||||
log4j.logger.org.hibernate.SQL=DEBUG,R
|
||||
|
||||
# Stdout logger <20>
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
|
@ -39,6 +39,7 @@
|
||||
<prop key="hibernate.dialect">${database.hibernate.dialect}</prop>
|
||||
<prop key="hibernate.cache.use_second_level_cache">true</prop>
|
||||
<prop key="hibernate.cache.region.factory_class">org.hibernate.cache.ehcache.EhCacheRegionFactory</prop>
|
||||
<prop key="hibernate.default_batch_fetch_size">200</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
@ -15,16 +15,6 @@
|
||||
<context:component-scan base-package="com.wisemapping.rest"/>
|
||||
<context:annotation-config/>
|
||||
|
||||
<!-- Interceptors Registration -->
|
||||
<mvc:interceptors>
|
||||
<bean id="webContentInterceptor" class="org.springframework.web.servlet.mvc.WebContentInterceptor">
|
||||
<property name="cacheSeconds" value="0"/>
|
||||
<property name="useExpiresHeader" value="true"/>
|
||||
<property name="useCacheControlHeader" value="true"/>
|
||||
<property name="useCacheControlNoStore" value="true"/>
|
||||
</bean>
|
||||
</mvc:interceptors>
|
||||
|
||||
<mvc:annotation-driven>
|
||||
<mvc:message-converters>
|
||||
<bean class="com.wisemapping.rest.DebugMappingJacksonHttpMessageConverter"/>
|
||||
@ -55,22 +45,11 @@
|
||||
<property name="favorParameter" value="true"/>
|
||||
<property name="parameterName" value="mediaType"/>
|
||||
<property name="defaultContentType" value="application/json" />
|
||||
<property name="useJaf" value="false" />
|
||||
|
||||
<property name="mediaTypes">
|
||||
<map>
|
||||
<entry key="xml" value="application/xml"/>
|
||||
<entry key="json" value="application/json"/>
|
||||
<entry key="freemind" value="application/freemind"/>
|
||||
<entry key="pdf" value="application/pdf"/>
|
||||
<entry key="png" value="image/png"/>
|
||||
<entry key="jpg" value="image/jpeg"/>
|
||||
<entry key="svg" value="image/svg+xml"/>
|
||||
<entry key="wxml" value="application/wisemapping+xml"/>
|
||||
<entry key="txt" value="text/plain"/>
|
||||
<entry key="xls" value="application/vnd.ms-excel"/>
|
||||
<entry key="otd" value="application/vnd.oasis.opendocument.text"/>
|
||||
<entry key="mmap" value="application/vnd.mindjet.mindmanager"/>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
|
@ -20,13 +20,6 @@
|
||||
<mvc:interceptors>
|
||||
<bean id="userLocaleInterceptor" class="com.wisemapping.filter.UserLocaleInterceptor"/>
|
||||
<bean id="requestInterceptor" class="com.wisemapping.filter.RequestPropertiesInterceptor"/>
|
||||
|
||||
<bean id="webContentInterceptor" class="org.springframework.web.servlet.mvc.WebContentInterceptor">
|
||||
<property name="cacheSeconds" value="0"/>
|
||||
<property name="useExpiresHeader" value="true"/>
|
||||
<property name="useCacheControlHeader" value="true"/>
|
||||
<property name="useCacheControlNoStore" value="true"/>
|
||||
</bean>
|
||||
</mvc:interceptors>
|
||||
|
||||
<bean id="exceptionHandlerResolver"
|
||||
|
Loading…
Reference in New Issue
Block a user