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

🐞 Add a way to lookup owner by email in OpenMetadata #2165

Closed
3 tasks
MatMoore opened this issue Nov 1, 2023 · 1 comment
Closed
3 tasks

🐞 Add a way to lookup owner by email in OpenMetadata #2165

MatMoore opened this issue Nov 1, 2023 · 1 comment
Labels
bug Something isn't working enhancement enhancing an existing feature

Comments

@MatMoore
Copy link
Contributor

MatMoore commented Nov 1, 2023

User Story

As a data owner
I expect to specify ownership via an email address (i.e. my justice.gov.uk email)
So that I don't need to know internal data catalogue IDs

But when we create the data product, the OpenMetadata API requires we pass an ID for the owner.

So we need a way to lookup the owner id by email address. Either as a separate method, or internal to the update call. This is currently missing from the catalogue library.

Value / Purpose

No response

Useful Contacts

No response

User Types

No response

Hypothesis

No response

Proposal

https://github.com/ministryofjustice/data-platform/tree/main/python-libraries/data-platform-catalogue

Either add a separate method, or incorporate into the update.

If no user exists with the email, we should throw an exception so that the lambda code can reject the metadata.

Additional Information

Until we fix this, we will be unable to set the owner via the API. In the interim we're hardcoding it to the labs team user.

Definition of Done

  • Documentation has been updated
  • Another team member has reviewed
  • Tests are green
@MatMoore MatMoore added enhancement enhancing an existing feature data-platform-labs labels Nov 1, 2023
@MatMoore MatMoore changed the title 🐞 Add a way to lookup users by email in OpenMetadata 🐞 Add a way to lookup owner by email in OpenMetadata Nov 1, 2023
@PriyaBasker23 PriyaBasker23 added the bug Something isn't working label Nov 1, 2023
@seanprivett seanprivett added feature enhancement enhancing an existing feature and removed enhancement enhancing an existing feature feature labels Nov 2, 2023
@PriyaBasker23 PriyaBasker23 moved this from 🧐 To Do to ✨ Done ✨ in Analytical Platform Nov 6, 2023
@seanprivett seanprivett closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2023
@seanprivett
Copy link

No longer relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement enhancing an existing feature
Projects
Archived in project
Development

No branches or pull requests

3 participants