Skip to content

Implementation of Adding Status and Reviewers to assets - #22904

Merged
yan-3005 merged 70 commits into
mainfrom
feature/add-status-reviewer
Sep 3, 2025
Merged

Implementation of Adding Status and Reviewers to assets#22904
yan-3005 merged 70 commits into
mainfrom
feature/add-status-reviewer

Conversation

@yan-3005

@yan-3005 yan-3005 commented Aug 12, 2025

Copy link
Copy Markdown
Contributor

Describe your changes:

  • Added entityStatus to many assets
  • Added reviewers to classification, tag, dataProduct
  • Changed status to entityStatus in glossaryTerm
  • Changed status to entityStatus in dataContract and enum Active to Approved

This is needed for Custom Workflows

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.

This comment was marked as outdated.

@github-actions

Copy link
Copy Markdown
Contributor

TypeScript types have been updated based on the JSON schema changes in the PR

@github-actions
github-actions Bot requested a review from a team as a code owner August 12, 2025 11:08
…e same status enums, changed the logic to be APPROVED instead of Active, DataContract can have null status as seen in tests, Changed Workflow to use workflowStatus instead of status as it is contradicting with the approval status, Fixed Tests
# Conflicts:
#	openmetadata-service/src/test/java/org/openmetadata/service/resources/data/DataContractResourceTest.java
@github-actions

Copy link
Copy Markdown
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

@mohityadav766 mohityadav766 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some minor nits, also please make sure to test migrations towards entityStatus from lower version

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2025

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2025

Copy link
Copy Markdown

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

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants