Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-92

Revise REST servlet integration

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • integration
    • 8

    Description

      The RestDispatcherServlet is tightly coupled to RESTEasy. The servlet class itself extends from such proprietary class. In addition, as an outcome of MGNLREST-82, we might have an alternate Jersey-based servlet.

      We may reconsider where the RESTEasy/Jersey integration takes place. Ideally the logic of refreshing endpoints from the registry should be extracted to a proper, standard Application class; while config may use default filters provided by RESTEasy or Jersey's respective servlet integration libs.

      Original summary: Extract resteasy from rest-integration

      • Option A. try to replace resteasy-specifics in the RestDispatcherServlet
        • with servlet APIs or Magnolia APIs
        • see also ServletDispatchingFilter, RequestDispatchUtil)
      • Option B. relocate RestDispatcherServlet to the new module

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - 5d
                      5d
                      Remaining:
                      Time Spent - 4d 2.5h Remaining Estimate - 5.5h
                      5.5h
                      Logged:
                      Time Spent - 4d 2.5h Remaining Estimate - 5.5h
                      4d 2.5h