Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-805

RestVerticle should check for implementation at startup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 33.0.0
    • None
    • CP: sprint 108
    • 2
    • Core: Platform

    Description

      When RMBs RestVerticle starts, it checks for all interfaces in org.folio.rest.jaxrs.resource and makes appropriate paths and methods for routing. The check for actual implementation of the class is not performed until RMB gets a request. This has two problems:

      1. Performance. Doesn't seem to be a problem but checking initially should be faster instead of doing it "per" request.

      2. RMB throws an ugly exception for cases where a class is not implemented. This happens if the module is using a generated client. In that case, since the generated client includes the interface, it will throw those exceptions quite often.

      While fixing this, it should also be possible to deal with RMB-319.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss (Inactive)
                adam Adam Dickmeiss (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases