Opened 4 years ago
Closed 4 years ago
#2426 closed defect (fixed)
wcst_import - objectExist endpoint should return if a coverage / layer exist as local or remote object
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | wcst_import | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description (last modified by )
From this doc https://doc.rasdaman.org/05_geo-services-guide.html?highlight=objectexists#check-if-a-coverage-layer-exists
rasdaman/ows/objectExists
only returns true/false
without saying the coverage is local
or remote
.
In this case, wcst_import sees a remote coverage as a local coverage and tries to update it which is not allowed (exception in petascope).
If coverage/layer exists, it should return new format true:local
and true:HOSTNAME:PORT
(e.g: true:awi.earthserver.xyz:7000
) for local coverage and remote coverage accordingly.
Change History (4)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
comment:3 by , 4 years ago
I updated the output in the ticket description. With this it is clearer in case of duplicate coverage ids over nodes.
true:local true:HOSTNAME:PORT (e.g: true:awi.earthserver.xyz:7000)
comment:4 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
What if there are multiple remote coverages with same name?
Maybe it is good to also add another parameter to the request: local=true|false? Then the response can be true/false.