Skip to content
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

[Response Ops] [Connectors] Move connectors type UI components to stack_connectors plugin #140444

Merged
merged 54 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8bafd7e
Initial commit of stack connectors plugin
ymao1 Aug 31, 2022
f3262cd
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Aug 31, 2022
29ac1a6
Fixing up xmatters. Moving library functions around
ymao1 Aug 31, 2022
28782fd
Merge branch 'connector-types-plugin' of https://github.com/ymao1/kib…
ymao1 Aug 31, 2022
3dbae0b
[CI] Auto-commit changed files from 'node scripts/build_plugin_list_d…
kibanamachine Aug 31, 2022
49ea7d4
Fixing up webhook
ymao1 Aug 31, 2022
8eecc26
Merge branch 'connector-types-plugin' of https://github.com/ymao1/kib…
ymao1 Aug 31, 2022
43ec101
Fixing up teams and slack
ymao1 Aug 31, 2022
9f640d9
Fixing up index, email, pagerduty, server log
ymao1 Sep 1, 2022
7f5a864
Fixing i18n
ymao1 Sep 1, 2022
69351f5
Merge branch 'main' of https://github.com/elastic/kibana into connect…
ymao1 Sep 6, 2022
341e237
wip
ymao1 Sep 6, 2022
3d9dd26
Moving well know email route to stack connectors plugin
ymao1 Sep 7, 2022
cb3af5e
Merge branch 'main' of https://github.com/elastic/kibana into connect…
ymao1 Sep 7, 2022
ad01385
Fixing types
ymao1 Sep 7, 2022
29e2e09
Fixing unit tests
ymao1 Sep 7, 2022
59e7133
Adding index.ts
ymao1 Sep 7, 2022
0db4fa7
Cleanup
ymao1 Sep 7, 2022
1050de4
Updating READMEs
ymao1 Sep 7, 2022
7583542
[CI] Auto-commit changed files from 'node scripts/build_plugin_list_d…
kibanamachine Sep 8, 2022
b50eac9
Moving to domain specific folders and updating codeowners
ymao1 Sep 8, 2022
1a9db8d
Merge branch 'connector-types-plugin' of https://github.com/ymao1/kib…
ymao1 Sep 8, 2022
b5437e8
Fixing codeowners
ymao1 Sep 8, 2022
5709117
Fixing types
ymao1 Sep 8, 2022
ec66b9b
Initial commit moving client code to stack connectors plugin
ymao1 Sep 8, 2022
13adbaa
Updated all imports
ymao1 Sep 8, 2022
e19886f
Updating email
ymao1 Sep 9, 2022
706d89d
Updating index
ymao1 Sep 9, 2022
827473c
Updating stack connectors
ymao1 Sep 9, 2022
f59e290
Updating cases connectors
ymao1 Sep 9, 2022
09df698
Cleanup
ymao1 Sep 9, 2022
caf68a0
Merge branch 'main' of https://github.com/elastic/kibana into connect…
ymao1 Sep 9, 2022
5a7c6a6
Splitting test_utils
ymao1 Sep 9, 2022
c47bd95
Fixing all imports
ymao1 Sep 9, 2022
603e0e6
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Sep 9, 2022
8216a8b
Fixing types and limits
ymao1 Sep 9, 2022
f8f8373
Merge branch 'connector-types-plugin-ui' of https://github.com/ymao1/…
ymao1 Sep 9, 2022
6064bea
Merge branch 'main' of https://github.com/elastic/kibana into connect…
ymao1 Sep 13, 2022
d14ef5c
Fixing unit tests
ymao1 Sep 13, 2022
d2bb351
Merging in main
ymao1 Sep 15, 2022
8552caf
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 16, 2022
cc82d80
Fixing CI
ymao1 Sep 17, 2022
a874e8c
Merge branch 'main' of https://github.com/elastic/kibana into connect…
ymao1 Sep 17, 2022
d388152
Merge branch 'connector-types-plugin-ui' of https://github.com/ymao1/…
ymao1 Sep 17, 2022
6034715
Merging in main
ymao1 Sep 20, 2022
ea8c44d
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 21, 2022
8bc312d
Merging in main
ymao1 Sep 22, 2022
51bdc6c
Updating codeowners
ymao1 Sep 22, 2022
13588bd
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 23, 2022
aeefc68
Merging in main
ymao1 Sep 23, 2022
d5eb477
Merge branch 'connector-types-plugin-ui' of https://github.com/ymao1/…
ymao1 Sep 23, 2022
c1c3389
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 26, 2022
538a1b4
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 27, 2022
fa17072
Merge branch 'main' into connector-types-plugin-ui
kibanamachine Sep 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1314,15 +1314,15 @@ module.exports = {
{
// typescript for front and back end
files: [
'x-pack/plugins/{alerting,stack_alerts,stack_connectors,actions,task_manager,event_log}/**/*.{ts,tsx}',
'x-pack/plugins/{alerting,stack_alerts,actions,task_manager,event_log}/**/*.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
},
},
{
// typescript only for back end
files: ['x-pack/plugins/triggers_actions_ui/server/**/*.ts'],
files: ['x-pack/plugins/{stack_connectors,triggers_actions_ui}/server/**/*.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
},
Expand Down
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ x-pack/examples/files_example @elastic/kibana-app-services
/x-pack/plugins/event_log/ @elastic/response-ops
/x-pack/plugins/task_manager/ @elastic/response-ops
/x-pack/plugins/stack_connectors/ @elastic/response-ops
/x-pack/plugins/stack_connectors/public/connector_types/stack/ @elastic/response-ops-execution
/x-pack/plugins/stack_connectors/server/connector_types/stack/ @elastic/response-ops-execution
/x-pack/plugins/stack_connectors/public/connector_types/cases/ @elastic/response-ops-cases
/x-pack/plugins/stack_connectors/server/connector_types/cases/ @elastic/response-ops-cases
/x-pack/test/alerting_api_integration/ @elastic/response-ops
/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/response-ops
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-optimizer/limits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pageLoadAssetSize:
snapshotRestore: 79032
spaces: 57868
stackAlerts: 29684
stackConnectors: 36314
synthetics: 40958
telemetry: 51957
telemetryManagementSection: 38586
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/stack_connectors/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ module.exports = {
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/stack_connectors',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/x-pack/plugins/stack_connectors/{common,server}/**/*.{js,ts,tsx}',
'<rootDir>/x-pack/plugins/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}',
],
};
4 changes: 2 additions & 2 deletions x-pack/plugins/stack_connectors/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"version": "8.0.0",
"kibanaVersion": "kibana",
"configPath": ["xpack", "stack_connectors"],
"requiredPlugins": ["actions"],
"ui": false
"requiredPlugins": ["actions", "esUiShared", "triggersActionsUi"],
"ui": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* 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.
*/

export { getConnectorType as getCasesWebhookConnectorType } from './webhook';
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { Field, TextField } from '@kbn/es-ui-shared-plugin/static/forms/components';
import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers';
import { PasswordField } from '../../../password_field';
import { PasswordField } from '@kbn/triggers-actions-ui-plugin/public';
import * as i18n from '../translations';
const { emptyField } = fieldValidators;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText } from '@elastic/eui';
import { FIELD_TYPES, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { Field } from '@kbn/es-ui-shared-plugin/static/forms/components';
import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers';
import { JsonFieldWrapper } from '@kbn/triggers-actions-ui-plugin/public';
import { containsTitleAndDesc } from '../validator';
import { JsonFieldWrapper } from '../../../json_field_wrapper';
import { casesVars } from '../action_variables';
import { HTTP_VERBS } from '../webhook_connectors';
import * as i18n from '../translations';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui';
import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { Field } from '@kbn/es-ui-shared-plugin/static/forms/components';
import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers';
import { MustacheTextFieldWrapper } from '../../../mustache_text_field_wrapper';
import { MustacheTextFieldWrapper } from '@kbn/triggers-actions-ui-plugin/public';
import { containsExternalId, containsExternalIdOrTitle } from '../validator';
import { urlVars, urlVarsExt } from '../action_variables';
import * as i18n from '../translations';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers';
import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText } from '@elastic/eui';
import { FIELD_TYPES, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { Field } from '@kbn/es-ui-shared-plugin/static/forms/components';
import { JsonFieldWrapper, MustacheTextFieldWrapper } from '@kbn/triggers-actions-ui-plugin/public';
import { containsCommentsOrEmpty, containsTitleAndDesc, isUrlButCanBeEmpty } from '../validator';
import { MustacheTextFieldWrapper } from '../../../mustache_text_field_wrapper';
import { casesVars, commentVars, urlVars } from '../action_variables';
import { JsonFieldWrapper } from '../../../json_field_wrapper';
import { HTTP_VERBS } from '../webhook_connectors';
import { styles } from './update.styles';
import * as i18n from '../translations';
Expand Down
Loading