Update copy to refer to Cross-Cluster Search/Replication. (#33872)

This commit is contained in:
CJ Cenizal 2019-03-27 19:53:19 -07:00 committed by GitHub
parent 786423a85a
commit 7a4b3ced60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 13 deletions

View file

@ -6,7 +6,7 @@ This is meant to serve as a guide to this area of code.
In order to prevent future regressions, there are a few scenarios
that need to be tested with each change to this area of the code.
- Cross cluster search
- Cross-cluster search
- Ensure changes work properly in a CCS environment
- A solid CCS environment involves various indices on all nodes including the controlling node.
- Alias support

View file

@ -53,7 +53,7 @@ describe('<CrossClusterReplicationHome />', () => {
test('should set the correct an app title', () => {
expect(exists('ccrAppTitle')).toBe(true);
expect(find('ccrAppTitle').text()).toEqual('Cross Cluster Replication');
expect(find('ccrAppTitle').text()).toEqual('Cross-Cluster Replication');
});
test('should have 2 tabs to switch between "Follower indices" & "Auto-follow patterns"', () => {

View file

@ -95,7 +95,7 @@ export class App extends Component {
// This error isn't an HTTP error, so let the fatal error screen tell the user something
// unexpected happened.
fatalError(error, i18n.translate('xpack.crossClusterReplication.app.checkPermissionsFatalErrorTitle', {
defaultMessage: 'Cross Cluster Replication app',
defaultMessage: 'Cross-Cluster Replication app',
}));
}
}
@ -196,7 +196,7 @@ export class App extends Component {
<p>
<FormattedMessage
id="xpack.crossClusterReplication.app.deniedPermissionDescription"
defaultMessage="To use Cross Cluster Replication, you must have {clusterPrivilegesCount,
defaultMessage="To use Cross-Cluster Replication, you must have {clusterPrivilegesCount,
plural, one {this cluster privilege} other {these cluster privileges}}: {clusterPrivileges}."
values={{
clusterPrivileges: missingClusterPrivileges.join(', '),

View file

@ -100,7 +100,7 @@ class FollowerIndexUnfollowProviderUi extends PureComponent {
<FormattedMessage
id="xpack.crossClusterReplication.unfollowLeaderIndex.confirmModal.singleUnfollowDescription"
defaultMessage="The follower index will be converted to a standard index. It will
no longer appear in Cross Cluster Replication, but you can manage it in Index
no longer appear in Cross-Cluster Replication, but you can manage it in Index
Management. You can't undo this operation."
/>
</p>
@ -111,7 +111,7 @@ class FollowerIndexUnfollowProviderUi extends PureComponent {
<FormattedMessage
id="xpack.crossClusterReplication.unfollowLeaderIndex.confirmModal.multipleUnfollowDescription"
defaultMessage="The follower indices will be converted to standard indices. They
will no longer appear in Cross Cluster Replication, but you can manage them in
will no longer appear in Cross-Cluster Replication, but you can manage them in
Index Management. You can't undo this operation."
/>
</p>

View file

@ -73,7 +73,7 @@ export class CrossClusterReplicationHome extends PureComponent {
<h1>
<FormattedMessage
id="xpack.crossClusterReplication.autoFollowPatternList.crossClusterReplicationTitle"
defaultMessage="Cross Cluster Replication"
defaultMessage="Cross-Cluster Replication"
/>
</h1>
</EuiTitle>

View file

@ -9,7 +9,7 @@ import { BASE_PATH } from '../../../common/constants';
export const listBreadcrumb = {
text: i18n.translate('xpack.crossClusterReplication.homeBreadcrumbTitle', {
defaultMessage: 'Cross Cluster Replication',
defaultMessage: 'Cross-Cluster Replication',
}),
href: `#${BASE_PATH}`,
};

View file

@ -1,7 +1,7 @@
// Import the EUI global scope so we can use EUI constants
@import 'src/legacy/ui/public/styles/_styling_constants';
// Cross Cluster Replication plugin styles
// Cross-Cluster Replication plugin styles
// Prefix all styles with "ccr" to avoid conflicts.
// Examples

View file

@ -22,7 +22,7 @@ if (chrome.getInjected('ccrUiEnabled')) {
esSection.register('ccr', {
visible: true,
display: i18n.translate('xpack.crossClusterReplication.appTitle', { defaultMessage: 'Cross Cluster Replication' }),
display: i18n.translate('xpack.crossClusterReplication.appTitle', { defaultMessage: 'Cross-Cluster Replication' }),
order: 4,
url: `#${BASE_PATH}`
});

View file

@ -7,7 +7,7 @@
import { i18n } from '@kbn/i18n';
export function checkLicense(xpackLicenseInfo) {
const pluginName = 'Cross Cluster Replication';
const pluginName = 'Cross-Cluster Replication';
// If, for some reason, we cannot get the license information
// from Elasticsearch, assume worst case and disable

View file

@ -7,7 +7,7 @@
/**
* Prefix all comma separated index patterns within the original {@code indexPattern}.
*
* Cross Cluster Search (CCS) prefixing is ignored if the user has disabled CCS via kibana.yml,
* Cross-cluster search (CCS) prefixing is ignored if the user has disabled CCS via kibana.yml,
* which means that the index pattern will be returned without using {@code ccs}.
*
* @param {Object} config The Kibana configuration object.

View file

@ -5,7 +5,7 @@
*/
export default function ({ loadTestFile }) {
describe('cross cluster replication', () => {
describe('cross-cluster replication', () => {
loadTestFile(require.resolve('./auto_follow_pattern'));
loadTestFile(require.resolve('./follower_indices'));
});