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

Revise REST servlet integration

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: integration
    • Labels:
    • Story Points:
      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Date of First Response:

                  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