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

Audit of Tasking for AppSvc on Breaking Saved Object ID Type Conversions #106900

Closed
petrklapka opened this issue Jul 27, 2021 · 5 comments
Closed
Assignees
Labels
blocker impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:medium Medium Level of Effort v8.0.0

Comments

@petrklapka
Copy link
Member

Conduct an audit of tasks that need to be performed within AppSvc Domains for the
[Meta] Breaking saved object type conversions in 8.0 #100489 project and break them out in Jira.

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@exalate-issue-sync exalate-issue-sync bot added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jul 27, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:critical This issue should be addressed immediately due to a critical level of impact on the product. and removed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Aug 12, 2021
@jportner
Copy link
Contributor

In case anyone is following this issue but not the linked meta-issue (#100489):

I published the Sharing Saved Objects developer guide, please take a look before proceeding with the implementation. And of course, please reach out if you run into any problems!

@jportner
Copy link
Contributor

Related: #108335

@exalate-issue-sync exalate-issue-sync bot added loe:medium Medium Level of Effort and removed loe:small Small Level of Effort labels Sep 9, 2021
@jportner
Copy link
Contributor

jportner commented Sep 30, 2021

I spoke with Peter today offline to get a sense of all the individual Sharing Saved Objects-related tasks that need to be accomplished for App Services saved objects. Notes from our chat below.


Question: does the object type ever need to become shareable? Or, does the object have any inbound references from other objects that will be shareable in the future?

  • index-pattern - Yes, Index Patterns (soon to be "Data Views") should be shareable.
  • query - Yes, Saved Queries should be shareable.
  • search-session - No, Search Sessions don't realistically need to be shared (they are for long-running queries so the user doesn't have to sit on the page) and they don't have inbound references.
  • url - No, Short URLs don't need to be shared, and they don't have inbound references.

Going through the Sharing Saved Objects Dev Guide for each object type:

index-pattern

query

search-session

  • Step 1: skipped for now due to time constraints; this stores a URL and when a user loads a Search Session, it changes the page to that location. That will continue to work post-8.0, because the app for the page itself will resolve the actual object IDs. Eventually we do want to use the new URL service instead, which means we won't be storing the URL, instead we will store parameters that can be used to generate the URL. Once that service is used, the fields for parameters can be injected/extracted to/from references. (Note that if this is done after the 8.0 release, those referenced object IDs may be outdated; a special post-start custom migration will need to be used to resolve referenced object IDs and update them if necessary)
  • Step 2-5: skipped; Search Sessions will not be converted to become share-capable

url

In addition to all of that, Reporting needs to use savedObjects.resolve in a few places as Tim mentioned above. That work is tracked in #112565

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:medium Medium Level of Effort v8.0.0
Projects
None yet
Development

No branches or pull requests

6 participants