Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-408

VFC Manager not catching exception generated by NULL VFC URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • Amsterdam Release
    • None

      On NULL URL exception is not caught and Drools engine is not informed of the failure.

      Exception log:

      ERROR RESTManager Thread-38] Failed to POST to /api/nslcm/v1/ns/example-service-id-val-53460/heal

      org.apache.http.client.ClientProtocolException: null

      at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)

              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)

              at org.onap.policy.rest.RESTManager.post(RESTManager.java:81)

              at org.onap.policy.vfc.VFCManager.run(VFCManager.java:75)

              at java.lang.Thread.run(Thread.java:748)

      Caused by: org.apache.http.ProtocolException: Target host is not specified

              at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:70)

              at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:124)

              at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:183)

            ritusood ritusood
            ritusood ritusood
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: