From 498927cee918bcddf33f6daaa9bf8795b6eaceac Mon Sep 17 00:00:00 2001
From: Alan Beccati <a.beccati@jacobs-university.de>
Date: Mon, 25 Nov 2013 19:00:13 +0100
Subject: [PATCH] ticket:307 renamed war and endpoints to rasdaman
---
applications/petascope/Makefile.am | 4 +--
.../petascope/src/main/webapp/WEB-INF/web.xml.in | 27 +++++++++++++++-----
systemtest/conf/test.cfg | 8 +++---
3 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/applications/petascope/Makefile.am b/applications/petascope/Makefile.am
index c6f5b69..10d2aa2 100644
a
|
b
|
BUILD = build
|
50 | 50 | DIST = $(BUILD)/dist |
51 | 51 | WEB = $(BUILD)/web |
52 | 52 | CLASSES = $(WEB)/WEB-INF/classes |
53 | | NAME = petascope |
| 53 | NAME = rasdaman |
54 | 54 | WAR_NAME = $(NAME).war |
55 | 55 | WAR = $(DIST)/$(WAR_NAME) |
56 | 56 | APIDOCS = $(BUILD)/apidocs |
… |
… |
clean:
|
189 | 189 | # build jar file |
190 | 190 | .PHONY: jar |
191 | 191 | jar: compileit |
192 | | $(CD) $(CLASSES); $(JAR) $(JARFLAGS) ../../../petascope.jar . |
| 192 | $(CD) $(CLASSES); $(JAR) $(JARFLAGS) ../../../$(NAME).jar . |
193 | 193 | |
194 | 194 | # inject petascope libs into the 52n wps |
195 | 195 | .PHONY: wps |
diff --git a/applications/petascope/src/main/webapp/WEB-INF/web.xml.in b/applications/petascope/src/main/webapp/WEB-INF/web.xml.in
index dab7da0..9bd8eae 100644
a
|
b
|
|
51 | 51 | <param-value>/wms-messages/raswms_msgs_en</param-value> |
52 | 52 | </init-param> |
53 | 53 | </servlet> |
| 54 | |
54 | 55 | <servlet-mapping> |
55 | 56 | <servlet-name>PetaScope Interface</servlet-name> |
56 | 57 | <url-pattern>/*</url-pattern> |
57 | 58 | </servlet-mapping> |
58 | 59 | <servlet-mapping> |
59 | | <servlet-name>wcpsServlet</servlet-name> |
60 | | <url-pattern>/wcps</url-pattern> |
| 60 | <servlet-name>PetaScope Interface</servlet-name> |
| 61 | <url-pattern>/ows/wps</url-pattern> |
| 62 | </servlet-mapping> |
| 63 | <servlet-mapping> |
| 64 | <servlet-name>WmsServlet</servlet-name> |
| 65 | <url-pattern>/ows/wms</url-pattern> |
61 | 66 | </servlet-mapping> |
| 67 | |
62 | 68 | <servlet-mapping> |
63 | | <servlet-name>wcstServlet</servlet-name> |
64 | | <url-pattern>/wcst</url-pattern> |
| 69 | <servlet-name>PetaScope Interface</servlet-name> |
| 70 | <url-pattern>/ows/wcs</url-pattern> |
65 | 71 | </servlet-mapping> |
| 72 | <!-- the above should be replaced with a WCS Interface that handles |
| 73 | different versions of the WCS protocol, invoking the proper classes |
| 74 | and providing overall access to wcs wcs2 and wcst |
66 | 75 | <servlet-mapping> |
67 | 76 | <servlet-name>Wcs2Servlet</servlet-name> |
68 | 77 | <url-pattern>/wcs2</url-pattern> |
69 | 78 | </servlet-mapping> |
70 | 79 | <servlet-mapping> |
71 | | <servlet-name>WmsServlet</servlet-name> |
72 | | <url-pattern>/wms</url-pattern> |
| 80 | <servlet-name>wcstServlet</servlet-name> |
| 81 | <url-pattern>/wcst</url-pattern> |
| 82 | </servlet-mapping> |
| 83 | --> |
| 84 | |
| 85 | <servlet-mapping> |
| 86 | <servlet-name>wcpsServlet</servlet-name> |
| 87 | <url-pattern>/wcps</url-pattern> |
73 | 88 | </servlet-mapping> |
74 | 89 | <servlet-mapping> |
75 | 90 | <servlet-name>RasqlServlet</servlet-name> |
diff --git a/systemtest/conf/test.cfg b/systemtest/conf/test.cfg
index 60b1caf..bdc6ae0 100644
a
|
b
|
export PG_PORT=5432
|
57 | 57 | export PS_DB=petascopedb |
58 | 58 | |
59 | 59 | export WCPS_PORT=8080 |
60 | | export PETASCOPE_URL="http://localhost:$WCPS_PORT/petascope" |
61 | | export WCS_URL="$PETASCOPE_URL" |
62 | | export WCPS_URL="$PETASCOPE_URL/wcps" |
63 | | export WMS_URL="$PETASCOPE_URL/wms" |
| 60 | export PETASCOPE_URL="http://localhost:$WCPS_PORT/rasdaman" |
| 61 | export WCS_URL="$PETASCOPE_URL/ows/wcs" |
| 62 | export WCPS_URL="$PETASCOPE_URL/ows/wcps" |
| 63 | export WMS_URL="$PETASCOPE_URL/ows/wms" |
64 | 64 | |
65 | 65 | # ------------------------------------------------------------------------------ |
66 | 66 | # secore connection details |