Changeset 4583
- Timestamp:
- 02/27/14 16:29:27 (11 years ago)
- Location:
- vlo/branches/vlo-3.0/vlo-web-app/src
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/config/VloSpringConfig.java
r4582 r4583 68 68 @Bean 69 69 public VloConfigFactory vloConfigFactory() { 70 return new DefaultVloConfigFactory();70 return new ServletVloConfigFactory(); 71 71 } 72 72 -
vlo/branches/vlo-3.0/vlo-web-app/src/main/webapp/META-INF/context.xml
r4466 r4583 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <Context antiJARLocking="true" path="/vlo-web-app"/> 2 <Context antiJARLocking="true" path="/vlo-web-app"> 3 <!-- 4 If set, configuration will get read from this external location 5 6 7 <Parameter 8 name="eu.carlin.cmdi.vlo.config.location" 9 value="/Users/twagoo/vlo/vlo3/VloConfig.xml"/> 10 --> 11 12 <!-- 13 If set, web app will connect to this SOLR server instead of the one 14 specified in the configuration file 15 16 17 <Parameter 18 name="eu.carlin.cmdi.vlo.solr.serverUrl" 19 value="http://localhost:8080/vlo_solr/core0/"/> 20 --> 21 </Context> -
vlo/branches/vlo-3.0/vlo-web-app/src/main/webapp/WEB-INF/applicationContext.xml
r4498 r4583 9 9 <context:annotation-config/> 10 10 <bean class="eu.clarin.cmdi.vlo.config.VloSpringConfig"/> 11 12 <!-- Bean to enable context parameters as a properties source --> 13 <bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"> 14 <property name="ignoreUnresolvablePlaceholders" value="true" /> 15 <property name="ignoreResourceNotFound" value="true"/> 16 </bean> 11 17 </beans> -
vlo/branches/vlo-3.0/vlo-web-app/src/main/webapp/WEB-INF/web.xml
r4498 r4583 44 44 <param-name>contextConfigLocation</param-name> 45 45 <param-value>WEB-INF/applicationContext.xml</param-value> 46 </context-param> 46 </context-param> 47 47 </web-app> -
vlo/branches/vlo-3.0/vlo-web-app/src/test/java/eu/clarin/cmdi/vlo/wicket/pages/TestFacetedSearchPage.java
r4582 r4583 2 2 3 3 import eu.clarin.cmdi.vlo.VloWicketApplication; 4 import eu.clarin.cmdi.vlo.config.DefaultVloConfigFactory; 5 import eu.clarin.cmdi.vlo.config.VloConfigFactory; 4 6 import eu.clarin.cmdi.vlo.config.VloSpringConfig; 5 7 import eu.clarin.cmdi.vlo.pojo.QueryFacetsSelection; … … 23 25 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 24 26 import org.springframework.test.context.support.AnnotationConfigContextLoader; 25 26 27 27 28 /** … … 53 54 return mockery().mock(SolrDocumentService.class); 54 55 } 56 57 @Override 58 public VloConfigFactory vloConfigFactory() { 59 //TODO: Separate test config? -> override vloConfig() instead 60 return new DefaultVloConfigFactory(); 61 } 62 55 63 } 56 64
Note: See TracChangeset
for help on using the changeset viewer.