Uploaded image for project: 'Non Realtime RAN Intelligent Controller '
  1. Non Realtime RAN Intelligent Controller
  2. NONRTRIC-204

Policy agent stops polling Consul on any failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium

      Policy agent terminates consul polling on any failure at any time (no connection to consul, no connection to defined config-binding-service, no key/value pair for requested configuration, invalid or otherwise unexpected json configuration response)

      This seems to come down to two different issues in RefreshConfigTask.java:

      1) for loadFromConsul Flux object flow the onErrorResume(this::ignoreError) does not prevent the flow from terminating at the end on HTTP errors

      2) for merge Flux object there doesn't seem to be even any attempted handling for ignoring potential parsing errors of a successfully returned configuration

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            PatrikBuhr Patrik Buhr
            kaihlavi Lasse Kaihlavirta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: