mas-cli 13.25.1__py3-none-any.whl → 13.26.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/cli.py +15 -3
- mas/cli/gencfg.py +23 -0
- mas/cli/install/app.py +27 -8
- mas/cli/install/argBuilder.py +8 -8
- mas/cli/install/argParser.py +26 -25
- 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 -1
- mas/cli/install/summarizer.py +1 -0
- mas/cli/templates/facilities-configs.yml.j2 +25 -0
- mas/cli/templates/ibm-mas-tekton.yaml +361 -174
- mas/cli/update/app.py +6 -4
- mas/cli/validators.py +13 -0
- {mas_cli-13.25.1.dist-info → mas_cli-13.26.0.dist-info}/METADATA +1 -1
- {mas_cli-13.25.1.dist-info → mas_cli-13.26.0.dist-info}/RECORD +20 -19
- {mas_cli-13.25.1.data → mas_cli-13.26.0.data}/scripts/mas-cli +0 -0
- {mas_cli-13.25.1.dist-info → mas_cli-13.26.0.dist-info}/WHEEL +0 -0
- {mas_cli-13.25.1.dist-info → mas_cli-13.26.0.dist-info}/top_level.txt +0 -0
mas/cli/update/app.py
CHANGED
|
@@ -242,13 +242,13 @@ class UpdateApp(BaseApp):
|
|
|
242
242
|
self.printH1("Select IBM Maximo Operator Catalog Version")
|
|
243
243
|
self.printDescription([
|
|
244
244
|
"Select MAS Catalog",
|
|
245
|
-
" 1)
|
|
246
|
-
" 2)
|
|
247
|
-
" 3)
|
|
245
|
+
" 1) Jun 05 2025 Update (MAS 9.1.0, 9.0.12, 8.11.21, & 8.10.26)",
|
|
246
|
+
" 2) May 01 2025 Update (MAS 9.0.11, 8.11.22, & 8.10.25)",
|
|
247
|
+
" 3) Apr 03 2025 Update (MAS 9.0.10, 8.11.21, & 8.10.24)",
|
|
248
248
|
])
|
|
249
249
|
|
|
250
250
|
catalogOptions = [
|
|
251
|
-
"v9-
|
|
251
|
+
"v9-250624-amd64", "v9-250501-amd64", "v9-250403-amd64",
|
|
252
252
|
]
|
|
253
253
|
self.promptForListSelect("Select catalog version", catalogOptions, "mas_catalog_version", default=1)
|
|
254
254
|
|
|
@@ -363,6 +363,7 @@ class UpdateApp(BaseApp):
|
|
|
363
363
|
"v9-250306-amd64": "7.0.12",
|
|
364
364
|
"v9-250403-amd64": "7.0.12",
|
|
365
365
|
"v9-250501-amd64": "7.0.12",
|
|
366
|
+
"v9-250624-amd64": "7.0.12",
|
|
366
367
|
}
|
|
367
368
|
catalogVersion = self.getParam('mas_catalog_version')
|
|
368
369
|
if catalogVersion in mongoVersions:
|
|
@@ -497,6 +498,7 @@ class UpdateApp(BaseApp):
|
|
|
497
498
|
"v9-250306-amd64": "5.0.0",
|
|
498
499
|
"v9-250403-amd64": "5.0.0",
|
|
499
500
|
"v9-250501-amd64": "5.0.0",
|
|
501
|
+
"v9-250624-amd64": "5.1.3",
|
|
500
502
|
}
|
|
501
503
|
|
|
502
504
|
with Halo(text='Checking for IBM Cloud Pak for Data', spinner=self.spinner) as h:
|
mas/cli/validators.py
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
from re import match
|
|
12
12
|
from os import path
|
|
13
|
+
from json import loads, JSONDecodeError
|
|
13
14
|
|
|
14
15
|
# Use of the openshift client rather than the kubernetes client allows us access to "apply"
|
|
15
16
|
from openshift import dynamic
|
|
@@ -136,3 +137,15 @@ class OptimizerInstallPlanValidator(Validator):
|
|
|
136
137
|
response = document.text
|
|
137
138
|
if response not in ["full", "limited"]:
|
|
138
139
|
raise ValidationError(message='Enter a valid response: full, limited', cursor_position=len(response))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
class JsonValidator(Validator):
|
|
143
|
+
def validate(self, document):
|
|
144
|
+
"""
|
|
145
|
+
Validate that a response is a valid JSON
|
|
146
|
+
"""
|
|
147
|
+
inputJson = document.text
|
|
148
|
+
try:
|
|
149
|
+
loads(inputJson)
|
|
150
|
+
except JSONDecodeError:
|
|
151
|
+
raise (ValidationError(message='Enter a valid JSON', cursor_position=len(inputJson)))
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
2
|
-
mas/cli/cli.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=dkEjhrYCpNGAkRGpmC94OjxuZ4QHORyTl8nTPYxpvgI,527
|
|
2
|
+
mas/cli/cli.py,sha256=W5CSQSq01Vp7Psz2kxoosV509X3ED7-VR0-G8PuXWIw,18860
|
|
3
3
|
mas/cli/displayMixins.py,sha256=e3lAx1DIOwsriDcNI0M2JyP1jeLOZKvId6sPrvWLyqs,5984
|
|
4
|
-
mas/cli/gencfg.py,sha256=
|
|
5
|
-
mas/cli/validators.py,sha256=
|
|
4
|
+
mas/cli/gencfg.py,sha256=kgbYihOcqGADK8XnrfcEoBawaY1qSGKuVNW1unACOnU,4433
|
|
5
|
+
mas/cli/validators.py,sha256=2mLqBfoFU4D3A84ma9namjpnPKR3a0XySSGXa_b7pWg,5495
|
|
6
6
|
mas/cli/install/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
7
|
-
mas/cli/install/app.py,sha256=
|
|
8
|
-
mas/cli/install/argBuilder.py,sha256=
|
|
9
|
-
mas/cli/install/argParser.py,sha256=
|
|
10
|
-
mas/cli/install/catalogs.py,sha256=
|
|
11
|
-
mas/cli/install/params.py,sha256=
|
|
12
|
-
mas/cli/install/summarizer.py,sha256=
|
|
7
|
+
mas/cli/install/app.py,sha256=Wu15jz_DHaoC4v1jm4qrUYG2dh5uj54B0XbwoxZWSSU,69377
|
|
8
|
+
mas/cli/install/argBuilder.py,sha256=Li73sOhW0Y_OaDfPKaYDAbLAtZ0tjMPHzkNlOKCNHuo,28395
|
|
9
|
+
mas/cli/install/argParser.py,sha256=XnhklQDWhSUOPcGhnM23EdqpGtkf4MO-Arf0kSK4x54,39505
|
|
10
|
+
mas/cli/install/catalogs.py,sha256=p9WFQSA6vcQNiOrlAGCmr5e5IwHJTL0D9QU-e1wco6E,804
|
|
11
|
+
mas/cli/install/params.py,sha256=vzaqivQ7odTxI45wZmrelA73cnaPu4fomBpDNwhYp40,5650
|
|
12
|
+
mas/cli/install/summarizer.py,sha256=yt9vOKayTOvw0VdmWlbmaTg6GpqatEa1I3YIMomjPDc,23904
|
|
13
13
|
mas/cli/install/settings/__init__.py,sha256=RdyBSh-rM0wkuvILVzJ1gxjOtLuQ1mF6QbEL0MyiKIY,1034
|
|
14
14
|
mas/cli/install/settings/additionalConfigs.py,sha256=hFN7OIiPmmAoo8h_5JiMLtW9r30zK1mMKuPqPpFf1mc,10187
|
|
15
|
-
mas/cli/install/settings/db2Settings.py,sha256=
|
|
15
|
+
mas/cli/install/settings/db2Settings.py,sha256=zFw1wiZTGFLdUsQUKY0l5dWne4ZXQhKuksSO0Q_86AM,16825
|
|
16
16
|
mas/cli/install/settings/kafkaSettings.py,sha256=r1uK-IApqB9IQiSNt_8sP0wa4FPJcXU_qnadhElEOuI,7241
|
|
17
|
-
mas/cli/install/settings/manageSettings.py,sha256=
|
|
17
|
+
mas/cli/install/settings/manageSettings.py,sha256=wCXA0MOzsiKZFWCzb2-JZrwf6vHY6kjPdCeQkbLuSwQ,17973
|
|
18
18
|
mas/cli/install/settings/mongodbSettings.py,sha256=aZdQHpeMwLVznrJWAkJsZu2Ok9t4Dkra2RGa_uKJHaY,2604
|
|
19
19
|
mas/cli/install/settings/turbonomicSettings.py,sha256=ul4eWf53b1NCzJTFsEPX6DWM23YUlWILYBygplqXYlU,1631
|
|
20
|
-
mas/cli/templates/
|
|
20
|
+
mas/cli/templates/facilities-configs.yml.j2,sha256=Er4UwxUl1Y3rtjIPMExVM8EXNcbesMusgLcRV050B1s,774
|
|
21
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=fL3AlWjWCCGfwsJXoMwNpozhdXKr62dvVnLJot43ywg,973716
|
|
21
22
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
22
23
|
mas/cli/templates/suite_mongocfg.yml.j2,sha256=WrgJUfGyvfaRIHjY5VR_zLZ5irTpV5khKNq76ejIxKU,1606
|
|
23
24
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
@@ -94,14 +95,14 @@ mas/cli/uninstall/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc
|
|
|
94
95
|
mas/cli/uninstall/app.py,sha256=uPJy3z-1Yt66MSFdZz1Qh8MjA97ZrQmjSgTx-Gqua9I,10047
|
|
95
96
|
mas/cli/uninstall/argParser.py,sha256=VVG4myUvFOtg98L6HAzpgGg7s5c-vub_UMZPGuNQko4,3452
|
|
96
97
|
mas/cli/update/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
97
|
-
mas/cli/update/app.py,sha256=
|
|
98
|
+
mas/cli/update/app.py,sha256=_EGp8U-EGnKo9sJ9OmMxQEza2psagI5WQ29f8zgOHNU,39197
|
|
98
99
|
mas/cli/update/argParser.py,sha256=oOIXzB_rsI2p3og_5X5SFt_g7LURyEdLxZeiGCKq1nU,4711
|
|
99
100
|
mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
100
101
|
mas/cli/upgrade/app.py,sha256=3Z7oVrQGJPrV5dZjXZuBGT78vODPDLXnHnfD27pxNDs,8926
|
|
101
102
|
mas/cli/upgrade/argParser.py,sha256=5JxAcbwKjFKCKnbucCxg7Xacdhjphb9nRORfsgB1h_0,2196
|
|
102
103
|
mas/cli/upgrade/settings/__init__.py,sha256=QI2CUsj-NXBU1qrPOsOk4MbeWnfNq0UOF3rYYc_1l2A,775
|
|
103
|
-
mas_cli-13.
|
|
104
|
-
mas_cli-13.
|
|
105
|
-
mas_cli-13.
|
|
106
|
-
mas_cli-13.
|
|
107
|
-
mas_cli-13.
|
|
104
|
+
mas_cli-13.26.0.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
|
|
105
|
+
mas_cli-13.26.0.dist-info/METADATA,sha256=Cndplc48thsnWfJGqEsE0dha9UmCb8yzgUiL7BqZcdA,2259
|
|
106
|
+
mas_cli-13.26.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
107
|
+
mas_cli-13.26.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
108
|
+
mas_cli-13.26.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|