change back to Automation Analytics name (#12022)

This commit is contained in:
John Mitchell
2022-04-12 14:23:13 -04:00
committed by GitHub
parent 4328b4cb67
commit bbb9770a97
7 changed files with 47 additions and 53 deletions

View File

@@ -84,20 +84,16 @@ describe('<MiscSystemDetail />', () => {
assertDetail(wrapper, 'All Users Visible to Organization Admins', 'On');
assertDetail(
wrapper,
'Insights for Ansible Automation Platform Gather Interval',
'Automation Analytics Gather Interval',
'14400 seconds'
);
assertDetail(
wrapper,
'Insights for Ansible Automation Platform upload URL',
'Automation Analytics upload URL',
'https://example.com'
);
assertDetail(wrapper, 'Base URL of the service', 'https://towerhost');
assertDetail(
wrapper,
'Gather data for Insights for Ansible Automation Platform',
'Off'
);
assertDetail(wrapper, 'Gather data for Automation Analytics', 'Off');
assertDetail(
wrapper,
'Organization Admins Can Manage Users and Teams',
@@ -111,7 +107,7 @@ describe('<MiscSystemDetail />', () => {
assertDetail(wrapper, 'Red Hat or Satellite username', 'name2');
assertVariableDetail(
wrapper,
'Last gathered entries from the data collection service of Insights for Ansible Automation Platform',
'Last gathered entries from the data collection service of Automation Analytics',
'{\n "foo": "2021-11-24R06:35:15.179Z"\n}'
);
assertVariableDetail(wrapper, 'Remote Host Headers', '[]');

View File

@@ -31,12 +31,12 @@ function AnalyticsStep() {
spaceItems={{ default: 'spaceItemsMd' }}
direction={{ default: 'column' }}
>
<Trans>User and Insights analytics</Trans>
<Trans>User and Automation Analytics</Trans>
<p>
<Trans>
By default, we collect and transmit analytics data on the serice usage
to Red Hat. There are two categories of data collected by the service.
For more information, see{' '}
By default, we collect and transmit analytics data on the service
usage to Red Hat. There are two categories of data collected by the
service. For more information, see{' '}
<Button
component="a"
href={`${getDocsBaseUrl(
@@ -68,12 +68,12 @@ function AnalyticsStep() {
<CheckboxField
name="insights"
isDisabled={!config.me.is_superuser}
aria-label={t`Insights for Ansible Automation Platform`}
label={t`Insights for Ansible Automation Platform`}
aria-label={t`Automation Analytics`}
label={t`Automation Analytics`}
id="insights-field"
description={t`This data is used to enhance
future releases of the Software and to provide
Insights for Ansible Automation Platform.`}
Automation Analytics.`}
/>
</FormGroup>
{requireCredentialFields && (
@@ -82,7 +82,7 @@ function AnalyticsStep() {
<p>
<Trans>
Provide your Red Hat or Red Hat Satellite credentials to enable
Insights for Ansible Automation Platform.
Automation Analytics.
</Trans>
</p>
<FormField
@@ -108,7 +108,7 @@ function AnalyticsStep() {
<img
width="300"
src="static/media/insights-analytics-dashboard.jpeg"
alt={t`Insights for Ansible Automation Platform dashboard`}
alt={t`Automation Analytics dashboard`}
/>
<Button
component="a"
@@ -117,9 +117,7 @@ function AnalyticsStep() {
variant="secondary"
ouiaId="analytics-link"
>
<Trans>
Learn more about Insights for Ansible Automation Platform
</Trans>
<Trans>Learn more about Automation Analytics</Trans>
</Button>
</Flex>
</Flex>

View File

@@ -199,7 +199,7 @@ function SubscriptionEdit() {
...(!hasValidKey
? [
{
name: t`User and Insights analytics`,
name: t`User and Automation Analytics`,
id: 'analytics-step',
component: <AnalyticsStep />,
},

View File

@@ -88,7 +88,7 @@ describe('<SubscriptionEdit />', () => {
wrapper.find('WizardNavItem[content="Mock Subscription"]').length
).toBe(1);
expect(
wrapper.find('WizardNavItem[content="User and Insights analytics"]')
wrapper.find('WizardNavItem[content="User and Automation Analytics"]')
.length
).toBe(1);
expect(
@@ -254,7 +254,7 @@ describe('<SubscriptionEdit />', () => {
wrapper.find('WizardNavItem[content="Subscription Management"]').length
).toBe(1);
expect(
wrapper.find('WizardNavItem[content="User and Insights analytics"]')
wrapper.find('WizardNavItem[content="User and Automation Analytics"]')
.length
).toBe(0);
expect(

View File

@@ -79,7 +79,7 @@
"type": "string",
"required": false,
"label": "Red Hat customer username",
"help_text": "This username is used to send data to Insights for Ansible Automation Platform",
"help_text": "This username is used to send data to Automation Analytics",
"category": "System",
"category_slug": "system",
"default": ""
@@ -88,7 +88,7 @@
"type": "string",
"required": false,
"label": "Red Hat customer password",
"help_text": "This password is used to send data to Insights for Ansible Automation Platform",
"help_text": "This password is used to send data to Automation Analytics",
"category": "System",
"category_slug": "system",
"default": ""
@@ -114,8 +114,8 @@
"AUTOMATION_ANALYTICS_URL": {
"type": "string",
"required": false,
"label": "Insights for Ansible Automation Platform upload URL",
"help_text": "This setting is used to to configure the upload URL for data collection for Red Hat Insights.",
"label": "Automation Analytics upload URL",
"help_text": "This setting is used to to configure the upload URL for data collection for Automation Analytics.",
"category": "System",
"category_slug": "system",
"default": "https://example.com"
@@ -254,8 +254,8 @@
"INSIGHTS_TRACKING_STATE": {
"type": "boolean",
"required": false,
"label": "Gather data for Insights for Ansible Automation Platform",
"help_text": "Enables the service to gather data on automation and send it to Red Hat Insights.",
"label": "Gather data for Automation Analytics",
"help_text": "Enables the service to gather data on automation and send it to Automation Analytics.",
"category": "System",
"category_slug": "system",
"default": false
@@ -605,7 +605,7 @@
"AUTOMATION_ANALYTICS_LAST_GATHER": {
"type": "datetime",
"required": true,
"label": "Last gather date for Insights for Ansible Automation Platform.",
"label": "Last gather date for Automation Analytics.",
"category": "System",
"category_slug": "system",
"default": null
@@ -613,7 +613,7 @@
"AUTOMATION_ANALYTICS_LAST_ENTRIES": {
"type": "string",
"required": false,
"label": "Last gathered entries from the data collection service of Insights for Ansible Automation Platform",
"label": "Last gathered entries from the data collection service of Automation Analytics",
"category": "System",
"category_slug": "system",
"default": ""
@@ -621,7 +621,7 @@
"AUTOMATION_ANALYTICS_GATHER_INTERVAL": {
"type": "integer",
"required": false,
"label": "Insights for Ansible Automation Platform Gather Interval",
"label": "Automation Analytics Gather Interval",
"help_text": "Interval (in seconds) between data gathering.",
"min_value": 1800,
"category": "System",
@@ -3845,7 +3845,7 @@
"REDHAT_USERNAME": {
"type": "string",
"label": "Red Hat customer username",
"help_text": "This username is used to send data to Insights for Ansible Automation Platform",
"help_text": "This username is used to send data to Automation Analytics",
"category": "System",
"category_slug": "system",
"defined_in_file": false
@@ -3853,7 +3853,7 @@
"REDHAT_PASSWORD": {
"type": "string",
"label": "Red Hat customer password",
"help_text": "This password is used to send data to Insights for Ansible Automation Platform",
"help_text": "This password is used to send data to Automation Analytics",
"category": "System",
"category_slug": "system",
"defined_in_file": false
@@ -3876,8 +3876,8 @@
},
"AUTOMATION_ANALYTICS_URL": {
"type": "string",
"label": "Insights for Ansible Automation Platform upload URL",
"help_text": "This setting is used to to configure the upload URL for data collection for Red Hat Insights.",
"label": "Automation Analytics upload URL",
"help_text": "This setting is used to to configure the upload URL for data collection for Automation Analytics.",
"category": "System",
"category_slug": "system",
"defined_in_file": false
@@ -3984,8 +3984,8 @@
},
"INSIGHTS_TRACKING_STATE": {
"type": "boolean",
"label": "Gather data for Insights for Ansible Automation Platform",
"help_text": "Enables the service to gather data on automation and send it to Red Hat Insights.",
"label": "Gather data for Automation Analytics",
"help_text": "Enables the service to gather data on automation and send it to Automation Analytics.",
"category": "System",
"category_slug": "system",
"defined_in_file": false
@@ -4298,21 +4298,21 @@
},
"AUTOMATION_ANALYTICS_LAST_GATHER": {
"type": "datetime",
"label": "Last gather date for Insights for Ansible Automation Platform.",
"label": "Last gather date for Automation Analytics.",
"category": "System",
"category_slug": "system",
"defined_in_file": false
},
"AUTOMATION_ANALYTICS_LAST_ENTRIES": {
"type": "string",
"label": "Last gathered entries from the data collection service of Insights for Ansible Automation Platform",
"label": "Last gathered entries from the data collection service of Automation Analytics",
"category": "System",
"category_slug": "system",
"defined_in_file": false
},
"AUTOMATION_ANALYTICS_GATHER_INTERVAL": {
"type": "integer",
"label": "Insights for Ansible Automation Platform Gather Interval",
"label": "Automation Analytics Gather Interval",
"help_text": "Interval (in seconds) between data gathering.",
"min_value": 1800,
"category": "System",