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

Decouple config.yaml definition from JePL parser #188

Open
samuelbernardolip opened this issue Jul 5, 2022 · 0 comments
Open

Decouple config.yaml definition from JePL parser #188

samuelbernardolip opened this issue Jul 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@samuelbernardolip
Copy link
Collaborator

samuelbernardolip commented Jul 5, 2022

Improve current architecture to decouple JePL internal logic from the configuration definition.
Main goal of JePL is to manage all logic of generating the dynamic pipeline over Jenkins, prepare the required environments and do the execution of the required actions. There will be a base schema translating the JePL core parser definitions and an interface for exposing the supported functions from JePL parser.
Library clients will need to implement the interface and submit a valid configuration file that should pass the base schema requirements. The base schema is extended by a schema from the client implementation, allowing to adapt the business logic to the pipeline, that could be tested by jpl-validator or any other validator provided by the client. An example of that implementation concerns current SQAaaS QAA definition that is composed by the SQAaaS parser that use JePL interface and also define a schema to validate the config.yaml file, currently as part of jpl-validator.

@samuelbernardolip samuelbernardolip added the enhancement New feature or request label Jul 5, 2022
@samuelbernardolip samuelbernardolip added this to the 3.0.0 milestone Jul 5, 2022
@samuelbernardolip samuelbernardolip self-assigned this Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant