-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Painless Lab] NP migration #59794
Merged
alisonelizabeth
merged 8 commits into
elastic:app/painless
from
alisonelizabeth:painless/np
Mar 13, 2020
Merged
[Painless Lab] NP migration #59794
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b681a18
server code NP migration
alisonelizabeth 51264c4
migrate client code
alisonelizabeth d5cf2b3
remove unused code
alisonelizabeth c0c0b8e
fix TS error
alisonelizabeth 09029f1
address review feedback
alisonelizabeth c76542f
fix error handling for invalid painless script
alisonelizabeth 54b5d15
address review feedback
alisonelizabeth e87cf91
update schema
alisonelizabeth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
x-pack/legacy/plugins/painless_lab/server/lib/check_license.ts
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
x-pack/legacy/plugins/painless_lab/server/lib/license_pre_routing_factory.ts
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
x-pack/legacy/plugins/painless_lab/server/register_execute_route.ts
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
x-pack/legacy/plugins/painless_lab/server/register_license_checker.ts
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
import { LicenseType } from '../../licensing/common/types'; | ||
|
||
const basicLicense: LicenseType = 'basic'; | ||
|
||
export const PLUGIN = { | ||
id: 'painlessLab', | ||
minimumLicenseType: basicLicense, | ||
getI18nName: (i18n: any): string => | ||
i18n.translate('xpack.painlessLab.appTitle', { | ||
defaultMessage: 'Painless Lab', | ||
}), | ||
}; | ||
|
||
export const API_BASE_PATH = '/api/painless_lab'; |
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,16 @@ | ||
{ | ||
"id": "painlessLab", | ||
"version": "8.0.0", | ||
"kibanaVersion": "kibana", | ||
"requiredPlugins": [ | ||
"devTools", | ||
"licensing", | ||
"home" | ||
], | ||
"configPath": [ | ||
"xpack", | ||
"painless_lab" | ||
], | ||
"server": true, | ||
"ui": true | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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 @@ | ||
@import 'styles/index' |
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; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import './styles/_index.scss'; | ||
import { PluginInitializerContext } from 'src/core/public'; | ||
import { PainlessLabUIPlugin } from './plugin'; | ||
|
||
export function plugin(ctx: PluginInitializerContext) { | ||
return new PainlessLabUIPlugin(ctx); | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see where this is being used?