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

FEAT Fix Issues in Glosary #14197

Merged
merged 17 commits into from
Dec 2, 2023
Merged

FEAT Fix Issues in Glosary #14197

merged 17 commits into from
Dec 2, 2023

Conversation

mohityadav766
Copy link
Contributor

@mohityadav766 mohityadav766 commented Dec 1, 2023

Describe your changes:

  • Add bulk api for adding assets to Glossary Term
  • Adds a validation api and add glossaryTags api , to update the tags attached to glossaryTerm and also attaching them to Assets
  • Removes Relationship storing for Derived Tags and build on READ
  • ML Model has tags issue as it does not create any relationship and stores in field
  • Should we be also looking at column tags during for attaching ? cc @harshach

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@mohityadav766 mohityadav766 added the safe to test Add this label to run secure Github workflows on PRs label Dec 1, 2023
@mohityadav766 mohityadav766 self-assigned this Dec 1, 2023
@mohityadav766 mohityadav766 requested a review from a team as a code owner December 1, 2023 09:30
},
"default": null
},
"assets": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mohityadav766 we need to figure out a way to force only few enttity types. Ie. adding of users/teams/roles/policies etc.. to the assets should be prohibited

* fix: assets fqn issue (#14140)

* fix: assets fqn issue

* fix: unit tests

* fix: escape fqn in remaining areas

* fix: domain cypress for adding assets

* fix: add assets to data products cypress

* update imports

* add cypress for glossary term

* fix: loading in asset modal and add cypress

* fix: unit tests

* fix: reintroduce filters in asset selection modal
@github-actions github-actions bot added the UI UI specific issues label Dec 1, 2023
Copy link
Contributor

github-actions bot commented Dec 1, 2023

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 48%
49.02% (24037/49035) 30.65% (9036/29484) 30.48% (2733/8966)

Copy link

sonarqubecloud bot commented Dec 2, 2023

[open-metadata-ui] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link

sonarqubecloud bot commented Dec 2, 2023

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mohityadav766 mohityadav766 merged commit 64a56b0 into main Dec 2, 2023
19 checks passed
@mohityadav766 mohityadav766 deleted the glossaryImprovements branch December 2, 2023 19:27
karanh37 added a commit that referenced this pull request Dec 6, 2023
* Fix User Startup Email

* Add Apis for validation and addtion glossary tags and assets

* Update Status to ApiStatus

* Unique Tags to be listed

* Fix in tag additon

* fix: asset selection modal improvements (#14152)

* fix: assets fqn issue (#14140)

* fix: assets fqn issue

* fix: unit tests

* fix: escape fqn in remaining areas

* fix: domain cypress for adding assets

* fix: add assets to data products cypress

* update imports

* add cypress for glossary term

* fix: loading in asset modal and add cypress

* fix: unit tests

* fix: reintroduce filters in asset selection modal

* fix: update assets

* localization

* Fixes and Refactor redundant code

* Revert

* Add Delete API for removing tags from assets

* ADd ES calls

* Fix Assests added in case of errors

* ui updates

* ui changes

* Add Conditional Validate for SubFields

---------

Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
MrVinegar pushed a commit to MrVinegar/OpenMetadata that referenced this pull request Dec 15, 2023
* Fix User Startup Email

* Add Apis for validation and addtion glossary tags and assets

* Update Status to ApiStatus

* Unique Tags to be listed

* Fix in tag additon

* fix: asset selection modal improvements (open-metadata#14152)

* fix: assets fqn issue (open-metadata#14140)

* fix: assets fqn issue

* fix: unit tests

* fix: escape fqn in remaining areas

* fix: domain cypress for adding assets

* fix: add assets to data products cypress

* update imports

* add cypress for glossary term

* fix: loading in asset modal and add cypress

* fix: unit tests

* fix: reintroduce filters in asset selection modal

* fix: update assets

* localization

* Fixes and Refactor redundant code

* Revert

* Add Delete API for removing tags from assets

* ADd ES calls

* Fix Assests added in case of errors

* ui updates

* ui changes

* Add Conditional Validate for SubFields

---------

Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants