Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28655

Allow yaml config options to be parsed as a single bson blob

    XMLWordPrintable

    Details

      Description

      Some of our configuration options in our YAML config file need to contain structured configuration data. For example, right now, the LDAP userToDNMapping is provided a string containing JSON. This means, we must read in the string, and transform it from JSON to BSON. It would be preferable if we could accept the userToDNMapping as YAML list, point our configuration parser at the relevant node in the tree, and convert everything below it into a BSONObj which we can more easily work with. This will make it much easier for a user to correctly enter a well formatted input.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: