Uploaded image for project: 'Data Movement as a Platform'
  1. Data Movement as a Platform
  2. DMAAP-1714

[DR] DataRouter not support connection without TLS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Kohn Release
    • Jakarta Release
    • None

      DataRouter not support connection without TLS.

      Service-mesh compatibility require communication without TLS . No-tls communication could be used in bulk-pm flow. 

      The DataRouter always return 403 status code when GET/PUT request is established by plain http protocol.
      See method: org.onap.dmaap.datarouter.node.NodeServlet#getFileId

      if (!req.isSecure()) {
          eelfLogger.error(
                  "NODE0104 Rejecting insecure PUT or DELETE of " + req.getPathInfo() + FROM + req
                          .getRemoteAddr());
          resp.sendError(HttpServletResponse.SC_FORBIDDEN, "https required on publish requests");
          eelfLogger.info(EelfMsgs.EXIT);
          return null;
      }
      

      Plain HTTP request should be allowed or it should be configurable.

            efiacor efiacor
            twrobel twrobel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: