[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6085) Implement Validation of ESB config file

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Mon Oct 4 12:14:39 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555031#action_12555031 ] 

Brian Fitzpatrick commented on JBIDE-6085:
------------------------------------------

David Ward brought up an omission on my part - The parameter that I missed for the BusinessRulesProcessor is "object-paths"

http://docs.jboss.org/jbossesb/docs/4.9/manuals/html/Services_Guide/index.html#d0e947

So the docs look like this:

    Object Paths...

    location.objectname.[beanname].[beanname]...

    * location : one of {body, header, properties, attachment}
    * objectname: name of the object name, attachments can be named or numbered, so for attachments this can be a number too.
    * beannames: optionally you traverse a bean graph by specifying bean names

So this is for the optional "object-paths" property... And some rules might be:

     If "object-paths" is specified, parse the value ("location.objectname.[beanname].[beanname]...") and it should have these parts:
       For "location" it must be "body", "header", "properties", or "attachment"
       For "objectname" it should refer to an object defined in the rules file?
       For "beannames" it should refer to a bean name in the rules file?

I think this goes a bit beyond what we were looking at for validation of the configuration, but is still an interesting use case. The validator would need to be able to poke at the various rules files referred to in the configuration and pull out valid object and bean names to validate against.

Slava, is it possible to do this type of validation with the framework you have in place?

> 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.3.x
>
>         Attachments: ESBValidation_Marker.png, ESBValidatorPreferences .png, jboss-esb-brp-ruleAuditInterval.png
>
>
> 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

        


More information about the jbosstools-issues mailing list