|
5 | 5 | import tyro
|
6 | 6 |
|
7 | 7 | from contentctl.actions.initialize import Initialize
|
8 |
| -from contentctl.objects.config import init, validate, build, new, deploy_acs, deploy_rest, test, test_servers, inspect, report, test_common, release_notes |
| 8 | +from contentctl.objects.config import init, validate, build, new, deploy_acs, test, test_servers, inspect, report, test_common, release_notes |
9 | 9 | from contentctl.actions.validate import Validate
|
10 | 10 | from contentctl.actions.new_content import NewContent
|
11 | 11 | from contentctl.actions.detection_testing.GitService import GitService
|
@@ -96,11 +96,7 @@ def new_func(config:new):
|
96 | 96 |
|
97 | 97 | def deploy_acs_func(config:deploy_acs):
|
98 | 98 | #This is a bit challenging to get to work with the default values.
|
99 |
| - raise Exception("deploy acs not yet implemented") |
100 |
| - |
101 |
| -def deploy_rest_func(config:deploy_rest): |
102 |
| - raise Exception("deploy rest not yet implemented") |
103 |
| - |
| 99 | + raise Exception("deploy acs not yet implemented") |
104 | 100 |
|
105 | 101 | def test_common_func(config:test_common):
|
106 | 102 | director_output_dto = build_func(config)
|
@@ -176,8 +172,7 @@ def main():
|
176 | 172 | "test":test.model_validate(config_obj),
|
177 | 173 | "test_servers":test_servers.model_construct(**t.__dict__),
|
178 | 174 | "release_notes": release_notes.model_construct(**config_obj),
|
179 |
| - "deploy_acs": deploy_acs.model_construct(**t.__dict__), |
180 |
| - #"deploy_rest":deploy_rest() |
| 175 | + "deploy_acs": deploy_acs.model_construct(**t.__dict__) |
181 | 176 | }
|
182 | 177 | )
|
183 | 178 |
|
@@ -210,8 +205,6 @@ def main():
|
210 | 205 | elif type(config) == deploy_acs:
|
211 | 206 | updated_config = deploy_acs.model_validate(config)
|
212 | 207 | deploy_acs_func(updated_config)
|
213 |
| - elif type(config) == deploy_rest: |
214 |
| - deploy_rest_func(config) |
215 | 208 | elif type(config) == test or type(config) == test_servers:
|
216 | 209 | if type(config) == test:
|
217 | 210 | #construct the container Infrastructure objects
|
|
0 commit comments