mas-cli 11.3.0__py3-none-any.whl → 11.5.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.

@@ -16,6 +16,7 @@ from mas.devops.ocp import getConsoleURL
16
16
 
17
17
  logger = logging.getLogger(__name__)
18
18
 
19
+
19
20
  class InstallSummarizerMixin():
20
21
  def ocpSummary(self) -> None:
21
22
  self.printH2("OpenShift Container Platform")
@@ -42,7 +43,7 @@ class InstallSummarizerMixin():
42
43
  self.printSummary("Artifactory Token", f"{self.params['artifactory_token'][0:8]}<snip>")
43
44
 
44
45
  def masSummary(self) -> None:
45
- operationalModeNames=["", "Production", "Non-Production"]
46
+ operationalModeNames = ["", "Production", "Non-Production"]
46
47
 
47
48
  self.printH2("IBM Maximo Application Suite")
48
49
  self.printParamSummary("Instance ID", "mas_instance_id")
@@ -50,7 +51,7 @@ class InstallSummarizerMixin():
50
51
  self.printParamSummary("Workspace Name", "mas_workspace_name")
51
52
 
52
53
  print()
53
- self.printSummary(f"Operational Mode", operationalModeNames[self.operationalMode])
54
+ self.printSummary("Operational Mode", operationalModeNames[self.operationalMode])
54
55
  if isAirgapInstall(self.dynamicClient):
55
56
  self.printSummary("Install Mode", "Disconnected Install")
56
57
  else:
@@ -128,7 +129,6 @@ class InstallSummarizerMixin():
128
129
  else:
129
130
  self.printSummary("Loc Srv Esri (arcgis)", "Do Not Install")
130
131
 
131
-
132
132
  def predictSummary(self) -> None:
133
133
  if self.installPredict:
134
134
  self.printSummary("Predict", self.params["mas_app_channel_predict"])
@@ -158,7 +158,7 @@ class InstallSummarizerMixin():
158
158
  def manageSummary(self) -> None:
159
159
  if self.installManage:
160
160
  self.printSummary("Manage", self.params["mas_app_channel_manage"])
161
- print_formatted_text(HTML(f" <SkyBlue>+ Components</SkyBlue>"))
161
+ print_formatted_text(HTML(" <SkyBlue>+ Components</SkyBlue>"))
162
162
  self.printSummary(" + ACM", "Enabled" if "acm=" in self.getParam("mas_appws_components") else "Disabled")
163
163
  self.printSummary(" + Aviation", "Enabled" if "aviation=" in self.getParam("mas_appws_components") else "Disabled")
164
164
  self.printSummary(" + Civil Infrastructure", "Enabled" if "acm=" in self.getParam("mas_appws_components") else "Disabled")
@@ -184,7 +184,7 @@ class InstallSummarizerMixin():
184
184
  self.printParamSummary("+ Base Language", "mas_app_settings_base_lang")
185
185
  self.printParamSummary("+ Additional Languages", "mas_app_settings_secondary_langs")
186
186
 
187
- print_formatted_text(HTML(f" <SkyBlue>+ Database Settings</SkyBlue>"))
187
+ print_formatted_text(HTML(" <SkyBlue>+ Database Settings</SkyBlue>"))
188
188
  self.printParamSummary(" + Schema", "mas_app_settings_indexspace")
189
189
  self.printParamSummary(" + Username", "mas_app_settings_db2_schema")
190
190
  self.printParamSummary(" + Tablespace", "mas_app_settings_tablespace")
@@ -323,7 +323,7 @@ class InstallSummarizerMixin():
323
323
  ])
324
324
 
325
325
  logger.debug("PipelineRun parameters:")
326
- logger.debug(yaml.dump(self.params, default_flow_style = False))
326
+ logger.debug(yaml.dump(self.params, default_flow_style=False))
327
327
 
328
328
  # Cluster Config & Dependencies
329
329
  self.ocpSummary()