Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-999

POMBA SDNC Context Builder: Use direct GET instead of search query to get service instance

XMLWordPrintable

      POMBA SDNC Context Builder is getting the 403 Forbidden message for the following query.

      bash-4.3# tail -f /opt/app/logs/EELF/application.log
      2019-03-04 17:02:02,187|||main||||INFO||||||| Route: apiMapperRoute started and consuming from: direct://startRoutingProcess
      2019-03-04 17:02:02,187|||main||||INFO||||||| Total 1 routes, of which 1 are started
      2019-03-04 17:02:02,188|||main||||INFO||||||| Apache Camel 2.21.1 (CamelContext: camel-1) started in 1.198 seconds
      2019-03-04 17:02:05,281|||main||||INFO||||||| Initializing Spring FrameworkServlet 'dispatcherServlet'
      2019-03-04 17:02:05,281|||main||||INFO||||||| FrameworkServlet 'dispatcherServlet': initialization started
      2019-03-04 17:02:05,391|||main||||INFO||||||| FrameworkServlet 'dispatcherServlet': initialization completed in 109 ms
      2019-03-04 17:02:05,395|||main||||INFO||||||| Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=/sdnccontextbuilder/v1]
      2019-03-04 17:02:05,574|||main||||INFO||||||| Started ServerConnector@79e4c792{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
      2019-03-04 17:02:05,575|||main||||INFO||||||| Jetty started on port(s) 8080 (http/1.1)
      2019-03-04 17:02:05,581|||main||||INFO||||||| Started Application in 49.192 seconds (JVM running for 51.057)
      2019-03-04 19:06:36,221|fc47def7-b1bb-4be7-b1cd-d22d3fabc05b|PombaDemoCust_001-ServiceInst-001|qtp1107217291-129||SdncContextBuilder|11af11ae-b0f5-44bb-a538-8ec4e27ac9f7|INFO|||pomba-pomba-sdncctxbuilder-c64ddc8f9-n8xcb|||| AC0001I|AC0001I GET request at url = https://aai.onap:8443/aai/v13/search/nodes-query?search-node-type=service-instance&filter=service-instance-id:EQUALS:PombaDemoCust_001-ServiceInst-001|
      2019-03-04 19:06:37,790|fc47def7-b1bb-4be7-b1cd-d22d3fabc05b|PombaDemoCust_001-ServiceInst-001|qtp1107217291-129||SdncContextBuilder|11af11ae-b0f5-44bb-a538-8ec4e27ac9f7|INFO|||pomba-pomba-sdncctxbuilder-c64ddc8f9-n8xcb|||| AC0003I|AC0003I GET request operation time = 1574 ms for link = https://aai.onap:8443/aai/v13/search/nodes-query?search-node-type=service-instance&filter=service-instance-id:EQUALS:PombaDemoCust_001-ServiceInst-001|
      2019-03-04 19:06:37,790|fc47def7-b1bb-4be7-b1cd-d22d3fabc05b|PombaDemoCust_001-ServiceInst-001|qtp1107217291-129||SdncContextBuilder|11af11ae-b0f5-44bb-a538-8ec4e27ac9f7|INFO|||pomba-pomba-sdncctxbuilder-c64ddc8f9-n8xcb|||| AC0004I|AC0004I request at url = https://aai.onap:8443/aai/v13/search/nodes-query?search-node-type=service-instance&filter=service-instance-id:EQUALS:PombaDemoCust_001-ServiceInst-001 resulted in http response: 403 Forbidden|

       Change the POMBA SDNC context builder to use direct GET for the service instance.

      A separate AAI is created to track the "403 Forbidden" response:

      https://jira.onap.org/browse/AAI-2202

       

            yong_chen yong_chen
            yong_chen yong_chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: