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

DG-1442 Modification of the PreProcessor for Custom Sort - Bulk Update Edge Cases #3198

Closed
wants to merge 1,067 commits into from

Conversation

hr2904
Copy link
Collaborator

@hr2904 hr2904 commented Jun 5, 2024

Change description

Glossary Entities can be created/modified from non-FE methods as well, so we needed to add logic to add appropriate lexicographicalSortOrder Attribute to the entity in case it is not sent from user.
Also added validation regarding valid and appropriate lexoranks in context to the entity being sent.

Type of change

  • New feature (adds functionality)

Related Docs

Ticket
TestCases

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
  • "Ready for review" label attached and reviewers assigned
  • Changes have been reviewed by at least one other contributor
  • Pull request linked to task tracker where applicable

nikhilbonte21 and others added 30 commits May 9, 2024 01:14
…7-migrations2

# Conflicts:
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/DataDomainQNMigrationService.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/MigrationService.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/AbstractDomainPreProcessor.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataDomainPreProcessor.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataProductPreProcessor.java
#	webapp/src/main/java/org/apache/atlas/web/rest/MigrationREST.java
Fixed a missed check for dataProduct
DG-1235 Fix persona alias extraction issue
DG-1235 Stakeholder preprocessor
DG-1235 Skip initial auth checks
DG-1235 save domain qualified names for Stakeholder title
Fixed bootstrap default StakeholderTitles
Fixed StakeholderTitles to Stakeholer relationship permission
DG-1235 Fix Stakeholder update issue
hr2904 and others added 19 commits June 14, 2024 13:40
# Conflicts:
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/glossary/CategoryPreProcessor.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/glossary/GlossaryPreProcessor.java
#	repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/glossary/TermPreProcessor.java
DG-1442 Fixed a minor bug where an empty lexo attribute in update call was removed from vertex
DG-1476 handle review comments
Revert "DG-1442 Fixed a minor bug where an empty lexo attribute in update call was removed from vertex"
…onship-permission

Update sub domain remove relationship permission
DG-1442 Fixed a minor bug where an empty lexo attribute in update call was re…
Revert "DG-1476 handle review comments"
…onship-permission

update sub domain remove relationship permission
DG-1533 Fix remove-relationship permission with sub-domain update permission
Comment on lines 40 to 46
import org.apache.atlas.tasks.TaskManagement;
import org.apache.atlas.type.AtlasEntityType;
import org.apache.atlas.type.AtlasTypeRegistry;
import org.apache.atlas.util.lexoRank.LexoRank;
import org.apache.atlas.utils.AtlasPerfMetrics;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;

Choose a reason for hiding this comment

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

Revert changes in this file to avoid this in PR

@nikhilbonte21
Copy link

I think we will need to handle restore of GCTs as well. Let us discuss this once you resolve other comments & do a sanity testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.