forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Platform Onboarding] Elastic cloud migration assistant page (elastic…
- Loading branch information
Showing
29 changed files
with
680 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 55 additions & 5 deletions
60
src/plugins/home/public/application/components/add_data/__snapshots__/add_data.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+108 KB
src/plugins/kibana_react/public/assets/illustration_cloud_migration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
x-pack/plugins/cloud_integrations/cloud_data_migration/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Cloud Data Migration | ||
|
||
Static migration page where self-managed users can see text/copy about migrating to Elastic Cloud |
13 changes: 13 additions & 0 deletions
13
x-pack/plugins/cloud_integrations/cloud_data_migration/common/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { i18n } from '@kbn/i18n'; | ||
|
||
export const PLUGIN_ID = 'migrate_data'; | ||
export const PLUGIN_NAME = i18n.translate('xpack.cloudDataMigration.name', { | ||
defaultMessage: 'Migrate', | ||
}); |
7 changes: 7 additions & 0 deletions
7
x-pack/plugins/cloud_integrations/cloud_data_migration/i18nrc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"prefix": "cloudDataMigration", | ||
"paths": { | ||
"cloudDataMigration": "." | ||
}, | ||
"translations": [] | ||
} |
18 changes: 18 additions & 0 deletions
18
x-pack/plugins/cloud_integrations/cloud_data_migration/jest.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
module.exports = { | ||
preset: '@kbn/test', | ||
rootDir: '../../../../', | ||
roots: ['<rootDir>/x-pack/plugins/cloud_integrations/cloud_data_migration'], | ||
coverageDirectory: | ||
'<rootDir>/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_data_migration', | ||
coverageReporters: ['text', 'html'], | ||
collectCoverageFrom: [ | ||
'<rootDir>/x-pack/plugins/cloud_integrations/cloud_data_migration/{common,public}/**/*.{ts,tsx}', | ||
], | ||
}; |
15 changes: 15 additions & 0 deletions
15
x-pack/plugins/cloud_integrations/cloud_data_migration/kibana.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"id": "cloudDataMigration", | ||
"version": "1.0.0", | ||
"kibanaVersion": "kibana", | ||
"owner": { | ||
"name": "Platform Onboarding", | ||
"githubTeam": "platform-onboarding" | ||
}, | ||
"description": "Static migration page where self-managed users can see text/copy about migrating to Elastic Cloud", | ||
"server": true, | ||
"ui": true, | ||
"configPath": ["xpack", "cloud_integrations", "data_migration"], | ||
"requiredPlugins": ["cloud", "management", "kibanaReact", "features"], | ||
"requiredBundles": [ "kibanaReact" ] | ||
} |
30 changes: 30 additions & 0 deletions
30
x-pack/plugins/cloud_integrations/cloud_data_migration/public/app.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { css } from '@emotion/react'; | ||
import { EuiThemeComputed } from '@elastic/eui'; | ||
|
||
export const getAppStyles = (euiTheme: EuiThemeComputed) => { | ||
return { | ||
listItemCss: css` | ||
font-weight: ${euiTheme.font.weight.light}; | ||
`, | ||
panelCss: css` | ||
padding: calc(${euiTheme.size.xxxl}); | ||
margin: ${euiTheme.size.l} auto; | ||
width: 100%; | ||
max-width: 875px; | ||
`, | ||
illustrationCss: css` | ||
max-width: 75%; | ||
`, | ||
layoutCss: css` | ||
max-width: 500px; | ||
margin: 0 auto; | ||
`, | ||
}; | ||
}; |
Oops, something went wrong.