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

Model validator #15

Open
alagane opened this issue Jan 28, 2019 · 1 comment
Open

Model validator #15

alagane opened this issue Jan 28, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@alagane
Copy link
Member

alagane commented Jan 28, 2019

As a user
I want to validate a model before deploying it
So I know if the model has errors before deploying it and then don't need Petals ESB to be running

@alagane alagane added enhancement New feature or request and removed enhancement New feature or request labels Apr 1, 2019
@cdeneux
Copy link
Member

cdeneux commented Nov 2, 2022

Validation introduce with d112f7f

cdeneux added a commit that referenced this issue Nov 3, 2022
cdeneux added a commit that referenced this issue Nov 9, 2022
- The ZIP archive given by the URL for a component definition must be a
JBI component ZIP archive,
- The ZIP archive given by the URL for a service unit definition must be
a JBI service assembly ZIP archive or a auto-deployable JBI service unit
ZIP archive,
- The service unit id in the model must match the service unit
identifier in ZIP archive,
- The target component must exist in the model definition of the
container running the service unit,
- A component instance must refer to an existing component definition.
cdeneux added a commit that referenced this issue Nov 9, 2022
- #7: For a unique component, a same placeholder must have the same value overall service unit deployed on this component,
- Component definition duplication is forbiden,
- Component instance duplication is forbiden,
- Shared library definition duplication is forbiden,
- Placeholder definition duplication is forbiden,
- Placeholder instance duplication is forbiden.
cdeneux added a commit that referenced this issue Nov 9, 2022
- #16: The ZIP archive given by the URL for a shared library definition must be a JBI shared library ZIP archive.
@cdeneux cdeneux self-assigned this Nov 9, 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

2 participants