Issue 14700

Assert consistent use of species and taxonKey, replacing name usage and nubKey

14700
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Assert consistent use of species and taxonKey, replacing name usage and nubKey
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2014-01-14 10:52:10.017
Updated: 2014-06-27 17:32:22.728
Resolved: 2014-06-27 17:32:22.693
        
Description: for urls we should be using /species instead of name_usage all over by now. Assert we do not expose NameUsage anywhere anymore.

For keys consistently apply taxonKey everywhere (e.g. search parameters, class properties) instead of using usageKey or nubKey.]]>
    


Author: omeyn@gbif.org
Created: 2014-06-23 16:16:15.38
Updated: 2014-06-23 16:16:15.38
        
See also http://www.gbif.org/developer/occurrence#inventories

    


Author: mdoering@gbif.org
Comment: NameUsage class has a primary "key" property and then also a "nubKey" property that holds the key of the matching backbone usage. Should this be renamed to taxonKey instead? Feels to me we better leave this as nubKey to be clear what it is. But then we use "taxonKey" for the exact same thing in the Occurrence class, so guess its more clear to also use taxonKey in NameUsage then
Created: 2014-06-25 12:47:33.95
Updated: 2014-06-25 12:49:09.444


Author: mdoering@gbif.org
Created: 2014-06-27 17:32:22.726
Updated: 2014-06-27 17:32:22.726
        
API commit:
https://github.com/gbif/gbif-api/commit/6a98ab8af13e3462a8fd23c084b76b24806a610f

CLB:
https://github.com/gbif/checklistbank/commit/2bf29febf4b6d98a21c0bef9d85c4dcb527e2882
https://github.com/gbif/checklistbank/commit/00ca45bf459b82ed6cde53b40d0dfc8fa0623457
https://github.com/gbif/checklistbank/commit/db161abd5585fef931304705e6a47f1e8af5d898

Portal commits:
https://github.com/gbif/portal-web/commit/54a2448ba9958af37499b8654a1a8811dbc92850
https://github.com/gbif/portal-web/commit/5fb897bc3bd4749631ec65b779a2d764ca070c30
https://github.com/gbif/portal-web/commit/40ffd1cdf5e82298e1cf2ee3607e612337ca0ade
https://github.com/gbif/portal-web/commit/de0c6907f6abbe5e32bec8f8b8e40778adb1dd33