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

Add stream get utility that produces HTTP result

    XMLWordPrintable

Details

    • CP: sprint 82
    • Core: Platform

    Description

      The new function could be part of PgUtil.getStream
      Proposed prototype:

        streamGet(String table, Class<T> clazz, String cql, int offset, int limit, String element,
              RoutingContext routingContext,   Map<String, String> okapiHeaders, Context vertxContext)
      

      The responseDelegateClass is or collectionClazz is not applicable here.. This streamGet is ONLY to be used for responses with resultInfo.schema.

      From routingContext, the HTTP response can be generated.

      In case of an error after the first record has been sent the connection is closed prematurely. There is no other error reporting. We do not use error reporting using HTTP trailer ( https://tools.ietf.org/html/rfc7230#section-4.1.2 ).

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases