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(backend): structured properties and forms #9626

Merged
merged 26 commits into from Jan 22, 2024

Conversation

david-leifker
Copy link
Collaborator

@david-leifker david-leifker commented Jan 12, 2024

Large set of backend changes that drive 2 major features: structured properties & forms. During the integration between these feature branches it was evident that a few areas of tech debt needed to be addressed. Additionally a few items will need follow-ups to limit scope here.

Structured Properties:

  • Creation & backwards compatible mutation
  • OpenAPI aspects
  • GraphQL
  • Validators (definition and instance)

Forms:

  • GraphQL

Misc Features:

  • RollbackService - Extracted from restli specific implementation to top level service
  • Entity Client - Remove need for application code to reason about restli vs java variants
  • Entity Client - Remove dependency of java entity client on restli entity client
  • EntityService - Remove dependency on restli entity client
  • Patch java package name refactor
  • Patch error messaging improvements
  • GraphQL: Generic entities & aspects

Follow-ups:

  • Backend: Structured properties delete
  • OpenAPI: Structured properties definition entities
  • OpenAPI: Forms support

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Add support for various custom plugins:
* validation
* RecordTemplate mutators
* MCL Side Effects
* MCE Side Effects
refactor to better support merging
started documentation in models-custom
updated documentation
refactor to reduce generics use
added support for config endpoint
* structured properties data model
* forms service
* rollback service
* entity client refactor
* configuration: logo & icon, base url
@github-actions github-actions bot added ingestion PR or Issue related to the ingestion of metadata product PR or Issue related to the DataHub UI/UX devops PR or Issue related to DataHub backend & deployment smoke_test Contains changes related to smoke tests labels Jan 12, 2024
update protobuf check
rename entity client factories correctly
java lint
Co-authored-by: RyanHolstien <RyanHolstien@users.noreply.github.com>
@david-leifker
Copy link
Collaborator Author

david-leifker commented Jan 17, 2024

Missing allowedValues validation for structured properties when being written to an entity. This allows for unintended values to be written.

fix telemetry test
fix forms type for timestamps
Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

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

found one or two missing things and then some bulk stuff that we don't want to go to OSS

Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

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

things are looking good to me from here 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops PR or Issue related to DataHub backend & deployment ingestion PR or Issue related to the ingestion of metadata product PR or Issue related to the DataHub UI/UX smoke_test Contains changes related to smoke tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants