Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-833

preserve manually added AtomLinks (using addLink on RESTServiceDiscovery field)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.2.Final, 3.0.16.Final
    • Fix Version/s: 3.0.17.Final
    • Component/s: None
    • Labels:
      None

      Description

      We would like to addLink to existing RESTServiceDiscovery field manually in code. Unfortunately RESTUtils.addDiscovery method resets the RESTServiceDiscovery field to the new RESTServiceDiscovery() so all the manually added AtomLinks (using addLink) are lost.

      Is it possible to preserve manually added AtomLinks? It could be a simple patch in RESTUtils.java preserving existing RESTServiceDiscovery field (and thus the atom link collection) if there is one already set.

        Attachments

          Activity

            People

            Assignee:
            bill.burke Bill Burke (Inactive)
            Reporter:
            dip239 Dmitry Palchun (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified