diff --git a/build.py b/build.py index 20dd7d9..2a1cb1a 100644 --- a/build.py +++ b/build.py @@ -28,7 +28,7 @@ use_plugin("python.distutils") default_task = "publish" name = "ddadevops" -version = "0.6.2.dev0" +version = "0.7.0.dev" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/python/ddadevops/dda_pallet_mixin.py b/src/main/python/ddadevops/dda_tenant_mixin.py similarity index 93% rename from src/main/python/ddadevops/dda_pallet_mixin.py rename to src/main/python/ddadevops/dda_tenant_mixin.py index e42690f..503e5c5 100644 --- a/src/main/python/ddadevops/dda_pallet_mixin.py +++ b/src/main/python/ddadevops/dda_tenant_mixin.py @@ -4,8 +4,8 @@ from .python_util import * from .devops_build import DevopsBuild -def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name): - config.update({'DdaPalletMixin': +def add_dda_tenant_mixin_config(config, tenant, application, domain_file_name): + config.update({'DdaTenantMixin': {'tenant': tenant, 'application': application, 'domain_file_name': domain_file_name, @@ -20,11 +20,11 @@ def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name): return config -class DdaPalletMixin(DevopsBuild): +class DdaTenantMixin(DevopsBuild): def __init__(self, project, config): super().__init__(project, config) - dda_pallet_mixin_config = config['DdaPalletMixin'] + dda_pallet_mixin_config = config['DdaTenantMixin'] self.tenant = dda_pallet_mixin_config['tenant'] self.application = dda_pallet_mixin_config['application'] self.domain_file_name = dda_pallet_mixin_config['domain_file_name']