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

RoutingContext in Context as property

    XMLWordPrintable

Details

    • CP: Roadmap backlog
    • Core: Platform

    Description

      Streaming API requires the RoutingContext to be passed in APIs.. We have the property generate_routing_context to control this.. It's weird and cumbersome that this has to be checked during API generation and during runtime.. Instead of that control .. we could just store the RoutingContext as an property in Context. That would mean that API would be the same everywhere (we have enough parameters already).

      RestVerticle:

        Context context = ..
        context.put("routingContext", rouringContext);
      
      

      API usage

        RoutingContext routingContext = context.get("routingContext");
      

      This is a followup to RMB-570.. We'd always have the RoutingContext - yet this is a non-breaking change.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases