Skip to content

Consolidate duplicated logic for extracting ORCIDs #15

Description

@peetucket

We have code that contains logic for extracting ORCIDs from cocina in both dor_indexing_app and in the orcid_client gem. This code is largely duplicative and is sometimes changed in one location, but not the other, which can lead to unexpected bugs. There is also other code in dor_indexing_app that deals with extracting data out of cocina that could be of use to other applications.

See for example:

Consider:

  • moving this logic in the cocina-models gem where it can be easily shared and not duplicated
  • creating a new gem, e.g. cocina-support, that would hold this logic and can be easily updated without requiring a full update of all apps (which is needed to keep cocina-models in sync)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions