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

NONRTRIC - PMS Fix dynamic configuration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium

      Updating of dynamic configuration via REST does not work.

      The problem is that the config cannot be updated via REST if the file is controlled by a configmap.

      The configmap for PMS application will only be used for initial configuration after this change.

      When the PMS is started, the initial configuration is copied to the configuration file location unless the configuration file is already there.

       

      The configuration file moved to a persistent volume.

       

      Details:

      The configuration file is moved from
      /opt/app/policy-agent/data/application_configuration.json -> /var/policy-management-service/application_configuration.json

      /var/policy-management-service/ is mapped to a persistent volume claim.

      Config map which now is only initial (installation) data is mapped to:
      /etc/app/policy-management-service/initialdata

      An init container copies the initial configuration file /etc/app/policy-management-service/initialdata/application_configuration.json to /var/policy-management-service/
      unless it is already there.

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

            PatrikBuhr Patrik Buhr
            estsonsan Sonia Sangari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: