mas-cli 13.6.0__py3-none-any.whl → 13.8.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 +1 -1
- mas/cli/install/app.py +2 -3
- mas/cli/install/argBuilder.py +0 -2
- mas/cli/install/argParser.py +0 -8
- mas/cli/install/params.py +0 -1
- mas/cli/install/summarizer.py +0 -1
- mas/cli/templates/ibm-mas-tekton.yaml +176 -280
- mas/cli/update/app.py +18 -0
- {mas_cli-13.6.0.dist-info → mas_cli-13.8.0.dist-info}/METADATA +1 -1
- {mas_cli-13.6.0.dist-info → mas_cli-13.8.0.dist-info}/RECORD +14 -14
- {mas_cli-13.6.0.dist-info → mas_cli-13.8.0.dist-info}/WHEEL +1 -1
- {mas_cli-13.6.0.data → mas_cli-13.8.0.data}/scripts/mas-cli +0 -0
- {mas_cli-13.6.0.dist-info → mas_cli-13.8.0.dist-info}/top_level.txt +0 -0
mas/cli/update/app.py
CHANGED
|
@@ -112,6 +112,13 @@ class UpdateApp(BaseApp):
|
|
|
112
112
|
else:
|
|
113
113
|
h.stop_and_persist(symbol=self.successIcon, text="IBM Watson Discovery is not installed")
|
|
114
114
|
|
|
115
|
+
with Halo(text='Checking for IBM Watson Openscale', spinner=self.spinner) as h:
|
|
116
|
+
if self.isWatsonOpenscaleInstalled():
|
|
117
|
+
h.stop_and_persist(symbol=self.failureIcon, text="IBM Watson Openscale is installed")
|
|
118
|
+
self.fatalError("Watson Openscale is currently installed in the instance of Cloud Pak for Data that is managed by the MAS CLI (in the ibm-cpd namespace), this is no longer supported and the update can not proceed as a result. Please contact IBM support for assistance")
|
|
119
|
+
else:
|
|
120
|
+
h.stop_and_persist(symbol=self.successIcon, text="IBM Watson Openscale is not installed")
|
|
121
|
+
|
|
115
122
|
with Halo(text='Checking for IBM Certificate-Manager', spinner=self.spinner) as h:
|
|
116
123
|
if self.isIBMCertManagerInstalled():
|
|
117
124
|
h.stop_and_persist(symbol=self.successIcon, text="IBM Certificate-Manager will be replaced by Red Hat Certificate-Manager")
|
|
@@ -260,6 +267,17 @@ class UpdateApp(BaseApp):
|
|
|
260
267
|
# Watson Discovery has never been installed on this cluster
|
|
261
268
|
return False
|
|
262
269
|
|
|
270
|
+
def isWatsonOpenscaleInstalled(self) -> bool:
|
|
271
|
+
try:
|
|
272
|
+
wosAPI = self.dynamicClient.resources.get(api_version="wos.cpd.ibm.com/v1", kind="WOService")
|
|
273
|
+
wos = wosAPI.get(namespace="ibm-cpd").to_dict()['items']
|
|
274
|
+
if len(wos) > 0:
|
|
275
|
+
return True
|
|
276
|
+
return False
|
|
277
|
+
except (ResourceNotFoundError, NotFoundError):
|
|
278
|
+
# Watson Openscale has never been installed on this cluster
|
|
279
|
+
return False
|
|
280
|
+
|
|
263
281
|
def isIBMCertManagerInstalled(self) -> bool:
|
|
264
282
|
"""
|
|
265
283
|
Check whether the deprecated IBM Certificate-Manager is installed, if it is then we will
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
mas/cli/__init__.py,sha256=
|
|
2
|
-
mas/cli/cli.py,sha256=
|
|
1
|
+
mas/cli/__init__.py,sha256=o97Ko_VXdF48cYs-XnWQyMoKZVnZ0y4iW2G1BsZ5iHs,526
|
|
2
|
+
mas/cli/cli.py,sha256=1hUULnK2Bz5AwBcE43v31ddlhIUCXri3Q0-z13UPiXY,18174
|
|
3
3
|
mas/cli/displayMixins.py,sha256=e3lAx1DIOwsriDcNI0M2JyP1jeLOZKvId6sPrvWLyqs,5984
|
|
4
4
|
mas/cli/gencfg.py,sha256=p38Ss_ooiNHOZTJT8l0YxDaEaPwD4ZXgxEbW-S9YLNY,3311
|
|
5
5
|
mas/cli/validators.py,sha256=vi1pFA8QtqMhqtGk1NlkkNDUrlFCi53kS5wJqFGDgOU,5108
|
|
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=
|
|
7
|
+
mas/cli/install/app.py,sha256=6Iy04SnvEAS5FjapWcaCUXKznMxbNhCA0qm2KTJWOB4,59925
|
|
8
|
+
mas/cli/install/argBuilder.py,sha256=D_j_VjjEoI82FlexLGf2s2Ccegdnd4v4NFGzyCeNnws,24885
|
|
9
|
+
mas/cli/install/argParser.py,sha256=T9CrHgcTI8oMi1_Hj8tkeCxjI7aMEbpoofp836R7Od8,35504
|
|
10
10
|
mas/cli/install/catalogs.py,sha256=zYzcui4ZT9Zqg4F5JUbQpjfzyzfwrIElCA_G7LpQ59g,751
|
|
11
|
-
mas/cli/install/params.py,sha256=
|
|
12
|
-
mas/cli/install/summarizer.py,sha256=
|
|
11
|
+
mas/cli/install/params.py,sha256=G5oJAwvaUeH8P8snyTP2nQEpH8WrUz3kHlYromAtTRc,5028
|
|
12
|
+
mas/cli/install/summarizer.py,sha256=PaWyEEJLMjTV8e-3xlPpTpir9IlnG9x2JQyM1pJM8-k,21527
|
|
13
13
|
mas/cli/install/settings/__init__.py,sha256=RdyBSh-rM0wkuvILVzJ1gxjOtLuQ1mF6QbEL0MyiKIY,1034
|
|
14
14
|
mas/cli/install/settings/additionalConfigs.py,sha256=u9DTwGZkPLIGfbNrz6yXsBi39EZgk2bwJuDUrNm_Nio,10008
|
|
15
15
|
mas/cli/install/settings/db2Settings.py,sha256=YlMosXmxj8L71U_pcg0M9o38Xw2W1fOK8rdj0hPgpCA,13003
|
|
@@ -17,7 +17,7 @@ mas/cli/install/settings/kafkaSettings.py,sha256=oJxFhWQkqPi7Do53tu4oxskGbEL4hro
|
|
|
17
17
|
mas/cli/install/settings/manageSettings.py,sha256=rBBq3r9AaDS5fLeKbItgLBnsguuZwyNKo80oYBBEB-0,16241
|
|
18
18
|
mas/cli/install/settings/mongodbSettings.py,sha256=UVt8vMLNpgyewlcymSystIhICnHsd0uoM9qpgezVjGg,2567
|
|
19
19
|
mas/cli/install/settings/turbonomicSettings.py,sha256=ul4eWf53b1NCzJTFsEPX6DWM23YUlWILYBygplqXYlU,1631
|
|
20
|
-
mas/cli/templates/ibm-mas-tekton.yaml,sha256=
|
|
20
|
+
mas/cli/templates/ibm-mas-tekton.yaml,sha256=hBjVY7a4IguTNsrYKUcekLrfpWZjBmqOgiNGDT2Zr5g,829864
|
|
21
21
|
mas/cli/templates/jdbccfg.yml.j2,sha256=cANbwkUkKEPQp-P3_BB_Llbt94457Ciagah2hOdySIM,1644
|
|
22
22
|
mas/cli/templates/suite_mongocfg.yml.j2,sha256=WrgJUfGyvfaRIHjY5VR_zLZ5irTpV5khKNq76ejIxKU,1606
|
|
23
23
|
mas/cli/templates/pod-templates/best-effort/ibm-data-dictionary-assetdatadictionary.yml,sha256=8VG_FDFcEjWNaAOZTcS58Pe0tWOXC10SJLloNqzEMC8,757
|
|
@@ -94,13 +94,13 @@ mas/cli/uninstall/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc
|
|
|
94
94
|
mas/cli/uninstall/app.py,sha256=uPJy3z-1Yt66MSFdZz1Qh8MjA97ZrQmjSgTx-Gqua9I,10047
|
|
95
95
|
mas/cli/uninstall/argParser.py,sha256=VVG4myUvFOtg98L6HAzpgGg7s5c-vub_UMZPGuNQko4,3452
|
|
96
96
|
mas/cli/update/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
97
|
-
mas/cli/update/app.py,sha256=
|
|
97
|
+
mas/cli/update/app.py,sha256=MZ7sv5sL5L5e9lXjpWbTouz9ZtvwoWfXiJbieHSwCrU,38812
|
|
98
98
|
mas/cli/update/argParser.py,sha256=oOIXzB_rsI2p3og_5X5SFt_g7LURyEdLxZeiGCKq1nU,4711
|
|
99
99
|
mas/cli/upgrade/__init__.py,sha256=v0WJlcdrSycWGT5ofFjRDV3jTZ8AqVCz1AGxok4Khtc,508
|
|
100
100
|
mas/cli/upgrade/app.py,sha256=EuEZayc0nw9kA6Hz8M9Mv7uk0hgmspJSZCYhNEfCECk,6428
|
|
101
101
|
mas/cli/upgrade/argParser.py,sha256=pqzNDSHy6l13JunHWQLyOI-NFnDGDoVJ_HM07FLYJSc,2033
|
|
102
|
-
mas_cli-13.
|
|
103
|
-
mas_cli-13.
|
|
104
|
-
mas_cli-13.
|
|
105
|
-
mas_cli-13.
|
|
106
|
-
mas_cli-13.
|
|
102
|
+
mas_cli-13.8.0.data/scripts/mas-cli,sha256=BbibIX0psLEOZdcNaFcO4mJvStD0pKLAe-p-NwVTrBs,3439
|
|
103
|
+
mas_cli-13.8.0.dist-info/METADATA,sha256=xMMd06gW4O5SxYDKSp0EsXZ4NqBSN2Dtz4JTw_tWdbg,2258
|
|
104
|
+
mas_cli-13.8.0.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
|
|
105
|
+
mas_cli-13.8.0.dist-info/top_level.txt,sha256=_Hlsp7pvMvyV14LFg-vk1hULq30j61EILnnxMFIhhc8,4
|
|
106
|
+
mas_cli-13.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|