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

Bundle JSON schema files in java package #1

Open
hrishin opened this issue Aug 31, 2017 · 2 comments
Open

Bundle JSON schema files in java package #1

hrishin opened this issue Aug 31, 2017 · 2 comments

Comments

@hrishin
Copy link

hrishin commented Aug 31, 2017

Referring to discussion on fabric8io/fabric8-maven-plugin#1034 is it possible to create java package (preferable maven jar would be great) to bundle essential (local) JSON schema files?

@garethr
Copy link
Owner

garethr commented Sep 3, 2017

This sounds like a great idea. I've had some thoughts about better packaging for this content and a Jar sounds like a useful integration point for some folks. If you have ideas about how that would look from the user perspective I'll certainly take a look, or I'd be happy to see a PR.

I've been focusing on a few issues on kubeval recently but I've nearly fixed those I hope. Then I want to come back and refactor/rebuild the tools that generate this repository, including much better packaging and some automation. I've a bunch of ideas so thanks for opening the issue.

@hrishin
Copy link
Author

hrishin commented Sep 11, 2017

yeah here is my initial thought since we are trying to wrap these files in the jar hence program in jar will read the deferenced (standalone) schema, returns a handle to it. Soon I will post a a project for it.
By the way only problem I'm facing is, looks like master of kubernetes OpenAPI spec has lot of circular dependencies and its failing openapi2jsonschema schema util

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

2 participants