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

TestExampleData: Add json frame examples of datatypes and go lib for examples #5

Merged
merged 35 commits into from
Mar 22, 2023

Conversation

kylebrandt
Copy link
Collaborator

@kylebrandt kylebrandt commented Mar 2, 2023

Example of data within the dataplane contract in json files.

Also includes a go library for getting these examples.

Intended uses:

  • Tests
  • Mock and/or testdata datasources
  • Generating example dashboards

@yesoreyeram
Copy link
Collaborator

love it. This will eventually allows us perform e2e tests via mock datasource.

nit: Can you change the folder name testExampleData into testdata/contract/ for consistency?

@kylebrandt kylebrandt changed the title TestExampleData: (WIP) Add json frame examples of datatypes TestExampleData: Add json frame examples of datatypes and go lib for examples Mar 8, 2023
@kylebrandt kylebrandt marked this pull request as ready for review March 8, 2023 20:27
@kylebrandt kylebrandt requested review from ryantxu, yesoreyeram and a team March 8, 2023 20:27
sdata/reader/play_test.go Outdated Show resolved Hide resolved
examples/package.json Outdated Show resolved Hide resolved
kylebrandt added a commit that referenced this pull request Mar 22, 2023
moved to another branch
@kylebrandt kylebrandt merged commit 5fb4468 into main Mar 22, 2023
@kylebrandt kylebrandt deleted the testExampleData branch March 22, 2023 12:13
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.

None yet

2 participants