Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEOS-8338] Update Community Module 'sldExtension' to new Spring MVC
- TAB to space
- Loading branch information
Alessio Fabiani
committed
Oct 30, 2017
1 parent
da5f609
commit dac9cc4
Showing
36 changed files
with
2,142 additions
and
2,806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 11 additions & 26 deletions
37
src/community/sldService/src/main/java/applicationContext.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2014 - Open Source Geospatial Foundation. All rights reserved. | ||
Copyright (C) 2014 - 2016 Open Source Geospatial Foundation. All rights reserved. | ||
This code is licensed under the GPL 2.0 license, available at the root | ||
application directory. | ||
--> | ||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> | ||
<beans> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans.xsd | ||
http://www.springframework.org/schema/context | ||
http://www.springframework.org/schema/context/spring-context.xsd"> | ||
|
||
<bean id="sldServiceRestConfigMapping" class="org.geoserver.rest.RESTMapping"> | ||
<property name="routes"> | ||
<map> | ||
<entry> | ||
<key><value>/sldservice/{layer}/attributes</value></key> | ||
<value>layerAttributesFinder</value> | ||
</entry> | ||
<entry> | ||
<key><value>/sldservice/{layer}/classify</value></key> | ||
<value>classifierFinder</value> | ||
</entry> | ||
<entry> | ||
<key><value>/sldservice/{layer}/rasterize</value></key> | ||
<value>rasterizerFinder</value> | ||
</entry> | ||
</map> | ||
</property> | ||
</bean> | ||
<!-- <mvc:annotation-driven/> --> | ||
<context:component-scan base-package="org.geoserver.sldservice.rest"/> | ||
|
||
<bean id="layerAttributesFinder" class="org.geoserver.sldservice.rest.finder.LayerAttributesFinder" parent="abstractCatalogFinder"/> | ||
<bean id="classifierFinder" class="org.geoserver.sldservice.rest.finder.ClassifierResourceFinder" parent="abstractCatalogFinder"/> | ||
<bean id="rasterizerFinder" class="org.geoserver.sldservice.rest.finder.RasterizerResourceFinder" parent="abstractCatalogFinder"/> | ||
|
||
</beans> | ||
</beans> |
Oops, something went wrong.