oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject svn commit: r1335414 - /oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java
Date Tue, 08 May 2012 11:08:54 GMT
Author: luca
Date: Tue May  8 11:08:54 2012
New Revision: 1335414

URL: http://svn.apache.org/viewvc?rev=1335414&view=rev
Log:
Removing extension ".dods" from OpenDAP URL.

Modified:
    oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java

Modified: oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java
URL: http://svn.apache.org/viewvc/oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java?rev=1335414&r1=1335413&r2=1335414&view=diff
==============================================================================
--- oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java
(original)
+++ oodt/trunk/opendapps/src/main/java/org/apache/oodt/opendapps/extractors/ThreddsMetadataExtractor.java
Tue May  8 11:08:54 2012
@@ -274,7 +274,7 @@ public class ThreddsMetadataExtractor im
     	// add opendap access URL
     	if (type.equalsIgnoreCase(ServiceType.OPENDAP.toString())) {
     		// store opendap URL
-    		ProfileUtils.addIfNotNull(met,"OpendapUrl",url+".dods");
+    		ProfileUtils.addIfNotNull(met,"OpendapUrl",url);
     	  // note: special processing of opendap endpoints since URL in thredds catalog is unusable
without a suffix
     		ProfileUtils.addIfNotNull(met,"Access", this.encodeAccessTuple(url+".html", ProfileUtils.MIME_TYPE_OPENDAP_HTML,
type));
     	} 



Mime
View raw message