Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
81cb2fd
[patch] Support the new reportAdoptionMetrics flag on mas cli
Hita-Pandya Oct 16, 2025
b85f748
[patch] fixed build issue
Hita-Pandya Oct 16, 2025
5ac6c9b
[patch] Updated ansible-devops version for testing
Hita-Pandya Oct 17, 2025
f274082
[patch] Removed extra changes
Hita-Pandya Oct 17, 2025
49e9ac4
[patch] Updated description
Hita-Pandya Oct 17, 2025
7d8820a
[patch] Correct variable name
Hita-Pandya Oct 17, 2025
86449a4
[patch] support opt-out flag on mas cli
Hita-Pandya Oct 27, 2025
5fbb5bd
[patch] updated ansible deveops version
Hita-Pandya Oct 27, 2025
73d0b64
[patch] changing image pull policy
Hita-Pandya Oct 27, 2025
77d749e
[patch] Updated description for metric reporting
Hita-Pandya Oct 28, 2025
19169b2
[patch] added mas_report_adoption_metrics
Hita-Pandya Oct 28, 2025
8147d5a
[patch] Updated description
Hita-Pandya Oct 28, 2025
a24851f
[patch] Update adoption usage prompt text
lokesh-sreedhara Oct 28, 2025
af2a180
Merge branch 'master' into MASCORE-10350
lokesh-sreedhara Oct 29, 2025
2482dfb
Merge branch 'master' into MASCORE-10350
lokesh-sreedhara Nov 3, 2025
36817b7
Merge branch 'master' into MASCORE-10350
Hita-Pandya Jan 29, 2026
708231a
Merge branch 'master' into MASCORE-10350
Hita-Pandya Feb 2, 2026
93a0834
[patch] add support for opt out flags on cli
Hita-Pandya Feb 2, 2026
03d425d
[patch] add ansible and python devops for testing
Hita-Pandya Feb 2, 2026
ea89b39
[patch] update image pull policy for testing
Hita-Pandya Feb 2, 2026
a922581
[patch] remove ansible and python devops
Hita-Pandya Feb 5, 2026
702cda8
[patch] update image pull policy
Hita-Pandya Feb 5, 2026
3e08635
Merge branch 'master' into MASCORE-10350
Hita-Pandya Feb 5, 2026
7769b35
Merge branch 'master' into MASCORE-10350
lokesh-sreedhara Feb 6, 2026
56cad52
Merge branch 'master' into MASCORE-10350
Hita-Pandya Feb 9, 2026
35ba7a8
[patch] add condition for 9.1
Hita-Pandya Feb 9, 2026
1fb5f68
Merge branch 'master' into MASCORE-10350
Hita-Pandya Feb 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions image/cli/mascli/functions/internal/save_config
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export MAS_CHANNEL=$MAS_CHANNEL
export MAS_ICR_CP=$MAS_ICR_CP
export MAS_ICR_CPOPEN=$MAS_ICR_CPOPEN

export MAS_FEATURE_USAGE=$MAS_FEATURE_USAGE
export MAS_USABILITY_METRICS=$MAS_USABILITY_METRICS
export MAS_DEPLOYMENT_PROGRESSION=$MAS_DEPLOYMENT_PROGRESSION

export MAS_SUPERUSER_USERNAME=$MAS_SUPERUSER_USERNAME
export MAS_SUPERUSER_PASSWORD=$MAS_SUPERUSER_PASSWORD

Expand Down
25 changes: 25 additions & 0 deletions python/src/mas/cli/install/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,30 @@ def configSpecialCharacters(self):
])
self.yesOrNo("Allow special characters for user IDs and usernames", "mas_special_characters")

@logMethodCall
def configReportAdoptionMetricsFlag(self):
if self.showAdvancedOptions and isVersionEqualOrAfter('9.1.0', self.getParam("mas_channel")):
self.printH1("Adoption Metrics Reporting")
self.printDescription([
"Adoption Metrics are used by IBM to measure feature adoption, user engagement, and the success of product initiatives.",
"You can control three types of metrics:",
" - Feature Adoption: Tracks feature usage to understand adoption and improve the product",
" - Deployment Progression: Tracks progression of tasks and workflows within the product",
" - Usability: Tracks user interface interactions to improve usability",
"",
"When enabled (y), you permit IBM to capture and analyze these metrics to help improve the Maximo Application Suite experience.",
"When disabled (n), you are opting out of sending that specific metric type to IBM."
])

if not self.yesOrNo("Enable feature adoption metrics"):
self.setParam("mas_feature_usage", "false")

if not self.yesOrNo("Enable deployment progression metrics"):
self.setParam("mas_deployment_progression", "false")

if not self.yesOrNo("Enable usability metrics"):
self.setParam("mas_usability_metrics", "false")

@logMethodCall
def configCP4D(self):
if self.getParam("mas_catalog_version") in self.catalogOptions:
Expand Down Expand Up @@ -557,6 +581,7 @@ def configMAS(self):
self.configDNSAndCerts()
self.configSSOProperties()
self.configSpecialCharacters()
self.configReportAdoptionMetricsFlag()
self.configGuidedTour()

