mas-cli 15.9.1__py3-none-any.whl → 15.10.1__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.9.1" # Python module compatible semver
11
+ __version__ = "15.10.1" # Python module compatible semver
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.9.1"
121
+ self.version = "15.10.1"
122
122
  self.h1count = 0
123
123
  self.h2count = 0
124
124
 
@@ -29,31 +29,6 @@ class Db2SettingsMixin():
29
29
  self.setParam("db2_action_facilities", "none")
30
30
  return
31
31
 
32
- # For now we are limiting users to bring your own database for Manage on s390x & ppc64le
33
- # Eventually we will be able to remove this clause and allow the standard logic to work for s390x, ppc64le and amd64
34
- if (self.architecture == "s390x" or self.architecture == "ppc64le") and self.installManage:
35
- # silentMode does not apply for s390x/ppc64le because it requires interaction when selecting local config directory
36
- self.printDescription([
37
- "Installation of a Db2 instance using the IBM Db2 Universal Operator is not currently supported on s390x /ppc64le, please provide configuration details for the database you wish to use.",
38
- ])
39
- instanceId = self.getParam('mas_instance_id')
40
- workspaceId = self.getParam("mas_workspace_id")
41
-
42
- self.setParam("mas_appws_bindings_jdbc_manage", "workspace-application")
43
- self.setParam("db2_action_manage", "byo")
44
- self.selectLocalConfigDir()
45
-
46
- # Check if a configuration already exists before creating a new one
47
- jdbcCfgFile = path.join(self.localConfigDir, f"jdbc-{instanceId}-manage.yaml")
48
- print_formatted_text(f"Searching for {self.manageAppName} database configuration file in {jdbcCfgFile} ...")
49
- if path.exists(jdbcCfgFile):
50
- if self.yesOrNo(f"{self.manageAppName} database configuration file 'jdbc-{instanceId}-manage.yaml' already exists. Do you want to generate a new one"):
51
- self.generateJDBCCfg(instanceId=instanceId, scope="workspace-application", workspaceId=workspaceId, appId="manage", destination=jdbcCfgFile)
52
- else:
53
- print_formatted_text(f"Expected file ({jdbcCfgFile}) was not found, generating a valid {self.manageAppName} database configuration file now ...")
54
- self.generateJDBCCfg(instanceId=instanceId, scope="workspace-application", workspaceId=workspaceId, appId="manage", destination=jdbcCfgFile)
55
- return
56
-
57
32
  # Proceed as normal
58
33
  # We know we are installing either IoT, Manage or Facilities, and on amd64 target architecture
59
34
  if not silentMode: