Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1750

FileModuleShardConfigProvider should not use hard-coded paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 8994

      tech.pantheon.lodl.controller.initializers.controller.sal.distributed.datastore.DistributedDataStoreFactoryLodlImpl - in the createInstance method, the org.opendaylight.controller.cluster.datastore.config.ConfigurationImpl has hard-coded file names for module-shards.conf and modules.conf and also relative paths to those files is hard-coded in class org.opendaylight.controller.cluster.datastore.config.FileModuleShardConfigProvider

      instead it would be better if path to those configuration files is provided in blueprint of org.opendaylight.controller:sal-distributed-datastore bundle as init parameter of DistributedDataStoreFactoryLodlImpl and passed down into FileModuleShardConfigProvider.

            jakubtoth-0 Jakub Toth
            juraj.veverka@pantheon.tech Juraj Veverka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: