mas-cli 15.8.0__py3-none-any.whl → 15.9.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 CHANGED
@@ -8,4 +8,4 @@
8
8
  #
9
9
  # *****************************************************************************
10
10
 
11
- __version__ = "15.8.0" # Python module compatible semver
11
+ __version__ = "15.9.0" # Python module compatible semver
@@ -599,6 +599,8 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
599
599
  self.promptForString("Watsonxai api key", "aiservice_watsonxai_apikey", isPassword=True)
600
600
  self.promptForString("Watsonxai machine learning url", "aiservice_watsonxai_url")
601
601
  self.promptForString("Watsonxai project id", "aiservice_watsonxai_project_id")
602
+ if self.yesOrNo("Does the Watsonxai AI use a self-signed certificate?"):
603
+ self.promptForString("Watsonxai CA certificate (PEM format)", "aiservice_watsonxai_ca_crt")
602
604
  self.promptForString("Watsonxai Deployment ID (optional)", "aiservice_watsonxai_deployment_id")
603
605
  self.promptForString("Watsonxai Space ID (optional)", "aiservice_watsonxai_space_id")
604
606
 
@@ -135,6 +135,8 @@ class aiServiceInstallArgBuilderMixin():
135
135
  command += f" --watsonxai-project-id \"{self.getParam('aiservice_watsonxai_project_id')}\"{newline}"
136
136
  if self.getParam('aiservice_watsonx_action') != "":
137
137
  command += f" --watsonx-action \"{self.getParam('aiservice_watsonx_action')}\"{newline}"
138
+ if self.getParam('aiservice_watsonxai_ca_crt') != "":
139
+ command += f" --watsonxai-ca-crt \"{self.getParam('aiservice_watsonxai_ca_crt')}\"{newline}"
138
140
  if self.getParam('aiservice_watsonxai_deployment_id'):
139
141
  command += f" --watsonxai-deployment-id {self.getParam('aiservice_watsonxai_deployment_id')}\"{newline}"
140
142
  if self.getParam('aiservice_watsonxai_space_id'):
@@ -302,16 +302,22 @@ watsonxArgGroup.add_argument(
302
302
  help="Action to perform with WatsonX (install/remove)"
303
303
  )
304
304
  watsonxArgGroup.add_argument(
305
- '--watsonxai-deployment-id',
305
+ "--watsonxai-ca-crt",
306
+ dest="aiservice_watsonxai_ca_crt",
307
+ required=False,
308
+ help="CA certificate for WatsonX AI (PEM format, optional, only if using self-signed certs)"
309
+ )
310
+ watsonxArgGroup.add_argument(
311
+ "--watsonxai-deployment-id",
306
312
  dest="aiservice_watsonxai_deployment_id",
307
313
  required=False,
308
- help='WatsonX deployment ID'
314
+ help="WatsonX deployment ID"
309
315
  )
310
316
  watsonxArgGroup.add_argument(
311
- '--watsonxai-space-id',
317
+ "--watsonxai-space-id",
312
318
  dest="aiservice_watsonxai_space_id",
313
319
  required=False,
314
- help='WatsonX space ID'
320
+ help="WatsonX space ID"
315
321
  )
316
322
 
317
323
 
@@ -74,6 +74,7 @@ optionalParams = [
74
74
  "aiservice_watsonxai_url",
75
75
  "aiservice_watsonxai_project_id",
76
76
  "aiservice_watsonx_action",
77
+ "aiservice_watsonxai_ca_crt",
77
78
  "aiservice_watsonxai_deployment_id",
78
79
  "aiservice_watsonxai_space_id",
79
80
 
mas/cli/cli.py CHANGED
@@ -118,7 +118,7 @@ class BaseApp(PrintMixin, PromptMixin):
118
118
  logging.getLogger('asyncio').setLevel(logging.INFO)
119
119
 
120
120
  # Supports extended semver, unlike mas.cli.__version__
121
- self.version = "15.8.0"
121
+ self.version = "15.9.0"
122
122
  self.h1count = 0
123
123
  self.h2count = 0
124
124
 
@@ -9,10 +9,10 @@
9
9
  # *****************************************************************************
10
10
  supportedCatalogs = {
11
11
  "amd64": [
12
+ "v9-251010-amd64",
12
13
  "v9-250925-amd64",
13
14
  "v9-250902-amd64",
14
15
  "v9-250828-amd64",
15
- "v9-250731-amd64",
16
16
  ],
17
17
  "s390x": [
18
18
  # No "v9-250925-s390x" catalog for the s390x
@@ -20,9 +20,9 @@ supportedCatalogs = {
20
20
  "v9-250828-s390x",
21
21
  ],
22
22
  "ppc64le": [
23
+ "v9-251010-ppc64le",
23
24
  "v9-250925-ppc64le",
24
25
  "v9-250902-ppc64le",
25
26
  "v9-250828-ppc64le",
26
- "v9-250731-ppc64le",
27
27
  ],
28
28
  }