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

[Inventory] Project restructure to show entities grid #192991

Merged
merged 8 commits into from
Sep 17, 2024

Conversation

cauemarcondes
Copy link
Contributor

@cauemarcondes cauemarcondes commented Sep 16, 2024

Inventory plugin restructure. Creating server API to fetch entities and initial data grid load on the page.

@obltmachine
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@cauemarcondes cauemarcondes marked this pull request as ready for review September 16, 2024 13:03
@cauemarcondes cauemarcondes requested a review from a team as a code owner September 16, 2024 13:03
@cauemarcondes cauemarcondes added release_note:skip Skip the PR/issue when compiling release notes v8.16.0 labels Sep 16, 2024
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Sep 16, 2024
@cauemarcondes cauemarcondes changed the title Inventory entities [Inventory] Project restructure to show entities grid Sep 16, 2024
@cauemarcondes cauemarcondes enabled auto-merge (squash) September 16, 2024 13:08
Copy link
Contributor

@iblancof iblancof left a comment

Choose a reason for hiding this comment

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

Left a couple of non blocking comments!

export const listEntityTypesRoute = createInventoryServerRoute({
endpoint: 'GET /internal/inventory/entity_types',
export const listLatestEntitiesRoute = createInventoryServerRoute({
endpoint: 'GET /internal/inventory/entities',
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we try to get rid off the /internal/ path on new stuff?

Copy link
Contributor

@crespocarlos crespocarlos Sep 16, 2024

Choose a reason for hiding this comment

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

According to the API guidelines, if this is intended to be an internal API, we should keep it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, sorry! I got confused by this documentation about doing some changes in internal API access and may have misunderstood something.

@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 17, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
inventory 125 124 -1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
inventory 48.5KB 47.1KB -1.4KB

History

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

@cauemarcondes cauemarcondes merged commit 15c752c into elastic:main Sep 17, 2024
26 checks passed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 17, 2024
Inventory plugin restructure. Creating server API to fetch entities and
initial data grid load on the page.

(cherry picked from commit 15c752c)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 17, 2024
…#193139)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Inventory] Project restructure to show entities grid
(#192991)](#192991)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-17T10:38:01Z","message":"[Inventory]
Project restructure to show entities grid (#192991)\n\nInventory plugin
restructure. Creating server API to fetch entities and\r\ninitial data
grid load on the
page.","sha":"15c752cdc86c1ca5f7d0c30b3305e477cb14e669","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-observability","v8.16.0"],"title":"[Inventory]
Project restructure to show entities
grid","number":192991,"url":"https://github.com/elastic/kibana/pull/192991","mergeCommit":{"message":"[Inventory]
Project restructure to show entities grid (#192991)\n\nInventory plugin
restructure. Creating server API to fetch entities and\r\ninitial data
grid load on the
page.","sha":"15c752cdc86c1ca5f7d0c30b3305e477cb14e669"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192991","number":192991,"mergeCommit":{"message":"[Inventory]
Project restructure to show entities grid (#192991)\n\nInventory plugin
restructure. Creating server API to fetch entities and\r\ninitial data
grid load on the
page.","sha":"15c752cdc86c1ca5f7d0c30b3305e477cb14e669"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Cauê Marcondes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants