reviwe
This commit is contained in:
parent
d6d668902b
commit
d4d49970ec
4 changed files with 25 additions and 0 deletions
20
doc/architecture/Architecture.md
Normal file
20
doc/architecture/Architecture.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Architecture
|
||||
|
||||
|
||||
```mermaid
|
||||
C4Context
|
||||
title Architectrue od dda-devops-build
|
||||
|
||||
Component(buildAndMixin, "Build and Mixin", "")
|
||||
Component(app, "Application", "")
|
||||
Component(dom, "Domain", "")
|
||||
Component(infra, "Infrastructure", "")
|
||||
|
||||
Rel(buildAndMixin,app, "use")
|
||||
Rel(buildAndMixin,dom, "use")
|
||||
Rel(app, dom, "use")
|
||||
Rel(app, infra, "use")
|
||||
|
||||
UpdateLayoutConfig($c4ShapeInRow="2", $c4BoundaryInRow="1")
|
||||
|
||||
```
|
|
@ -1,6 +1,8 @@
|
|||
# TODO: jem, zam - 2023_04_14: move content to src/main/python/ddadevops/infrastructure.py (or subdir)
|
||||
from .domain import Release, Version, ReleaseType, EnvironmentKeys
|
||||
from .infrastructure_api import FileHandler, GitApi, EnvironmentApi
|
||||
|
||||
|
||||
class VersionRepository():
|
||||
|
||||
def __init__(self, file):
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# TODO: jem, zam - 2023_04_14: Discuss if we can move more functionality to domain?
|
||||
import json
|
||||
import re
|
||||
import subprocess as sub
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
# TODO: jem, zam - 2023_04_14: Move this services to application layer
|
||||
from .infrastructure import ReleaseRepository
|
||||
from .infrastructure_api import GitApi
|
||||
from .domain import Version, Release
|
||||
|
||||
|
||||
class PrepareReleaseService():
|
||||
|
||||
def __init__(self, release_repo: ReleaseRepository):
|
||||
|
|
Loading…
Reference in a new issue