mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This commit is contained in:
parent
923a1fa3ac
commit
3fc5652a5e
11 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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"', () => {
|
||||
|
|
|
@ -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(', '),
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}`,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}`
|
||||
});
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue