From b06b9ab8a2c892871d74353fa80aa0bb3b0597ff Mon Sep 17 00:00:00 2001 From: jem Date: Tue, 18 Jan 2022 20:10:18 +0100 Subject: [PATCH] refactor: *.k3s -> server --- .idea-configs/cli-MyIdeConfig.yaml.run.xml | 2 +- .../application/Application.kt | 6 +++--- .../application/CliWorkplace.kt | 4 ++-- .../application/CliWorkplaceCommand.kt | 2 +- .../application/CliWorkplaceParser.kt | 2 +- .../domain/ProvisionWorkplace.kt | 4 ++-- .../domain/WorkplaceConfig.kt | 2 +- .../provs/desktop/domain/WorkplaceType.kt | 5 +++++ .../{workplace => desktop}/infrastructure/Bash.kt | 2 +- .../infrastructure/ConfigRepository.kt | 4 ++-- .../{workplace => desktop}/infrastructure/DevOps.kt | 2 +- .../{workplace => desktop}/infrastructure/Docker.kt | 2 +- .../infrastructure/Fakturama.kt | 2 +- .../{workplace => desktop}/infrastructure/Gopass.kt | 2 +- .../infrastructure/GopassBridge.kt | 2 +- .../infrastructure/IntelliJ.kt | 2 +- .../infrastructure/NoSwappiness.kt | 2 +- .../infrastructure/PackageBundles.kt | 2 +- .../{workplace => desktop}/infrastructure/Python.kt | 2 +- .../infrastructure/Redshift.kt | 2 +- .../{workplace => desktop}/infrastructure/VSCode.kt | 2 +- .../infrastructure/VirtualBoxGuest.kt | 2 +- .../{workplace => desktop}/infrastructure/Zim.kt | 2 +- .../server_software/k3s/application/Application.kt | 13 ------------- .../k3s/infrastructure => server}/apple/Apple.kt | 6 +++--- .../provs/server/application/Application.kt | 13 +++++++++++++ .../k3s => server}/application/Cli.kt | 4 ++-- .../application/CliK3sArgumentsParser.kt | 2 +- .../k3s => server}/application/CliK3sCommand.kt | 2 +- .../server_software/k3s => server}/domain/K3d.kt | 2 +- .../server_software/k3s => server}/domain/K3s.kt | 2 +- .../provs/workplace/domain/WorkplaceType.kt | 5 ----- .../application/CliWorkplaceKtTest.kt | 11 +++++------ .../infrastructure/ConfigRepositoryKtTest.kt | 4 ++-- .../infrastructure/DevOpsKtTest.kt | 2 +- .../infrastructure/PythonKtTest.kt | 2 +- .../infrastructure/VSCodeKtTest.kt | 2 +- .../workplace/ProvisionWorkplaceKtTest.kt | 6 +++--- .../extensions/workplace/base/FakturamaKtTest.kt | 2 +- .../extensions/workplace/base/GopassBridgeKtTest.kt | 8 ++++---- .../extensions/workplace/base/GopassKtTest.kt | 2 +- .../extensions/workplace/base/VSCodeKtTest.kt | 2 +- .../application/CliK3sCommandKtTest.kt | 4 +++- .../k3s => server}/application/CliKtTest.kt | 3 ++- .../k3s => server}/domain/K3dKtTest.kt | 6 +++--- 45 files changed, 82 insertions(+), 80 deletions(-) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/application/Application.kt (56%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/application/CliWorkplace.kt (90%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/application/CliWorkplaceCommand.kt (80%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/application/CliWorkplaceParser.kt (93%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/domain/ProvisionWorkplace.kt (96%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/domain/WorkplaceConfig.kt (85%) create mode 100644 src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/domain/WorkplaceType.kt rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Bash.kt (94%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/ConfigRepository.kt (90%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/DevOps.kt (98%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Docker.kt (83%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Fakturama.kt (91%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Gopass.kt (98%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/GopassBridge.kt (98%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/IntelliJ.kt (70%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/NoSwappiness.kt (82%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/PackageBundles.kt (88%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Python.kt (93%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Redshift.kt (91%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/VSCode.kt (97%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/VirtualBoxGuest.kt (93%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/Zim.kt (90%) delete mode 100644 src/main/kotlin/org/domaindrivenarchitecture/provs/framework/extensions/server_software/k3s/application/Application.kt rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s/infrastructure => server}/apple/Apple.kt (85%) create mode 100644 src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/Application.kt rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/application/Cli.kt (79%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/application/CliK3sArgumentsParser.kt (81%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/application/CliK3sCommand.kt (90%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/domain/K3d.kt (95%) rename src/main/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/domain/K3s.kt (94%) delete mode 100644 src/main/kotlin/org/domaindrivenarchitecture/provs/workplace/domain/WorkplaceType.kt rename src/test/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/application/CliWorkplaceKtTest.kt (91%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/ConfigRepositoryKtTest.kt (91%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/DevOpsKtTest.kt (95%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/PythonKtTest.kt (86%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{workplace => desktop}/infrastructure/VSCodeKtTest.kt (88%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/application/CliK3sCommandKtTest.kt (84%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/application/CliKtTest.kt (67%) rename src/test/kotlin/org/domaindrivenarchitecture/provs/{framework/extensions/server_software/k3s => server}/domain/K3dKtTest.kt (87%) diff --git a/.idea-configs/cli-MyIdeConfig.yaml.run.xml b/.idea-configs/cli-MyIdeConfig.yaml.run.xml index 7354a10..003b3c4 100644 --- a/.idea-configs/cli-MyIdeConfig.yaml.run.xml +++ b/.idea-configs/cli-MyIdeConfig.yaml.run.xml @@ -1,7 +1,7 @@