mas-cli 10.9.2__py3-none-any.whl → 11.0.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 +1 -1
- mas/cli/cli.py +1 -1
- mas/cli/install/app.py +8 -1
- mas/cli/install/argBuilder.py +3 -0
- mas/cli/install/argParser.py +10 -1
- mas/cli/templates/ibm-mas-tekton.yaml +233 -128
- mas/cli/update/app.py +1 -0
- mas/cli/update/argParser.py +8 -0
- {mas_cli-10.9.2.dist-info → mas_cli-11.0.0.dist-info}/METADATA +1 -1
- {mas_cli-10.9.2.dist-info → mas_cli-11.0.0.dist-info}/RECORD +13 -13
- {mas_cli-10.9.2.dist-info → mas_cli-11.0.0.dist-info}/WHEEL +1 -1
- {mas_cli-10.9.2.data → mas_cli-11.0.0.data}/scripts/mas-cli +0 -0
- {mas_cli-10.9.2.dist-info → mas_cli-11.0.0.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
mas/cli/cli.py
CHANGED
mas/cli/install/app.py
CHANGED
|
@@ -185,6 +185,10 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
|
|
|
185
185
|
self.printH1("Configure MongoDb")
|
|
186
186
|
self.promptForString("Install namespace", "mongodb_namespace", default="mongoce")
|
|
187
187
|
|
|
188
|
+
def configSpecialCharacters(self):
|
|
189
|
+
self.printH1("Configure special characters for userID and username")
|
|
190
|
+
self.yesOrNo("Do you want to allow special characters for user IDs and usernames?", "mas_special_characters")
|
|
191
|
+
|
|
188
192
|
def configCP4D(self):
|
|
189
193
|
if self.getParam("mas_catalog_version") in ["v9-240625-amd64", "v9-240730-amd64", "v9-240827-amd64"]:
|
|
190
194
|
logger.debug(f"Using automatic CP4D product version: {self.getParam('cpd_product_version')}")
|
|
@@ -261,6 +265,7 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
|
|
|
261
265
|
self.configCATrust()
|
|
262
266
|
self.configDNSAndCerts()
|
|
263
267
|
self.configSSOProperties()
|
|
268
|
+
self.configSpecialCharacters()
|
|
264
269
|
self.configGuidedTour()
|
|
265
270
|
|
|
266
271
|
def configCATrust(self) -> None:
|
|
@@ -746,7 +751,9 @@ class InstallApp(BaseApp, InstallSettingsMixin, InstallSummarizerMixin, ConfigGe
|
|
|
746
751
|
"install_arcgis",
|
|
747
752
|
"mas_arcgis_channel",
|
|
748
753
|
# Guided Tour
|
|
749
|
-
"mas_enable_walkme"
|
|
754
|
+
"mas_enable_walkme",
|
|
755
|
+
# Special chars
|
|
756
|
+
"mas_special_characters"
|
|
750
757
|
]
|
|
751
758
|
|
|
752
759
|
for key, value in vars(self.args).items():
|
mas/cli/install/argBuilder.py
CHANGED
|
@@ -60,6 +60,9 @@ class installArgBuilderMixin():
|
|
|
60
60
|
command += f" --mas-workspace-id {self.getParam('mas_workspace_id')}"
|
|
61
61
|
command += f" --mas-workspace-name \"{self.getParam('mas_workspace_name')}\"{newline}"
|
|
62
62
|
|
|
63
|
+
if self.getParam('mas_special_characters') == "true":
|
|
64
|
+
command += f" --allow-special-chars \"{self.getParam('mas_special_characters')}\"{newline}"
|
|
65
|
+
|
|
63
66
|
# ECK Integration
|
|
64
67
|
# -----------------------------------------------------------------------------
|
|
65
68
|
if self.getParam('eck_action') == "install":
|
mas/cli/install/argParser.py
CHANGED
|
@@ -75,7 +75,16 @@ masArgGroup.add_argument(
|
|
|
75
75
|
required=False,
|
|
76
76
|
help="Subscription channel for the Core Platform"
|
|
77
77
|
)
|
|
78
|
-
|
|
78
|
+
# MAS Special characters
|
|
79
|
+
# -----------------------------------------------------------------------------
|
|
80
|
+
masSpecialCharacters = installArgParser.add_argument_group("Mas Special Characters")
|
|
81
|
+
masSpecialCharacters.add_argument(
|
|
82
|
+
"--allow-special-chars",
|
|
83
|
+
dest="mas_special_characters",
|
|
84
|
+
required=False,
|
|
85
|
+
help="Allow special chars for users username/ID",
|
|
86
|
+
action="store_true"
|
|
87
|
+
)
|
|
79
88
|
# ECK Integration
|
|
80
89
|
# -----------------------------------------------------------------------------
|
|
81
90
|
eckArgGroup = installArgParser.add_argument_group("ECK Integration")
|