Skip to content

add seed executable #881

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

Merged
merged 6 commits into from
May 27, 2025
Merged

add seed executable #881

merged 6 commits into from
May 27, 2025

Conversation

YaroslavLitvinov
Copy link
Contributor

@YaroslavLitvinov YaroslavLitvinov commented May 22, 2025

Closes #808

This PR was added instead of blocked and now closed PR #841
It is based on features added in PR #841, addressing concerns raised on PR review:

  • Crates added in old PR are eliminated, meaning proposed approach linked to a api-structs crate left in old PR and didn't move here
  • Seeding feature moved from embucket executable and now only available via a separate embucket-seed executable.
  • No api-structs, api-client-rest, api-seed available anymore, instead got a single crate embucket-seed.
  • No seeding tables data, as it wasn't a requirement

Dependencies

Below illustrated dependencies for both old PR - v1 , new PR - v2
which means v2 now has dependencies on monolithic crates

  • v1 PR BLOCKED Issues/808 seed demo data on server startup #841
    [dependencies]
    api-client-rest = { path = "../api-client-rest" }
    api-structs = { path = "../api-structs", features = ["serde", "partial", "eq"] }
    ...

  • v2
    [dependencies]
    core-metastore = { path = "../core-metastore" }
    api-ui = { path = "../api-ui", features = ["client"] }
    ...

Copy link
Contributor

@DanCodedThis DanCodedThis left a comment

Choose a reason for hiding this comment

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

LGTM

@YaroslavLitvinov YaroslavLitvinov force-pushed the issues/808_v2_embucket_seed branch 2 times, most recently from bc4f719 to 2893a43 Compare May 26, 2025 17:03
@YaroslavLitvinov YaroslavLitvinov force-pushed the issues/808_v2_embucket_seed branch from ef81902 to 4d9a914 Compare May 27, 2025 11:28
Copy link
Contributor

@rampage644 rampage644 left a comment

Choose a reason for hiding this comment

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

I thought I already approved this

@YaroslavLitvinov YaroslavLitvinov merged commit a417cd6 into main May 27, 2025
3 checks passed
@YaroslavLitvinov YaroslavLitvinov deleted the issues/808_v2_embucket_seed branch May 27, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api: Ability to seed demo data on server startup
3 participants