@logMethodCall
Expand Down
11 changes: 10 additions & 1 deletion python/src/mas/cli/install/argBuilder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *****************************************************************************
# Copyright (c) 2024 IBM Corporation and other Contributors.
# Copyright (c) 2024, 2026 IBM Corporation and other Contributors.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
Expand Down Expand Up @@ -128,6 +128,15 @@ def buildCommand(self) -> str:
if self.getParam('mas_enable_walkme') == "false":
command += f" --disable-walkme{newline}"

if self.getParam('mas_feature_usage') == "false":
command += f" --disable-feature-usage{newline}"

if self.getParam('mas_usability_metrics') == "false":
command += f" --disable-usability-metrics{newline}"

if self.getParam('mas_deployment_progression') == "false":
command += f" --disable-deployment-progression{newline}"

if self.getParam('enable_ipv6') is True:
command += f" --enable-ipv6{newline}"

Expand Down
26 changes: 25 additions & 1 deletion python/src/mas/cli/install/argParser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *****************************************************************************
# Copyright (c) 2024 IBM Corporation and other Contributors.
# Copyright (c) 2024, 2026 IBM Corporation and other Contributors.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
Expand Down Expand Up @@ -202,6 +202,30 @@ def isValidFile(parser: argparse.ArgumentParser, arg: str) -> str:
action="store_const",
const="false"
)
masAdvancedArgGroup.add_argument(
"--disable-feature-usage",
dest="mas_feature_usage",
required=False,
help="Disable feature adoption metrics reporting",
action="store_const",
const="false"
)
masAdvancedArgGroup.add_argument(
"--disable-deployment-progression",
dest="mas_deployment_progression",
required=False,
help="Disable deployment progression metrics reporting",
action="store_const",
const="false"
)
masAdvancedArgGroup.add_argument(
"--disable-usability-metrics",
dest="mas_usability_metrics",
required=False,
help="Disable usability metrics reporting",
action="store_const",
const="false"
)

masAdvancedArgGroup.add_argument(
"--dns-provider",
Expand Down
3 changes: 3 additions & 0 deletions python/src/mas/cli/install/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@
"artifactory_token",
# Guided Tour
"mas_enable_walkme",
"mas_feature_usage",
"mas_usability_metrics",
"mas_deployment_progression",
# Facilities
"mas_ws_facilities_size",
"mas_ws_facilities_routes_timeout",
Expand Down
11 changes: 10 additions & 1 deletion python/src/mas/cli/install/summarizer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *****************************************************************************
# Copyright (c) 2024 IBM Corporation and other Contributors.
# Copyright (c) 2024, 2026 IBM Corporation and other Contributors.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
Expand Down Expand Up @@ -105,6 +105,15 @@ def masSummary(self) -> None:
self.printParamSummary("IBM Entitled Registry", "mas_icr_cp")
self.printParamSummary("IBM Open Registry", "mas_icr_cpopen")

print()
self.printParamSummary("Enable feature adoption metrics", "mas_feature_usage")

print()
self.printParamSummary("Enable deployment progression metrics", "mas_deployment_progression")

print()
self.printParamSummary("Enable usability metrics", "mas_usability_metrics")

print()
self.printParamSummary("Trust Default Cert Authorities", "mas_trust_default_cas")

Expand Down
12 changes: 12 additions & 0 deletions tekton/src/params/install.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,18 @@
- name: mas_icr_cpopen
type: string
default: ""
- name: mas_feature_usage
type: string
description: Flag to control feature adoption metrics used to understand feature usage and improve the product
default: "True"
- name: mas_usability_metrics
type: string
description: Flag to control user interface interaction metrics to improve usability
default: "True"
- name: mas_deployment_progression
type: string
description: Flag to control metrics used to understand progression of tasks and workflows within the product
default: "True"
- name: mas_annotations
type: string
default: ""
Expand Down
6 changes: 6 additions & 0 deletions tekton/src/pipelines/taskdefs/core/suite-install.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
value: $(params.mas_channel)
- name: mas_catalog_source
value: $(params.mas_catalog_source)
- name: mas_feature_usage
value: $(params.mas_feature_usage)
- name: mas_usability_metrics
value: $(params.mas_usability_metrics)
- name: mas_deployment_progression
value: $(params.mas_deployment_progression)
- name: mas_icr_cp
value: $(params.mas_icr_cp)
- name: mas_icr_cpopen
Expand Down
20 changes: 20 additions & 0 deletions tekton/src/tasks/suite-install.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@ spec:
type: string
default: ""

- name: mas_feature_usage
type: string
description: Flag to control feature adoption metrics used to understand feature usage and improve the product
default: "True"
- name: mas_usability_metrics
type: string
description: Flag to control user interface interaction metrics to improve usability
default: "True"
- name: mas_deployment_progression
type: string
description: Flag to control metrics used to understand progression of tasks and workflows within the product
default: "True"

- name: ibm_entitlement_key
type: string

Expand Down Expand Up @@ -193,6 +206,13 @@ spec:
- name: MAS_ICR_CPOPEN
value: $(params.mas_icr_cpopen)

- name: MAS_FEATURE_USAGE
value: $(params.mas_feature_usage)
- name: MAS_USABILITY_METRICS
value: $(params.mas_usability_metrics)
- name: MAS_DEPLOYMENT_PROGRESSION
value: $(params.mas_deployment_progression)

- name: IBM_ENTITLEMENT_KEY
value: $(params.ibm_entitlement_key)

Expand Down