From 50f8e0d3eb84b150d060bf3b2f135b3f02e7eb00 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 1 May 2020 17:38:05 +0200 Subject: [PATCH] breaking-change: dda-pallet-mixin -> dda-tenant-mixin --- build.py | 2 +- .../{dda_pallet_mixin.py => dda_tenant_mixin.py} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/main/python/ddadevops/{dda_pallet_mixin.py => dda_tenant_mixin.py} (93%) 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']