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

igluctl: add validate subcommand #388

Closed
chuwy opened this issue Jul 13, 2018 · 7 comments
Closed

igluctl: add validate subcommand #388

chuwy opened this issue Jul 13, 2018 · 7 comments

Comments

@chuwy
Copy link
Contributor

chuwy commented Jul 13, 2018

Just a wrapper around Iglu Scala Client. Users often use Snowplow Mini only in order to validate their self-describing entities (events and contexts), though they are independent from enriched event and can be validated via CLI.

igluctl --resolver iglu_resolver.json --data context.json
  • Resolver can be default to iglucentral-only
  • Without --data it should be able to receive data from stdin
  • context.json can contain NDJSON

Probably same functionality for Iglu Server would be nice, where resolver defaults only to current Registry.

@alexanderdean
Copy link
Member

alexanderdean commented Jul 13, 2018

By a context do you just mean a self-decribing JSON? "Context" is Snowplow language, not Iglu...

@chuwy
Copy link
Contributor Author

chuwy commented Jul 15, 2018

Yes, I meant any self-describing JSON.

@alexanderdean
Copy link
Member

Cool, make sure that help text doesn't refer to a context...

@chuwy
Copy link
Contributor Author

chuwy commented Jul 23, 2018

Server ticket: #326

@miike
Copy link

miike commented Jul 23, 2018

Big fan of this idea as it makes it'd make it a lot easier to have some of this run as part of continuous integration pipelines.

@chuwy
Copy link
Contributor Author

chuwy commented Jul 23, 2018

CI/CD is a great point, @miike. We've just scheduled next (minor) release of Iglu, but I'm very keen to add this ticket into next one.

@aldemirenes
Copy link

Migrated to snowplow/igluctl#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

No branches or pull requests

4 participants