Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4346

Support array of values with etc/*.config files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • karaf
    • None

    Description

      Need support to use array of values property in configuratuon file (*.cfg)

      When trying to use configuration file to persist OSGi configuration in Karaf 3.0.0, there is an issue when using property with array of values. My configuration file is placed in /etc folder and looks something like this:

      property = ["value1","value2"]

      The problem is that array does not get interpreted properly, so in Web Console I see one string value instead of array of values. I figure out that if I use .config as extension for the configuration file, the array gets interpreted properly, but I experience another issue then, like for example that my config file gets overwritten. It seems there is no support for arrays in configration file with file extension .cfg

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              bobanbp Boban Petkovic
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: