Permalink
Browse files

Restore v1 export contoller as the default.

  • Loading branch information...
1 parent 6290dea commit 50bed67f51f21bdd6f3ab912066082ea6647b9e6 @jbrisbin jbrisbin committed with jbrisbin Mar 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 exporter-web/src/main/webapp/WEB-INF/exporter-servlet.xml
@@ -97,6 +97,7 @@
</bean>
<!-- The Exporter -->
+ <!--
<bean class="org.springframework.data.services.web.exporter.ResourceResolverExporterController">
<property name="baseUri" ref="baseUri"/>
<property name="resourceResolvers">
@@ -109,15 +110,14 @@
<property name="inputResolver" ref="httpEntityResourceResolver"/>
<property name="outputResolver" ref="responseEntityJpaResourceResolver"/>
</bean>
- <!--
+ -->
<bean class="org.springframework.data.services.web.exporter.RepositoryExporterController">
<property name="baseUri" ref="baseUri"/>
<property name="conversionService" ref="conversionService"/>
<property name="repositoryMetadata" ref="jpaRepositoryMetadata"/>
<property name="httpMessageConverters" ref="httpMessageConverters"/>
<property name="jsonMediaType" value="application/json"/>
</bean>
- -->
<!-- Handle rendering in different representations -->
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">

0 comments on commit 50bed67

Please sign in to comment.