Opened 8 years ago
Closed 8 years ago
#1534 closed defect (fixed)
SECORE Check error with unresolvable CRS from URL with different application name
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.4 |
Component: | secore | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
SECORE's application name is def by default, but if someone wants to deploy with another name like: crs_resolver, it should work as same as default name (e.g: http://localhost:8080/crs_resolver/epsg/0/4326)
Here is an ingredient file which uses SECORE with https and name is def2 and it has error in SECORE.
{ "config": { "service_url": "http://localhost:8080/rasdaman/ows", "tmp_directory": "/tmp/", "crs_resolver": "https://www.foodie-cloud.org/def2/", "default_crs": "https://www.foodie-cloud.org/def2/crs/EPSG/0/32632", "mock": false, "automated": true }, "input": { "coverage_id": "test_AverageChloro", "paths": [ "SCALE*.TIFF" ] }, "recipe": { "name": "time_series_irregular", "options": { "time_parameter": { "filename": { "regex": "(.*)_(.*)\\.(.*)", "group": "2" }, "datetime_format": "YYYY-MM" }, "time_crs": "https://www.foodie-cloud.org/def2/crs/OGC/0/UnixTime", "tiling": "ALIGNED [0:3600, 0:1800, 3]" } } }
Parsing URI: http://localhost:8080/def/crs/OGC/0/AnsiDate?axis-label=%22t%22 DEBUG [08:29:39] SecoreServlet@110: Query data from *cache* for URI request: http://localhost:8080/def/crs/OGC/0/AnsiDate?axis-label=%22t%22 ERROR [08:29:39] EqualityHandler@88: Failed resolving definition: https:/www.foodie-cloud.org/def2/crs/EPSG/0/4326 OperationNotSupported: Can not resolve request: https://www.foodie-cloud.org/def2/crs/EPSG/0/4326/ at secore.Resolver.resolve(Resolver.java:104) at secore.handler.EqualityHandler.handle(EqualityHandler.java:69)
Note:
See TracTickets
for help on using tickets.