[
https://jira.jboss.org/browse/JBIDE-6085?page=com.atlassian.jira.plugin.s...
]
Viacheslav Kabanovich commented on JBIDE-6085:
----------------------------------------------
For instance, let us take content based router action.
Rule 1. If "cbrAlias"="Drools", "ruleSet" should not be
empty and should reference an existing *.drl resource.
Rule 2. If "cbrAlias"="XPath", "ruleSet" may be empty or
should reference an existing *.properties resource.
And so on.
Most interesting for validation are values and combination of values of tags and
attributes which are not specified by schema (e.g. if schema restricts some attribute to
have only values 'true' and 'false', then standard validation will check
it). All built-in actions that by schema may have any set of <property> children,
certainly make case for validation. On the other side, we must be careful not to make
rules too strict so that would annoyingly report false errors.
Implement Validation of ESB config file
---------------------------------------
Key: JBIDE-6085
URL:
https://jira.jboss.org/browse/JBIDE-6085
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: esb
Affects Versions: 3.1.0.GA
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.2.x
We have no validation implemented for consistency of objects, especially of actions that
formally may be supplied by any set of properties while each action class requires a
specific configuration.
We should implement validation similar to that we have for beans in Seam and CDI.
Documentation on ESB contains many rules on consistency of ESB objects not covered by
simply complying with xml schema.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira