@@ -0,0 +1,1797 @@
+import importlib%0A%0Aimport yaml%0A%0Afrom settings import Settings%0A%0Asettings = Settings()%0A%0Aclass Configuration(object):%0A%0A    def __init__(self, configuration):%0A        self.configuration = configuration%0A%0A    @property%0A    def dir(self):%0A        return settings.basedir / self.configuration%0A%0A    @property%0A    def inputs_path(self):%0A        return self.dir / 'inputs.yaml'%0A%0A    @property%0A    def inputs(self):%0A        return self._load(self.inputs_path)%0A%0A    @inputs.setter%0A    def inputs(self, value):%0A        self._dump(value, self.inputs_path)%0A%0A    @property%0A    def manager_blueprint_dir(self):%0A        return self.dir / 'manager-blueprint'%0A%0A    @property%0A    def manager_blueprint_path(self):%0A        return self.manager_blueprint_dir / 'manager-blueprint.yaml'%0A%0A    @property%0A    def manager_blueprint(self):%0A        return self._load(self.manager_blueprint_path)%0A%0A    @manager_blueprint.setter%0A    def manager_blueprint(self, value):%0A        self._dump(value, self.manager_blueprint_path)%0A%0A    @property%0A    def handler_configuration_path(self):%0A        return self.dir / 'handler-configuration.yaml'%0A%0A    @property%0A    def handler_configuration(self):%0A        return self._load(self.handler_configuration_path)%0A%0A    @handler_configuration.setter%0A    def handler_configuration(self, value):%0A        self._dump(value, self.handler_configuration_path)%0A%0A    @property%0A    def handler(self):%0A        handler_module_path = 'system_tests.%7B0%7D'.format(%0A            self.handler_configuration%5B'handler'%5D)%0A        handler_module = importlib.import_module(handler_module_path)%0A        handler_cls = handler_module.handler%0A%0A    def _load(self, obj_path):%0A        return yaml.load(obj_path.text())%0A%0A    def _dump(self, obj, obj_path):%0A        obj_path.write_text(yaml.safe_dump(obj, default_flow_style=False))%0A

add configuration wrapper