mas-cli 15.1.0__py3-none-any.whl → 15.1.2__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.1.0" # Python module compatible semver
11
+ __version__ = "15.1.2" # Python module compatible semver
@@ -144,18 +144,24 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
144
144
  self.storageClassProvider = "custom"
145
145
  self.slsLicenseFileLocal = None
146
146
 
147
- if simplified:
148
- self.showAdvancedOptions = False
149
- elif advanced:
150
- self.showAdvancedOptions = True
151
- else:
152
- self.chooseInstallFlavour()
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
+ ])
153
154
 
154
155
  # Catalog
155
156
  self.configCatalog()
156
157
  if not self.devMode:
157
- self.validateCatalogSource()
158
- self.licensePrompt()
158
+ self.printDescription([
159
+ "Coming Soon!",
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()
159
165
 
160
166
  # Storage Classes
161
167
  self.configStorageClasses()
@@ -191,7 +197,7 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
191
197
  self.slsLicenseFileLocal = None
192
198
 
193
199
  self.approvals = {
194
- "approval_aibroker": {"id": "app-cfg-aibroker"}, # After Aibroker workspace has been configured
200
+ "approval_aiservice": {"id": "aiservice"},
195
201
  }
196
202
 
197
203
  self.setDB2DefaultSettings()
@@ -514,10 +520,6 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
514
520
  logger.debug(f"Approval workflow for {approval['id']} will be enabled during install ({approval['maxRetries']} / {approval['retryDelay']}s / {approval['ignoreFailure']})")
515
521
  self.initializeApprovalConfigMap(namespace, approval['id'], True, approval['maxRetries'], approval['retryDelay'], approval['ignoreFailure'])
516
522
 
517
- @logMethodCall
518
- def chooseInstallFlavour(self) -> None:
519
- self.showAdvancedOptions = False
520
-
521
523
  def aiServiceSettings(self) -> None:
522
524
  self.printH1("AI Service Settings")
523
525
 
@@ -434,9 +434,9 @@ devArgGroup.add_argument(
434
434
  # -----------------------------------------------------------------------------
435
435
  approvalsGroup = aiServiceinstallArgParser.add_argument_group("Integrated Approval Workflow (MAX_RETRIES:RETRY_DELAY:IGNORE_FAILURE)")
436
436
  approvalsGroup.add_argument(
437
- "--approval-aibroker",
437
+ "--approval-aiservice",
438
438
  default="",
439
- help="Require approval after the Aibroker has been configured"
439
+ help="Require approval after the AI Service has been configured"
440
440
  )
441
441
 
442
442
  # More Options
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.0"
120
+ self.version = "15.1.2"
121
121
  self.h1count = 0
122
122
  self.h2count = 0
123
123