Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4475

Add support for Controlled Vocabulary in the REST API v7

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Code Review Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      DSpace provides support for hierarchical vocabulary defined in external xml files https://wiki.lyrasis.org/display/DSDOC7x/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-HierarchicalTaxonomiesandControlledVocabularies

      and it supported by the authority control (isHierarchical() method) already exposed over the new REST API, see
      https://github.com/DSpace/Rest7Contract/blob/master/authorities.md

      Nevertheless, to build an efficient UX we need to add some extra feature as

      • the capability to configure which level are shown open by default
      • the capability to get the top element in a vocabulary to start to build the tree
      • a search capability by parent to allow an easy drilldown

      These features have been already implemented in DSpace-CRIS 7 but need to be cleaned, formalized (rest contract) and enriched with proper test to be included in DSpace 7

      See commits
      REST:
      https://github.com/4Science/DSpace/commit/129909f4435d3f9b936e8920f115b4163961a325
      https://github.com/4Science/DSpace/commit/ccda1ef80ee390e0f59520ba4528ed4c2c646641
      https://github.com/4Science/DSpace/commit/672f486380708dd2e3ac4bd21390b290d352ad2f
      https://github.com/4Science/DSpace/commit/60aae2d59111512f90e7fd35861a6955cdb1d436
      https://github.com/4Science/DSpace/commit/23df3c708e975f1ca5ec761df3e8535d7911da56
      https://github.com/4Science/DSpace/commit/0859dc0ceb186132364ba75ad1bb93bc2d8971fe
      https://github.com/4Science/DSpace/commit/dfb5fdf50aeb389053df71b8cfda880d59da3906
      https://github.com/4Science/DSpace/commit/cc8139a78e00cedaecfb47c05ea41efa939120ba
      https://github.com/4Science/DSpace/commit/96ea1644c55c1429e8c8b4f1972d546a625ddc59
      https://github.com/4Science/DSpace/commit/1fdf95c3d6b17952ba8761b673021c4e21381eb9
      https://github.com/4Science/DSpace/commit/15f5c64b54bd06d03bef4effb4f354f906c6e366
      https://github.com/4Science/DSpace/commit/d6ade530b412a8c75fdb483ee5b753780c4bb2ae

      Angular
      https://github.com/4Science/dspace-angular/commit/62e31e8755dfd12d8ab04233ec7ac500d4091f9f
      https://github.com/4Science/dspace-angular/commit/719b043c59b992a51ce85918ec1ba653cd688689

        Attachments

          Activity

            People

            Assignee:
            bollini Andrea Bollini (4Science)
            Reporter:
            bollini Andrea Bollini (4Science)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: