mas-cli 13.26.0__py3-none-any.whl → 13.27.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mas-cli might be problematic. Click here for more details.
- mas/cli/__init__.py +1 -1
- mas/cli/aiservice/install/__init__.py +11 -0
- mas/cli/aiservice/install/app.py +810 -0
- mas/cli/aiservice/install/argBuilder.py +232 -0
- mas/cli/aiservice/install/argParser.py +742 -0
- mas/cli/aiservice/install/params.py +120 -0
- mas/cli/aiservice/install/summarizer.py +193 -0
- mas/cli/cli.py +2 -1
- mas/cli/install/app.py +8 -17
- mas/cli/install/argBuilder.py +5 -5
- mas/cli/install/argParser.py +0 -142
- mas/cli/install/settings/manageSettings.py +0 -26
- mas/cli/install/summarizer.py +7 -27
- mas/cli/templates/ibm-mas-tekton.yaml +4230 -557
- mas/cli/update/app.py +2 -1
- {mas_cli-13.26.0.data → mas_cli-13.27.1.data}/scripts/mas-cli +4 -0
- {mas_cli-13.26.0.dist-info → mas_cli-13.27.1.dist-info}/METADATA +1 -1
- {mas_cli-13.26.0.dist-info → mas_cli-13.27.1.dist-info}/RECORD +20 -14
- {mas_cli-13.26.0.dist-info → mas_cli-13.27.1.dist-info}/WHEEL +0 -0
- {mas_cli-13.26.0.dist-info → mas_cli-13.27.1.dist-info}/top_level.txt +0 -0
mas/cli/install/summarizer.py
CHANGED
|
@@ -153,32 +153,6 @@ class InstallSummarizerMixin():
|
|
|
153
153
|
else:
|
|
154
154
|
self.printSummary("Visual Inspection", "Do Not Install")
|
|
155
155
|
|
|
156
|
-
def aibrokerSummary(self) -> None:
|
|
157
|
-
if self.installAiBroker:
|
|
158
|
-
self.printSummary("AI Broker", self.params["mas_app_channel_aibroker"])
|
|
159
|
-
print_formatted_text(HTML(" <SkyBlue>+ Maximo AI Broker Settings</SkyBlue>"))
|
|
160
|
-
self.printParamSummary(" + Storage provider", "mas_aibroker_storage_provider")
|
|
161
|
-
self.printParamSummary(" + Storage access key", "mas_aibroker_storage_accesskey")
|
|
162
|
-
self.printParamSummary(" + Storage secret key", "mas_aibroker_storage_secretkey")
|
|
163
|
-
self.printParamSummary(" + Storage host", "mas_aibroker_storage_host")
|
|
164
|
-
self.printParamSummary(" + Storage port", "mas_aibroker_storage_port")
|
|
165
|
-
self.printParamSummary(" + Storage ssl", "mas_aibroker_storage_ssl")
|
|
166
|
-
self.printParamSummary(" + Storage region", "mas_aibroker_storage_region")
|
|
167
|
-
self.printParamSummary(" + Storage pipelines bucket", "mas_aibroker_storage_pipelines_bucket")
|
|
168
|
-
self.printParamSummary(" + Storage tenants bucket", "mas_aibroker_storage_tenants_bucket")
|
|
169
|
-
self.printParamSummary(" + Storage templates bucket", "mas_aibroker_storage_templates_bucket")
|
|
170
|
-
self.printParamSummary(" + Watsonxai api key", "mas_aibroker_watsonxai_apikey")
|
|
171
|
-
self.printParamSummary(" + Watsonxai machine learning url", "mas_aibroker_watsonxai_url")
|
|
172
|
-
self.printParamSummary(" + Watsonxai project id", "mas_aibroker_watsonxai_project_id")
|
|
173
|
-
self.printParamSummary(" + Database host", "mas_aibroker_db_host")
|
|
174
|
-
self.printParamSummary(" + Database port", "mas_aibroker_db_port")
|
|
175
|
-
self.printParamSummary(" + Database user", "mas_aibroker_db_user")
|
|
176
|
-
self.printParamSummary(" + Database name", "mas_aibroker_db_database")
|
|
177
|
-
self.printParamSummary(" + Database Secretname", "mas_aibroker_db_secret_name")
|
|
178
|
-
self.printParamSummary(" + Database password", "mas_aibroker_db_secret_value")
|
|
179
|
-
else:
|
|
180
|
-
self.printSummary("AI Broker", "Do Not Install")
|
|
181
|
-
|
|
182
156
|
def manageSummary(self) -> None:
|
|
183
157
|
if self.installManage:
|
|
184
158
|
self.printSummary(f"{'Manage foundation' if self.getParam('is_full_manage') == 'false' else 'Manage'}", self.params["mas_app_channel_manage"])
|
|
@@ -378,6 +352,10 @@ class InstallSummarizerMixin():
|
|
|
378
352
|
self.printH2("Grafana")
|
|
379
353
|
self.printSummary("Install Grafana", "Install" if self.getParam("grafana_action") == "install" else "Do Not Install")
|
|
380
354
|
|
|
355
|
+
def installSummary(self) -> None:
|
|
356
|
+
self.printH2("Install Process")
|
|
357
|
+
self.printSummary("Wait for PVCs to bind", "No" if self.getParam("no_wait_for_pvc") else "Yes")
|
|
358
|
+
|
|
381
359
|
def displayInstallSummary(self) -> None:
|
|
382
360
|
self.printH1("Review Settings")
|
|
383
361
|
self.printDescription([
|
|
@@ -403,7 +381,6 @@ class InstallSummarizerMixin():
|
|
|
403
381
|
self.optimizerSummary()
|
|
404
382
|
self.assistSummary()
|
|
405
383
|
self.inspectionSummary()
|
|
406
|
-
self.aibrokerSummary()
|
|
407
384
|
self.facilitiesSummary()
|
|
408
385
|
|
|
409
386
|
# Application Dependencies
|
|
@@ -414,3 +391,6 @@ class InstallSummarizerMixin():
|
|
|
414
391
|
self.cp4dSummary()
|
|
415
392
|
self.grafanaSummary()
|
|
416
393
|
self.turbonomicSummary()
|
|
394
|
+
|
|
395
|
+
# Install options
|
|
396
|
+
self.installSummary()
|