summaryrefslogtreecommitdiffstats
path: root/src/petascope/ConfigManager.java
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2010-02-27 15:19:28 +0100
committerAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2010-02-27 15:19:28 +0100
commite9f0983d7bcd4eb770acaf159e2c9451f12c368b (patch)
treee5ae763524d073ad925eea06ca5d00c1d2e9496b /src/petascope/ConfigManager.java
parent1e1f7d348d70a5ae7d2bfdffbb66020205852334 (diff)
Updated Petascope interface.
Petascope can now accept raw XML requests, with or without URL encoding (mimetypes application/x-url-encoded and text/xml), with or without parameter "request".
Diffstat (limited to 'src/petascope/ConfigManager.java')
-rw-r--r--src/petascope/ConfigManager.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/petascope/ConfigManager.java b/src/petascope/ConfigManager.java
index 0a4985c..e369498 100644
--- a/src/petascope/ConfigManager.java
+++ b/src/petascope/ConfigManager.java
@@ -51,7 +51,7 @@ public class ConfigManager {
v3 adds WGS84 handling in WCPS requests. */
private final static String MINOR = "3";
/* Bug-fix count. We have a hack: every WCPS response is written to disk. */
- private final static String BUGFIX = "3-hack";
+ private final static String BUGFIX = "4-hack";
/* Petascope 1.2.0 contains WCS 1.1.0, WCS 2.0, WCS-T 1.0.0 and WCPS 1.0.0 */
public final static String PETASCOPE_VERSION = MAJOR + "." + MINOR + "." + BUGFIX;
@@ -186,6 +186,9 @@ public class ConfigManager {
}
LOG.info("---------------------------");
+ if (CCIP_HACK)
+ LOG.info("-----------CCIP------------");
+ LOG.info("---------------------------");
// log("Print Log: " + PRINT_LOG);
LOG.info(" *** PETASCOPE *** ");
@@ -202,9 +205,9 @@ public class ConfigManager {
LOG.info("WCS-T Default Null Resistance: " + WCST_DEFAULT_NULL_RESISTANCE);
LOG.info("WCS-T Default Datatype: " + WCST_DEFAULT_DATATYPE);
LOG.info(" *** WCS 2.0 *** ");
- LOG.debug("Get Capabilities Template: " + WCS2_GET_CAPABILITIES_TEMPLATE);
- LOG.debug("Describe Coverage Template: " + WCS2_DESCRIBE_COVERAGE_TEMPLATE);
- LOG.debug("Get Capabilities Template: " + WCS2_GET_COVERAGE_TEMPLATE);
+ LOG.trace("Get Capabilities Template: " + WCS2_GET_CAPABILITIES_TEMPLATE.substring(0, 100));
+ LOG.trace("Describe Coverage Template: " + WCS2_DESCRIBE_COVERAGE_TEMPLATE.substring(0, 100));
+ LOG.trace("Get Capabilities Template: " + WCS2_GET_COVERAGE_TEMPLATE.substring(0, 100));
LOG.info("---------------------------");
}