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

chore(NA): avoids imports of server or public code into common #67231

Conversation

mistic
Copy link
Member

@mistic mistic commented May 21, 2020

There is a compliment to other PRs previously opened #67152 and #67149.

It adds an eslint rule to prevent server or public code to be imported into common code.

@mistic mistic added chore Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 v7.8.1 labels May 21, 2020
@mistic mistic requested review from a team as code owners May 21, 2020 23:27
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@botelastic botelastic bot added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:APM All issues that need APM UI Team support labels May 21, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@mistic mistic removed Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:APM All issues that need APM UI Team support labels May 21, 2020
@botelastic botelastic bot added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:APM All issues that need APM UI Team support labels May 22, 2020
Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maps changes LGTM
code review

@mistic mistic removed Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:APM All issues that need APM UI Team support labels May 22, 2020
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security/Spaces changes LGTM

.eslintrc.js Outdated Show resolved Hide resolved
@botelastic botelastic bot added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:APM All issues that need APM UI Team support labels May 26, 2020
@mistic
Copy link
Member Author

mistic commented May 26, 2020

@elastic/kibana-app-arch @elastic/apm-ui @elastic/logs-metrics-ui @elastic/endpoint-app-team can I get a code owners review here please? 😃

Copy link
Contributor

@smith smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APM changes look good. Thanks for doing this.

Copy link
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

infra plugin changes LGTM

Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/kibana-app-arch LGTM

@lizozom
Copy link
Contributor

lizozom commented May 31, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member Author

mistic commented Jun 1, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member Author

mistic commented Jun 3, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member Author

mistic commented Jun 3, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mistic mistic merged commit 20d6082 into elastic:master Jun 3, 2020
@mistic
Copy link
Member Author

mistic commented Jun 3, 2020

7.x: cd79116
7.8: 289e1c8

mistic added a commit to mistic/kibana that referenced this pull request Jun 3, 2020
…ic#67231)

* chore(NA): avoids imports of server or public code into common

* chore(NA): fix imports from public or server into common

* chore(NA): fix typechecking for data plugin stubs

* chore(NA): fix types and tests related with licensing plugin

* chore(NA): fix problems on infra plugin

* chore(NA): fix typo on .eslintrc.js

Co-authored-by: Ryland Herrick <[email protected]>

* chore(NA): migrate to license mock usage on security plugin licensing module

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Ryland Herrick <[email protected]>
mistic added a commit to mistic/kibana that referenced this pull request Jun 3, 2020
…ic#67231)

* chore(NA): avoids imports of server or public code into common

* chore(NA): fix imports from public or server into common

* chore(NA): fix typechecking for data plugin stubs

* chore(NA): fix types and tests related with licensing plugin

* chore(NA): fix problems on infra plugin

* chore(NA): fix typo on .eslintrc.js

Co-authored-by: Ryland Herrick <[email protected]>

* chore(NA): migrate to license mock usage on security plugin licensing module

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Ryland Herrick <[email protected]>
# Conflicts:
#	x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx
#	x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.d.ts
#	x-pack/plugins/security/common/licensing/license_service.test.ts
#	x-pack/plugins/spaces/common/licensing/license_service.test.ts
mistic added a commit that referenced this pull request Jun 3, 2020
… (#68168)

* chore(NA): avoids imports of server or public code into common

* chore(NA): fix imports from public or server into common

* chore(NA): fix typechecking for data plugin stubs

* chore(NA): fix types and tests related with licensing plugin

* chore(NA): fix problems on infra plugin

* chore(NA): fix typo on .eslintrc.js

Co-authored-by: Ryland Herrick <[email protected]>

* chore(NA): migrate to license mock usage on security plugin licensing module

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Ryland Herrick <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Ryland Herrick <[email protected]>
mistic added a commit that referenced this pull request Jun 3, 2020
…67231) (#68175)

* chore(NA): avoids imports of server or public code into common (#67231)

* chore(NA): avoids imports of server or public code into common

* chore(NA): fix imports from public or server into common

* chore(NA): fix typechecking for data plugin stubs

* chore(NA): fix types and tests related with licensing plugin

* chore(NA): fix problems on infra plugin

* chore(NA): fix typo on .eslintrc.js

Co-authored-by: Ryland Herrick <[email protected]>

* chore(NA): migrate to license mock usage on security plugin licensing module

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Ryland Herrick <[email protected]>
# Conflicts:
#	x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx
#	x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.d.ts
#	x-pack/plugins/security/common/licensing/license_service.test.ts
#	x-pack/plugins/spaces/common/licensing/license_service.test.ts

* chore(NA): fix eslint problems
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jun 4, 2020
…ms-column

* 'master' of github.com:elastic/kibana: (63 commits)
  remove scripts. prettire update has been done (elastic#68130)
  Closes elastic#68055 by detecting the local Kibana version and using that as (elastic#68198)
  [apm] docs: add deployment annotation example (elastic#67408)
  [ML] Extend population preview chart to show actual and typical value (elastic#67569)
  Refactor index management client integration tests for scalability (elastic#67917)
  Add generator function that creates multiple alerts (elastic#67713)
  chore(NA): remove config arg from os packages (elastic#67871)
  [Reporting] Move code out of Legacy (elastic#67904)
  [Metrics UI] Add overrides to Snapshot API to support alert previews (elastic#68125)
  [Security] [Cases] Manage timeline UI API (elastic#67719)
  [ENDPOINT][INGEST]Task/endpoint ingest update (elastic#67234)
  Fix code coverage for jest, upload merged reports (elastic#68149)
  Update documentation/examples of deprecated namespaceAgnostic field (elastic#68039)
  [DOCS] Updates Canvas docs with new menus (elastic#66061)
  chore(NA): avoids imports of server or public code into common (elastic#67231)
  [SIEM] Fix GetOneTimeline graphql type (elastic#68137)
  skip flaky suite (elastic#67838)
  [Uptime] Add loading message for monitor list no items (elastic#67378)
  [Ingest Manager] Update indexing strategy docs to use dataset.* (elastic#68068)
  [Ingest Manager] Fix datasource validation for streams without vars (elastic#67950)
  ...

# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support Team:Operations Team label for Operations Team v7.8.1 v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.