Issue 12222

Merge dwca endpoint types into single DWCA enum value

12222
Reporter: mdoering
Type: Improvement
Summary: Merge dwca endpoint types into single DWCA enum value
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-11-06 12:57:51.605
Updated: 2013-12-06 13:16:00.175
Resolved: 2013-08-29 15:23:23.584
        
Description: there are 2 enum values for dwc archives which also encode the dataset type which we have as a separate enum on the dataset object:
  DWC_ARCHIVE_CHECKLIST
  DWC_ARCHIVE_OCCURRENCE

There should only be one DWCA endpoint type left and the dataset.type used to distinguish between checklists and occurrences]]>
    


Author: mdoering@gbif.org
Comment: review http://dev.gbif.org/code/cru/CR-GBIFCOM-5
Created: 2012-11-06 14:20:11.788
Updated: 2012-11-06 14:20:11.788


Author: trobertson@gbif.org
Comment: As mentioned on the review, I propose these need to be deprecated until legacy systems dictate that they can be deleted.
Created: 2012-11-06 15:51:43.749
Updated: 2012-11-06 15:51:43.749


Author: mdoering@gbif.org
Created: 2012-11-06 15:58:23.725
Updated: 2012-11-06 15:58:23.725
        
So we deprecate them but still already add the new DWCA type, yes?
So we have some time to update the GBRDS (WS) so that it can deal with both the old and new types externally, but use the new one internally? And at that point we can udpate the registy to use the new type and remove the deprecated values from the enum?
    


Author: mdoering@gbif.org
Comment: deprecated them in http://code.google.com/p/gbif-common-resources/source/detail?r=1176
Created: 2012-11-08 15:19:20.184
Updated: 2012-11-08 15:19:20.184


Author: mdoering@gbif.org
Created: 2013-08-29 15:23:23.664
Updated: 2013-08-29 15:23:23.664
        
gone already:
https://code.google.com/p/gbif-common-resources/source/browse/gbif-api/trunk/src/main/java/org/gbif/api/vocabulary/EndpointType.java