mas-cli 13.25.1__py3-none-any.whl → 13.27.0__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 +16 -3
- mas/cli/gencfg.py +23 -0
- mas/cli/install/app.py +35 -25
- mas/cli/install/argBuilder.py +13 -13
- mas/cli/install/argParser.py +26 -167
- mas/cli/install/catalogs.py +3 -2
- mas/cli/install/params.py +4 -4
- mas/cli/install/settings/db2Settings.py +4 -2
- mas/cli/install/settings/manageSettings.py +3 -27
- mas/cli/install/summarizer.py +8 -27
- mas/cli/templates/facilities-configs.yml.j2 +25 -0
- mas/cli/templates/ibm-mas-tekton.yaml +4407 -547
- mas/cli/update/app.py +8 -5
- mas/cli/validators.py +13 -0
- {mas_cli-13.25.1.data → mas_cli-13.27.0.data}/scripts/mas-cli +4 -0
- {mas_cli-13.25.1.dist-info → mas_cli-13.27.0.dist-info}/METADATA +1 -1
- {mas_cli-13.25.1.dist-info → mas_cli-13.27.0.dist-info}/RECORD +26 -19
- {mas_cli-13.25.1.dist-info → mas_cli-13.27.0.dist-info}/WHEEL +0 -0
- {mas_cli-13.25.1.dist-info → mas_cli-13.27.0.dist-info}/top_level.txt +0 -0
mas/cli/install/argParser.py
CHANGED
|
@@ -170,7 +170,6 @@ masAdvancedArgGroup.add_argument(
|
|
|
170
170
|
required=False,
|
|
171
171
|
help="Configure MAS with a custom domain"
|
|
172
172
|
)
|
|
173
|
-
|
|
174
173
|
masAdvancedArgGroup.add_argument(
|
|
175
174
|
"--disable-walkme",
|
|
176
175
|
dest="mas_enable_walkme",
|
|
@@ -373,153 +372,12 @@ masAppsArgGroup.add_argument(
|
|
|
373
372
|
choices=["full", "limited"],
|
|
374
373
|
help="Install plan for Maximo Optimizer"
|
|
375
374
|
)
|
|
376
|
-
masAppsArgGroup.add_argument(
|
|
377
|
-
"--aibroker-channel",
|
|
378
|
-
required=False,
|
|
379
|
-
help="Subscription channel for Maximo Ai Broker"
|
|
380
|
-
)
|
|
381
375
|
masAppsArgGroup.add_argument(
|
|
382
376
|
"--facilities-channel",
|
|
383
377
|
required=False,
|
|
384
378
|
help="Subscription channel for Maximo Real Estate and Facilities"
|
|
385
379
|
)
|
|
386
380
|
|
|
387
|
-
# AI Broker
|
|
388
|
-
# -----------------------------------------------------------------------------
|
|
389
|
-
aibrokerArgGroup = installArgParser.add_argument_group("Maximo AI Broker")
|
|
390
|
-
aibrokerArgGroup.add_argument(
|
|
391
|
-
"--mas-aibroker-storage-provider",
|
|
392
|
-
dest="mas_aibroker_storage_provider",
|
|
393
|
-
required=False,
|
|
394
|
-
help="Customize Manage database encryption keys"
|
|
395
|
-
)
|
|
396
|
-
aibrokerArgGroup.add_argument(
|
|
397
|
-
"--mas-aibroker-storage-accesskey",
|
|
398
|
-
dest="mas_aibroker_storage_accesskey",
|
|
399
|
-
required=False,
|
|
400
|
-
help="Customize Manage database encryption keys"
|
|
401
|
-
)
|
|
402
|
-
aibrokerArgGroup.add_argument(
|
|
403
|
-
"--mas-aibroker-storage-secretkey",
|
|
404
|
-
dest="mas_aibroker_storage_secretkey",
|
|
405
|
-
required=False,
|
|
406
|
-
help="Customize Manage database encryption keys"
|
|
407
|
-
)
|
|
408
|
-
aibrokerArgGroup.add_argument(
|
|
409
|
-
"--mas-aibroker-storage-host",
|
|
410
|
-
dest="mas_aibroker_storage_host",
|
|
411
|
-
required=False,
|
|
412
|
-
help="Customize Manage database encryption keys"
|
|
413
|
-
)
|
|
414
|
-
aibrokerArgGroup.add_argument(
|
|
415
|
-
"--mas-aibroker-storage-port",
|
|
416
|
-
dest="mas_aibroker_storage_port",
|
|
417
|
-
required=False,
|
|
418
|
-
help="Customize Manage database encryption keys"
|
|
419
|
-
)
|
|
420
|
-
aibrokerArgGroup.add_argument(
|
|
421
|
-
"--mas-aibroker-storage-ssl",
|
|
422
|
-
dest="mas_aibroker_storage_ssl",
|
|
423
|
-
required=False,
|
|
424
|
-
help="Customize Manage database encryption keys"
|
|
425
|
-
)
|
|
426
|
-
aibrokerArgGroup.add_argument(
|
|
427
|
-
"--mas-aibroker-storage-region",
|
|
428
|
-
dest="mas_aibroker_storage_region",
|
|
429
|
-
required=False,
|
|
430
|
-
help="Customize Manage database encryption keys"
|
|
431
|
-
)
|
|
432
|
-
aibrokerArgGroup.add_argument(
|
|
433
|
-
"--mas-aibroker-storage-pipelines-bucket",
|
|
434
|
-
dest="mas_aibroker_storage_pipelines_bucket",
|
|
435
|
-
required=False,
|
|
436
|
-
help="Customize Manage database encryption keys"
|
|
437
|
-
)
|
|
438
|
-
aibrokerArgGroup.add_argument(
|
|
439
|
-
"--mas-aibroker-storage-tenants-bucket",
|
|
440
|
-
dest="mas_aibroker_storage_tenants_bucket",
|
|
441
|
-
required=False,
|
|
442
|
-
help="Customize Manage database encryption keys"
|
|
443
|
-
)
|
|
444
|
-
aibrokerArgGroup.add_argument(
|
|
445
|
-
"--mas-aibroker-storage-templates-bucket",
|
|
446
|
-
dest="mas_aibroker_storage_templates_bucket",
|
|
447
|
-
required=False,
|
|
448
|
-
help="Customize Manage database encryption keys"
|
|
449
|
-
)
|
|
450
|
-
aibrokerArgGroup.add_argument(
|
|
451
|
-
"--mas-aibroker-tenant-name",
|
|
452
|
-
dest="mas_aibroker_tenant_name",
|
|
453
|
-
required=False,
|
|
454
|
-
help="Customize Manage database encryption keys"
|
|
455
|
-
)
|
|
456
|
-
aibrokerArgGroup.add_argument(
|
|
457
|
-
"--mas-aibroker-watsonxai-apikey",
|
|
458
|
-
dest="mas_aibroker_watsonxai_apikey",
|
|
459
|
-
required=False,
|
|
460
|
-
help="Customize Manage database encryption keys"
|
|
461
|
-
)
|
|
462
|
-
aibrokerArgGroup.add_argument(
|
|
463
|
-
"--mas-aibroker-watsonxai-url",
|
|
464
|
-
dest="mas_aibroker_watsonxai_url",
|
|
465
|
-
required=False,
|
|
466
|
-
help="Customize Manage database encryption keys"
|
|
467
|
-
)
|
|
468
|
-
aibrokerArgGroup.add_argument(
|
|
469
|
-
"--mas-aibroker-watsonxai-project-id",
|
|
470
|
-
dest="mas_aibroker_watsonxai_project_id",
|
|
471
|
-
required=False,
|
|
472
|
-
help="Customize Manage database encryption keys"
|
|
473
|
-
)
|
|
474
|
-
aibrokerArgGroup.add_argument(
|
|
475
|
-
"--mas-aibroker-watsonx-action",
|
|
476
|
-
dest="mas_aibroker_watsonx_action",
|
|
477
|
-
required=False,
|
|
478
|
-
help="Customize Manage database encryption keys"
|
|
479
|
-
)
|
|
480
|
-
aibrokerArgGroup.add_argument(
|
|
481
|
-
"--mas-aibroker-db-host",
|
|
482
|
-
dest="mas_aibroker_db_host",
|
|
483
|
-
required=False,
|
|
484
|
-
help="Customize Manage database encryption keys"
|
|
485
|
-
)
|
|
486
|
-
aibrokerArgGroup.add_argument(
|
|
487
|
-
"--mas-aibroker-db-port",
|
|
488
|
-
dest="mas_aibroker_db_port",
|
|
489
|
-
required=False,
|
|
490
|
-
help="Customize Manage database encryption keys"
|
|
491
|
-
)
|
|
492
|
-
aibrokerArgGroup.add_argument(
|
|
493
|
-
"--mas-aibroker-db-user",
|
|
494
|
-
dest="mas_aibroker_db_user",
|
|
495
|
-
required=False,
|
|
496
|
-
help="Customize Manage database encryption keys"
|
|
497
|
-
)
|
|
498
|
-
aibrokerArgGroup.add_argument(
|
|
499
|
-
"--mas-aibroker-db-database",
|
|
500
|
-
dest="mas_aibroker_db_database",
|
|
501
|
-
required=False,
|
|
502
|
-
help="Customize Manage database encryption keys"
|
|
503
|
-
)
|
|
504
|
-
aibrokerArgGroup.add_argument(
|
|
505
|
-
"--mas-aibroker-db-secret-name",
|
|
506
|
-
dest="mas_aibroker_db_secret_name",
|
|
507
|
-
required=False,
|
|
508
|
-
help="Customize Manage database encryption keys"
|
|
509
|
-
)
|
|
510
|
-
aibrokerArgGroup.add_argument(
|
|
511
|
-
"--mas-aibroker-db-secret-key",
|
|
512
|
-
dest="mas_aibroker_db_secret_key",
|
|
513
|
-
required=False,
|
|
514
|
-
help="Customize Manage database encryption keys"
|
|
515
|
-
)
|
|
516
|
-
aibrokerArgGroup.add_argument(
|
|
517
|
-
"--mas-aibroker-db-secret-value",
|
|
518
|
-
dest="mas_aibroker_db_secret_value",
|
|
519
|
-
required=False,
|
|
520
|
-
help="Customize Manage database encryption keys"
|
|
521
|
-
)
|
|
522
|
-
|
|
523
381
|
# Arcgis
|
|
524
382
|
# -----------------------------------------------------------------------------
|
|
525
383
|
arcgisArgGroup = installArgParser.add_argument_group("Maximo Location Services for Esri (arcgis)")
|
|
@@ -745,19 +603,20 @@ facilitiesArgGroup.add_argument(
|
|
|
745
603
|
required=False,
|
|
746
604
|
help="Defines the name of the secret that holds the AES Encryption password",
|
|
747
605
|
)
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
606
|
+
facilitiesArgGroup.add_argument(
|
|
607
|
+
"--facilities-dwfagent",
|
|
608
|
+
dest="mas_ws_facilities_dwfagents",
|
|
609
|
+
required=False,
|
|
610
|
+
help="Defines the list of dedicates workflow agents",
|
|
611
|
+
type=str
|
|
612
|
+
)
|
|
613
|
+
facilitiesArgGroup.add_argument(
|
|
614
|
+
"--facilities-maxconnpoolsize",
|
|
615
|
+
dest="mas_ws_facilities_db_maxconnpoolsize",
|
|
616
|
+
required=False,
|
|
617
|
+
help="Defines the maximum connection pool size",
|
|
618
|
+
default=200,
|
|
619
|
+
)
|
|
761
620
|
facilitiesArgGroup.add_argument(
|
|
762
621
|
"--facilities-log-storage-class",
|
|
763
622
|
dest="mas_ws_facilities_storage_log_class",
|
|
@@ -770,12 +629,12 @@ facilitiesArgGroup.add_argument(
|
|
|
770
629
|
required=False,
|
|
771
630
|
help="Defines the log storage mode",
|
|
772
631
|
)
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
632
|
+
facilitiesArgGroup.add_argument(
|
|
633
|
+
"--facilities-log-storage-size",
|
|
634
|
+
dest="mas_ws_facilities_storage_log_size",
|
|
635
|
+
required=False,
|
|
636
|
+
help="Defines the logs storage size",
|
|
637
|
+
)
|
|
779
638
|
facilitiesArgGroup.add_argument(
|
|
780
639
|
"--facilities-userfiles-storage-class",
|
|
781
640
|
dest="mas_ws_facilities_storage_userfiles_class",
|
|
@@ -788,12 +647,12 @@ facilitiesArgGroup.add_argument(
|
|
|
788
647
|
required=False,
|
|
789
648
|
help="Defines the user files storage mode",
|
|
790
649
|
)
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
650
|
+
facilitiesArgGroup.add_argument(
|
|
651
|
+
"--facilities-userfiles-storage-size",
|
|
652
|
+
dest="mas_ws_facilities_storage_userfiles_size",
|
|
653
|
+
required=False,
|
|
654
|
+
help="Defines the user files storage size",
|
|
655
|
+
)
|
|
797
656
|
|
|
798
657
|
# IBM Cloud Pak for Data
|
|
799
658
|
# -----------------------------------------------------------------------------
|
mas/cli/install/catalogs.py
CHANGED
|
@@ -9,17 +9,18 @@
|
|
|
9
9
|
# *****************************************************************************
|
|
10
10
|
supportedCatalogs = {
|
|
11
11
|
"amd64": [
|
|
12
|
+
"v9-250624-amd64",
|
|
12
13
|
"v9-250501-amd64",
|
|
13
14
|
"v9-250403-amd64",
|
|
14
15
|
"v9-250306-amd64",
|
|
15
|
-
"v9-250206-amd64",
|
|
16
16
|
],
|
|
17
17
|
"s390x": [
|
|
18
|
+
"v9-250624-s390x",
|
|
18
19
|
"v9-250501-s390x",
|
|
19
20
|
"v9-250403-s390x",
|
|
20
21
|
"v9-250306-s390x",
|
|
21
|
-
"v9-250206-s390x",
|
|
22
22
|
],
|
|
23
23
|
"ppc64le": [
|
|
24
|
+
"v9-250624-ppc64le",
|
|
24
25
|
],
|
|
25
26
|
}
|
mas/cli/install/params.py
CHANGED
|
@@ -184,12 +184,12 @@ optionalParams = [
|
|
|
184
184
|
"mas_ws_facilities_pull_policy",
|
|
185
185
|
"mas_ws_facilities_storage_log_class",
|
|
186
186
|
"mas_ws_facilities_storage_log_mode",
|
|
187
|
-
|
|
187
|
+
"mas_ws_facilities_storage_log_size",
|
|
188
188
|
"mas_ws_facilities_storage_userfiles_class",
|
|
189
189
|
"mas_ws_facilities_storage_userfiles_mode",
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
"mas_ws_facilities_storage_userfiles_size",
|
|
191
|
+
"mas_ws_facilities_dwfagents",
|
|
192
|
+
"mas_ws_facilities_db_maxconnpoolsize",
|
|
193
193
|
# Special chars
|
|
194
194
|
"mas_special_characters"
|
|
195
195
|
]
|
|
@@ -182,8 +182,10 @@ class Db2SettingsMixin():
|
|
|
182
182
|
f"Note that the same settings are applied to both the IoT and {self.manageAppName} Db2 instances",
|
|
183
183
|
"Use existing node labels and taints to control scheduling of the Db2 workload in your cluster",
|
|
184
184
|
"For more information refer to the Red Hat documentation:",
|
|
185
|
-
" - <Orange><u>https://docs.openshift.com/container-platform/4.
|
|
186
|
-
" - <Orange><u>https://docs.openshift.com/container-platform/4.
|
|
185
|
+
" - <Orange><u>https://docs.openshift.com/container-platform/4.18/nodes/scheduling/nodes-scheduler-node-affinity.html</u></Orange>",
|
|
186
|
+
" - <Orange><u>https://docs.openshift.com/container-platform/4.18/nodes/scheduling/nodes-scheduler-taints-tolerations.html</u></Orange>",
|
|
187
|
+
" - <Orange><u>https://docs.openshift.com/container-platform/4.17/nodes/scheduling/nodes-scheduler-node-affinity.html</u></Orange>",
|
|
188
|
+
" - <Orange><u>https://docs.openshift.com/container-platform/4.17/nodes/scheduling/nodes-scheduler-taints-tolerations.html</u></Orange>"
|
|
187
189
|
])
|
|
188
190
|
|
|
189
191
|
if self.yesOrNo("Configure node affinity"):
|
|
@@ -119,6 +119,8 @@ class ManageSettingsMixin():
|
|
|
119
119
|
self.params["mas_appws_components"] += ",utilities=latest"
|
|
120
120
|
if self.yesOrNo(" - Workday Applications"):
|
|
121
121
|
self.params["mas_appws_components"] += ",workday=latest"
|
|
122
|
+
if self.yesOrNo(" - AIP"):
|
|
123
|
+
self.params["mas_appws_components"] += ",aip=latest"
|
|
122
124
|
logger.debug(f"Generated mas_appws_components = {self.params['mas_appws_components']}")
|
|
123
125
|
|
|
124
126
|
if ",icd=" in self.params["mas_appws_components"]:
|
|
@@ -207,7 +209,7 @@ class ManageSettingsMixin():
|
|
|
207
209
|
self.promptForString("Customization archive path/url", "mas_app_settings_customization_archive_url")
|
|
208
210
|
if self.yesOrNo("Provide authentication to access customization archive URL"):
|
|
209
211
|
self.promptForString("Username", "mas_app_settings_customization_archive_username")
|
|
210
|
-
self.promptForString("Password", "mas_app_settings_customization_archive_password", isPassword=True)
|
|
212
|
+
self.promptForString("Password", "mas_app_settings_customization_archive_password", isPassword=True) # pragma: allowlist secret
|
|
211
213
|
|
|
212
214
|
def manageSettingsDemodata(self) -> None:
|
|
213
215
|
self.yesOrNo("Create demo data", "mas_app_settings_demodata")
|
|
@@ -269,29 +271,3 @@ class ManageSettingsMixin():
|
|
|
269
271
|
self.manageSettingsTimezone()
|
|
270
272
|
self.manageSettingsLanguages()
|
|
271
273
|
self.manageSettingsCP4D()
|
|
272
|
-
|
|
273
|
-
def aibrokerSettings(self) -> None:
|
|
274
|
-
if self.installAiBroker:
|
|
275
|
-
self.printH2("Maximo AI Broker Settings - Storage, WatsonX, MariaDB details")
|
|
276
|
-
self.printDescription(["Customise AI Broker details"])
|
|
277
|
-
self.promptForString("Storage provider", "mas_aibroker_storage_provider")
|
|
278
|
-
self.promptForString("Storage access key", "mas_aibroker_storage_accesskey")
|
|
279
|
-
self.promptForString("Storage secret key", "mas_aibroker_storage_secretkey")
|
|
280
|
-
self.promptForString("Storage host", "mas_aibroker_storage_host")
|
|
281
|
-
self.promptForString("Storage port", "mas_aibroker_storage_port")
|
|
282
|
-
self.promptForString("Storage ssl", "mas_aibroker_storage_ssl")
|
|
283
|
-
self.promptForString("Storage region", "mas_aibroker_storage_region")
|
|
284
|
-
self.promptForString("Storage pipelines bucket", "mas_aibroker_storage_pipelines_bucket")
|
|
285
|
-
self.promptForString("Storage tenants bucket", "mas_aibroker_storage_tenants_bucket")
|
|
286
|
-
self.promptForString("Storage templates bucket", "mas_aibroker_storage_templates_bucket")
|
|
287
|
-
|
|
288
|
-
self.promptForString("Watsonxai api key", "mas_aibroker_watsonxai_apikey")
|
|
289
|
-
self.promptForString("Watsonxai machine learning url", "mas_aibroker_watsonxai_url")
|
|
290
|
-
self.promptForString("Watsonxai project id", "mas_aibroker_watsonxai_project_id")
|
|
291
|
-
|
|
292
|
-
self.promptForString("Database host", "mas_aibroker_db_host")
|
|
293
|
-
self.promptForString("Database port", "mas_aibroker_db_port")
|
|
294
|
-
self.promptForString("Database user", "mas_aibroker_db_user")
|
|
295
|
-
self.promptForString("Database name", "mas_aibroker_db_database")
|
|
296
|
-
self.promptForString("Database Secretname", "mas_aibroker_db_secret_name")
|
|
297
|
-
self.promptForString("Database password", "mas_aibroker_db_secret_value")
|
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"])
|
|
@@ -202,6 +176,7 @@ class InstallSummarizerMixin():
|
|
|
202
176
|
self.printSummary(" + Tririga", "Enabled" if "tririga=" in self.getParam("mas_appws_components") else "Disabled")
|
|
203
177
|
self.printSummary(" + Utilities", "Enabled" if "utilities=" in self.getParam("mas_appws_components") else "Disabled")
|
|
204
178
|
self.printSummary(" + Workday Applications", "Enabled" if "workday=" in self.getParam("mas_appws_components") else "Disabled")
|
|
179
|
+
self.printSummary(" + AIP", "Enabled" if "aip=" in self.getParam("mas_appws_components") else "Disabled")
|
|
205
180
|
|
|
206
181
|
self.printParamSummary("+ Server bundle size", "mas_app_settings_server_bundles_size")
|
|
207
182
|
self.printParamSummary("+ Enable JMS queues", "mas_app_settings_default_jms")
|
|
@@ -377,6 +352,10 @@ class InstallSummarizerMixin():
|
|
|
377
352
|
self.printH2("Grafana")
|
|
378
353
|
self.printSummary("Install Grafana", "Install" if self.getParam("grafana_action") == "install" else "Do Not Install")
|
|
379
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
|
+
|
|
380
359
|
def displayInstallSummary(self) -> None:
|
|
381
360
|
self.printH1("Review Settings")
|
|
382
361
|
self.printDescription([
|
|
@@ -402,7 +381,6 @@ class InstallSummarizerMixin():
|
|
|
402
381
|
self.optimizerSummary()
|
|
403
382
|
self.assistSummary()
|
|
404
383
|
self.inspectionSummary()
|
|
405
|
-
self.aibrokerSummary()
|
|
406
384
|
self.facilitiesSummary()
|
|
407
385
|
|
|
408
386
|
# Application Dependencies
|
|
@@ -413,3 +391,6 @@ class InstallSummarizerMixin():
|
|
|
413
391
|
self.cp4dSummary()
|
|
414
392
|
self.grafanaSummary()
|
|
415
393
|
self.turbonomicSummary()
|
|
394
|
+
|
|
395
|
+
# Install options
|
|
396
|
+
self.installSummary()
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
apiVersion: v1
|
|
2
|
+
kind: ConfigMap
|
|
3
|
+
metadata:
|
|
4
|
+
name: facilities-config
|
|
5
|
+
namespace: mas-{{ mas_instance_id }}-pipelines
|
|
6
|
+
data:
|
|
7
|
+
mas_ws_facilities_storage_log_size: |
|
|
8
|
+
{{ mas_ws_facilities_storage_log_size }}
|
|
9
|
+
mas_ws_facilities_storage_userfiles_size: |
|
|
10
|
+
{{ mas_ws_facilities_storage_userfiles_size }}
|
|
11
|
+
mas_ws_facilities_db_maxconnpoolsize: |
|
|
12
|
+
{{ mas_ws_facilities_db_maxconnpoolsize }}
|
|
13
|
+
mas_ws_facilities_dwfagents: |
|
|
14
|
+
{%- if mas_ws_facilities_dwfagents is defined and mas_ws_facilities_dwfagents != '' %}
|
|
15
|
+
{%- for agent in mas_ws_facilities_dwfagents %}
|
|
16
|
+
- name: "{{ agent.name }}"
|
|
17
|
+
members:
|
|
18
|
+
{%- for member in agent.members %}
|
|
19
|
+
- name: "{{ member.name }}"
|
|
20
|
+
class: "{{ member.class }}"
|
|
21
|
+
{%- endfor %}
|
|
22
|
+
{%- endfor %}
|
|
23
|
+
{%- else %}
|
|
24
|
+
[]
|
|
25
|
+
{% endif %}
|