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

preserve manually added AtomLinks (using addLink on RESTServiceDiscovery field)

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 2.3.2.Final, 3.0.16.Final
    • 3.0.17.Final
    • None
    • 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

            patriot1burke@gmail.com Bill Burke (Inactive)
            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