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

Bug/MVD-947v2 Plugin Defintion Validation #41

Closed
wants to merge 5 commits into from
Closed

Bug/MVD-947v2 Plugin Defintion Validation #41

wants to merge 5 commits into from

Conversation

timgerstel
Copy link
Contributor

This pull request replaces pull request #18. New pull request was required due to temporarily unrelated branch histories.

From #18:
"Validates plugin definitions using the AJV package which allows for the creation of JSON schemas.

Replaces this pull request: #33

The following must be merged with this pull request:
gizafoundation/zosmf-auth#3
gizafoundation/workshop-user-browser-app#5

Potential TODO: Have warnings logged instead of errors thrown for certain validation failures (i.e. semantic versioning)

(note from rpenny)
According to the above text, this replaces pull #24 . That PR indicated committing these other PR's so I am listing them here before I close #24.:
DO NOT MERGE THIS FILE WITHOUT ALSO MERGING:
gizafoundation/zosmf-auth#3
gizafoundation/sample-app#9
gizafoundation/tn3270-ng2#10
gizafoundation/zlux-app-manager#35
gizafoundation/zos-subsystems#3
gizafoundation/zss-auth#3
gizafoundation/zlux-shared#6
gizafoundation/sample-iframe-app#3
gizafoundation/workshop-starter-app#2
gizafoundation/workshop-user-browser-app#5

EVERYTHING MUST BE MERGED AT THE SAME TIME,"

timgerstel and others added 5 commits September 11, 2018 16:48
Signed-off-by: Timothy Gerstel <tim.gerstel@gmail.com>
Signed-off-by: Timothy Gerstel <tim.gerstel@gmail.com>


Signed-off-by: Timothy Gerstel <tim.gerstel@gmail.com>


Signed-off-by: Timothy Gerstel <tim.gerstel@gmail.com>
@ghost ghost added the review label Dec 31, 2018
Copy link
Member

@1000TurquoisePogs 1000TurquoisePogs left a comment

Choose a reason for hiding this comment

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

I'm OK with these additions, which will help unblock other validation needs. However in the future the loading of schemas must be dynamic to accomodate revisions in plugin api schema. I noted this in #18 . the server will later need to be flexible in matching apiVersion of a plugin with a schema on-disk that has it, so that we can validate apiVersion 1.0.1, 1.1.0, and so on.

@1000TurquoisePogs
Copy link
Member

I'm not ready to merge this yet since zlux-workflow doesn't conform to the schema: it's using some legacy dataservice code which needs a quick fix.

@1000TurquoisePogs
Copy link
Member

Sadly this work never went in but is about to become irrelevant due to accomplishing this same work via config manager, so we'll revisit soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants