Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-2045

Swagger UI Integration Test fails in OOM Deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • New Delhi Release
    • New Delhi Release
    • CPS-Core
    • None

      As per message from andreasgeissler 

      "Hi Team,
      you added the Swagger UI tests, but they are failing in the gating tests:
      https://logs.onap.org/onap-integration/gating/137070-1/
      What is the reason ?" 

      Discussed during community and suspect Security Config in OOM needs to be updated to allow Swagger UI URLs

      1. waqas.ikram  wil check and make OM updates as needed
      2. andreasgeissler wil test the fix

       

      Log:

      GET Response : url=http://cps-core:8080/swagger-ui/index.html 
       status=401, reason=Unauthorized 
       headers={'Date': 'Wed, 24 Jan 2024 02:23:41 GMT', 'WWW-Authenticate': 'Basic realm="Realm", Basic realm="Realm"', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '0', 'Pragma': 'no-cache', 'X-Frame-Options': 'DENY', 'Set-Cookie': 'JSESSIONID=node01ieehwjgg0h2415tsfjkjrlg9m2.node0; Path=/', 'Cache-Control': 'must-revalidate,no-cache,no-store', 'Content-Type': 'text/html;charset=iso-8859-1', 'Content-Length': '403', 'x-envoy-upstream-service-time': '5', 'server': 'istio-envoy', 'x-envoy-decorator-operation': 'cps-core.onap.svc.cluster.local:8080/*'} 
       body=<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
      <title>Error 401 Unauthorized</title>
      </head>
      <body><h2>HTTP ERROR 401 Unauthorized</h2>
      <table>
      <tr><th>URI:</th><td>/swagger-ui/index.html</td></tr>
      <tr><th>STATUS:</th><td>401</td></tr>
      <tr><th>MESSAGE:</th><td>Unauthorized</td></tr>
      <tr><th>SERVLET:</th><td>dispatcherServlet</td></tr>
      </table>
      
      </body>
      </html>

            waqas.ikram waqas.ikram
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: