</p>
<p>
<a
- href="https://redirect.sonarsource.com/editions/enterprise.html"
+ href="https://www.sonarqube.org/trial-request/enterprise-edition/?referrer=sonarqube-background-tasks"
rel="noopener noreferrer"
target="_blank">
{translate('learn_more')}
import HelpTooltip from 'sonar-ui-common/components/controls/HelpTooltip';
import Tooltip from 'sonar-ui-common/components/controls/Tooltip';
import AlertWarnIcon from 'sonar-ui-common/components/icons/AlertWarnIcon';
+import PlusCircleIcon from 'sonar-ui-common/components/icons/PlusCircleIcon';
import { translate } from 'sonar-ui-common/helpers/l10n';
import { getWorkers } from '../../../api/ce';
+import { colors } from '../../../app/theme';
import NoWorkersSupportPopup from './NoWorkersSupportPopup';
import WorkersForm from './WorkersForm';
)}
{!loading && !canSetWorkerCount && (
- <HelpTooltip className="spacer-left" overlay={<NoWorkersSupportPopup />} />
+ <HelpTooltip className="spacer-left" overlay={<NoWorkersSupportPopup />}>
+ <PlusCircleIcon fill={colors.blue} size={12} />
+ </HelpTooltip>
)}
{formOpen && <WorkersForm onClose={this.closeForm} workerCount={this.state.workerCount} />}
--- /dev/null
+/*
+ * SonarQube
+ * Copyright (C) 2009-2021 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+import { shallow } from 'enzyme';
+import * as React from 'react';
+import NoWorkersSupportPopup from '../NoWorkersSupportPopup';
+
+it('should render correctly', () => {
+ expect(shallow(<NoWorkersSupportPopup />)).toMatchSnapshot();
+});
--- /dev/null
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`should render correctly 1`] = `
+<Fragment>
+ <p
+ className="spacer-bottom"
+ >
+ <strong>
+ background_tasks.add_more_workers
+ </strong>
+ </p>
+ <p
+ className="big-spacer-bottom markdown"
+ >
+ background_tasks.add_more_workers.text
+ </p>
+ <p>
+ <a
+ href="https://www.sonarqube.org/trial-request/enterprise-edition/?referrer=sonarqube-background-tasks"
+ rel="noopener noreferrer"
+ target="_blank"
+ >
+ learn_more
+ </a>
+ </p>
+</Fragment>
+`;
<HelpTooltip
className="spacer-left"
overlay={<NoWorkersSupportPopup />}
- />
+ >
+ <PlusCircleIcon
+ fill="#4b9fd5"
+ size={12}
+ />
+ </HelpTooltip>
</div>
`;
background_tasks.number_of_workers.warning=Configuring additional workers without first vertically scaling your server could have negative performance impacts.
background_tasks.change_number_of_workers=Edit CE Workers
background_tasks.change_number_of_workers.hint=If your queue backs up behind the analysis reports from large projects, increasing the number of Compute Engine workers will allow you to take full advantage of having configured increased Compute Engine memory on a multi-core server (vertical scaling).
-background_tasks.add_more_workers=Speed up your analysis by adding more Workers
-background_tasks.add_more_workers.text=Increase the number of Compute Engine Workers with the Enterprise Edition.
+background_tasks.add_more_workers=Speed up analysis with parallel processing
+background_tasks.add_more_workers.text=Configure multiple workers for parallel processing of analysis reports in Enterprise Edition.
background_tasks.search_by_task_or_component=Search by Task or Component
background_tasks.failing_count=Count of projects where processing of most recent analysis report failed