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

Rename Discovery configuration for Entities

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      With a new improvement in the Angular Search UI (https://github.com/DSpace/dspace-angular/pull/442), the configurations in Discovery now can be used from the UI to provide different, custom search pages (per Entity type, etc).

      Essentially, this means that Discovery configuration names are replicated to the UI layer as paths, e.g. [dspace.ui]/search/personConfiguration would use the configuration here: https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L58

      Because of this improvement, I'd recommend these Discovery configurations all be renamed to drop the "Configuration": https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L57-L62

      So, for example:

      <entry key="publication" value-ref="publicationConfiguration"/>
      <entry key="person" value-ref="personConfiguration"/>
      etc.

      I'm not entirely sure if this change will affect other code...it may be a simple rename in the configuration

        Attachments

          Activity

            People

            Assignee:
            benbosman Ben Bosman
            Reporter:
            tdonohue Tim Donohue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: