mas-cli 15.1.2__py3-none-any.whl → 15.1.4__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/app.py +24 -17
- mas/cli/cli.py +1 -1
- mas/cli/templates/ibm-mas-tekton.yaml +162 -194
- {mas_cli-15.1.2.dist-info → mas_cli-15.1.4.dist-info}/METADATA +1 -1
- {mas_cli-15.1.2.dist-info → mas_cli-15.1.4.dist-info}/RECORD +9 -9
- {mas_cli-15.1.2.data → mas_cli-15.1.4.data}/scripts/mas-cli +0 -0
- {mas_cli-15.1.2.dist-info → mas_cli-15.1.4.dist-info}/WHEEL +0 -0
- {mas_cli-15.1.2.dist-info → mas_cli-15.1.4.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
mas/cli/aiservice/install/app.py
CHANGED
|
@@ -121,7 +121,7 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
121
121
|
|
|
122
122
|
@logMethodCall
|
|
123
123
|
def configAibroker(self):
|
|
124
|
-
self.printH1("Configure
|
|
124
|
+
self.printH1("Configure AI Service Instance")
|
|
125
125
|
self.printDescription([
|
|
126
126
|
"Instance ID restrictions:",
|
|
127
127
|
" - Must be 3-12 characters long",
|
|
@@ -143,25 +143,13 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
143
143
|
|
|
144
144
|
self.storageClassProvider = "custom"
|
|
145
145
|
self.slsLicenseFileLocal = None
|
|
146
|
-
|
|
147
|
-
self.printDescription([
|
|
148
|
-
"The AI Broker (introduced with MAS 9.0) has been replaced with Maximo AI Service as of Aug 1 2025.",
|
|
149
|
-
"To continue using the features that were enabled by the AI broker after that time, you must deploy and use Maximo AI Service 9.1:",
|
|
150
|
-
" - Maximo AI Service 9.1 is compatible with both Maximo Application Suite 9.0 and 9.1 releases.",
|
|
151
|
-
" - If Maximo AI Service is deployed with Maximo Application Suite 9.0, you can use only the AI features that were included in Maximo Application Suite 9.0.",
|
|
152
|
-
"The Maximo AI Service 9.1 includes a limited use license to watsonx.ai and incurs an additional AppPoint cost"
|
|
153
|
-
])
|
|
146
|
+
self.showAdvancedOptions = True
|
|
154
147
|
|
|
155
148
|
# Catalog
|
|
156
149
|
self.configCatalog()
|
|
157
150
|
if not self.devMode:
|
|
158
|
-
self.
|
|
159
|
-
|
|
160
|
-
"We are busy putting the finishing touches on Maximo AI Service ahead of a re-launch planned for the August 2025 catalog update."
|
|
161
|
-
])
|
|
162
|
-
exit(0)
|
|
163
|
-
# self.validateCatalogSource()
|
|
164
|
-
# self.licensePrompt()
|
|
151
|
+
self.validateCatalogSource()
|
|
152
|
+
self.licensePrompt()
|
|
165
153
|
|
|
166
154
|
# Storage Classes
|
|
167
155
|
self.configStorageClasses()
|
|
@@ -382,6 +370,25 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
382
370
|
self.licenseAccepted = args.accept_license
|
|
383
371
|
self.devMode = args.dev_mode
|
|
384
372
|
|
|
373
|
+
self.printDescription([
|
|
374
|
+
"<B><U>AI Broker 9.0 Deprecation Notice</U></B>",
|
|
375
|
+
"",
|
|
376
|
+
"Maximo AI Broker (introduced with MAS 9.0) has been replaced with Maximo AI Service as of Aug 1 2025",
|
|
377
|
+
"To continue using the features that were enabled by the AI broker after that time, you must deploy and use Maximo AI Service 9.1:",
|
|
378
|
+
" - Maximo AI Service 9.1 is compatible with both Maximo Application Suite 9.0 and 9.1 releases",
|
|
379
|
+
" - If Maximo AI Service is deployed with Maximo Application Suite 9.0, you can use only the AI features that were included in Maximo Application Suite 9.0",
|
|
380
|
+
"",
|
|
381
|
+
"Note: Maximo AI Service 9.1 includes a limited-use license to watsonx.ai and incurs an additional AppPoint cost"
|
|
382
|
+
])
|
|
383
|
+
|
|
384
|
+
if not self.devMode:
|
|
385
|
+
self.printDescription([
|
|
386
|
+
"",
|
|
387
|
+
"<ForestGreen>Coming Soon! We are busy putting the finishing touches on Maximo AI Service 9.1 ahead of a re-launch planned for the 28 August 2025 catalog update</ForestGreen>",
|
|
388
|
+
""
|
|
389
|
+
])
|
|
390
|
+
exit(1)
|
|
391
|
+
|
|
385
392
|
# Set image_pull_policy of the CLI in interactive mode
|
|
386
393
|
if args.image_pull_policy and args.image_pull_policy != "":
|
|
387
394
|
self.setParam("image_pull_policy", args.image_pull_policy)
|
|
@@ -868,7 +875,7 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
868
875
|
|
|
869
876
|
@logMethodCall
|
|
870
877
|
def configAppChannel(self, appId):
|
|
871
|
-
self.params[
|
|
878
|
+
self.params["aiservice_channel"] = prompt(HTML('<Yellow>Custom channel for AI Service</Yellow> '))
|
|
872
879
|
|
|
873
880
|
@logMethodCall
|
|
874
881
|
def configOperationMode(self):
|
mas/cli/cli.py
CHANGED
|
@@ -117,7 +117,7 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
117
117
|
logging.getLogger('asyncio').setLevel(logging.INFO)
|
|
118
118
|
|
|
119
119
|
# Supports extended semver, unlike mas.cli.__version__
|
|
120
|
-
self.version = "15.1.
|
|
120
|
+
self.version = "15.1.4"
|
|
121
121
|
self.h1count = 0
|
|
122
122
|
self.h2count = 0
|
|
123
123
|
|