From e6450b796fe8a2b7c9141561bb9a16a2d78fc252 Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 3 Aug 2023 12:15:37 +0200 Subject: [PATCH] Add basic artifact service --- .../application/artifact_deployment_service.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/python/ddadevops/application/artifact_deployment_service.py diff --git a/src/main/python/ddadevops/application/artifact_deployment_service.py b/src/main/python/ddadevops/application/artifact_deployment_service.py new file mode 100644 index 0000000..f90847a --- /dev/null +++ b/src/main/python/ddadevops/application/artifact_deployment_service.py @@ -0,0 +1,15 @@ +from ..infrastructure import GitApi + + +class ArtifactDeploymentService: + def __init__(self, git_api: GitApi): + self.git_api = git_api + + @classmethod + def prod(cls): + return cls( + GitApi(), + ) + +# def __get_base_artifact_release_url(self, base_url: str, organization: str, name: str) -> str: +# return f"{base_url}/{organization}/{name}/releases"