Opened 13 years ago
Closed 13 years ago
#523 closed enhancement (fixed)
Make uuid of metadata from OGC WXS layer/feature/coverage persistent on harvest re-run
Reported by: | awalsh | Owned by: | craigj |
---|---|---|---|
Priority: | major | Milestone: | v2.6.5 |
Component: | General | Version: | v2.6.4 |
Keywords: | fileIdentifier, uuid, OGC WxS harvester | Cc: | craig.jones@… |
Description
Problem:
Repeated runs of the OGC WxS harvester are making non-unique fileIdentifier (uuid) of layer(WMS), feature (WFS) or coverage (WCS) metadata records. This was creating problems with duplicated metadata records in some catalogues that in turn harvest off the Geonetwork e.g Australian National Data Service - Research Data Australia catalouge. (ANDS-RDA). ANDS-RDA use an OAI-PMH harvest off Geonetwork. Duplicated records with all details the same except for uuid are ending up in the ANDS-RDA as a new uuid is seen as a new record.
Solution:
Make the uuid persistent on re-runs of the harvester by making a md5 hash of the GetCapabilities URL plus the layer name (WMS) or feature type (WFS) or coverage name (WCS) i.e
--- md5 the full capabilities URL + the layer, coverage or feature name the dataset identifier reg.uuid = Util.scramble (this.capabilitiesUrl+"#"+reg.name);
A patch kindly provided by Craig Jones of IMOS/emII is attached
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | consistent-19115-uuid.patch added |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch