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

[Feature Request]: Populating local datastore using a JSON or a YAML file #21625

Open
masterboy376 opened this issue Jan 3, 2025 · 0 comments
Labels
enhancement Label to indicate an issue is a feature/improvement triage needed

Comments

@masterboy376
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Creating a feature to populate development datastore using a JSON or a YAML file. This feature will help shorten the beam job testing time, since developers will be able to do comprehensive testing of their beam job locally.

Describe the solution (or solutions) you'd like

This is an expected developer workflow:

  1. go to datastore admin page on local server
  2. clicks a button to "populate datastore using JSON" or "populate datastore using YAML"
  3. a modal open asking for the text input
  4. user fills the text area in the modal like
    "model1": [
        {
            "field1": "val1",
            "field2": "val2",
            "field3": "val3"
        },
        {
            "field1": "val1",
            "field2": "val2",
            "field3": "val3"
        }
    ],
    "model2": [
        {
            "field1": "val1",
            "field2": "val2",
            "field3": "val3"
        }
    ]
}

OR

  - field1: val1
    field2: val2
    field3: val3
  - field1: val1
    field2: val2
    field3: val3
model2:
  - field1: val1
    field2: val2
    field3: val3
  1. then clicks populate button.
  2. now the 2 instances of model1 and 1 instance of model2 should be in the datastore.

Describe alternatives you've considered and rejected

N/A

Additional context

N/A

@masterboy376 masterboy376 added triage needed enhancement Label to indicate an issue is a feature/improvement labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Label to indicate an issue is a feature/improvement triage needed
Projects
None yet
Development

No branches or pull requests

1 participant