XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0, 0.4.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      As of now multiple endpoint contains the code to handle the amazon specific request id-s.

          setRequestId(OzoneUtils.getRequestID());
      ...
          return Response.ok().status(HttpStatus.SC_NO_CONTENT).header(
              "x-amz-request-id", getRequestId()).header("x-amz-id-2",
              RandomStringUtils.randomAlphanumeric(8, 16)).build();
      

      I propose to handle the request id generation + adding it to the headers in one location which is transparent for all the rest endpoints.

        Attachments

        1. HDDS-585.001.patch
          14 kB
          Elek, Marton
        2. HDDS-585.003.patch
          15 kB
          Elek, Marton
        3. HDDS-585.004.patch
          15 kB
          Elek, Marton

          Activity

            People

            • Assignee:
              elek Elek, Marton
              Reporter:
              elek Elek, Marton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: