You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Hasan Muhammad (JIRA)" <tu...@ws.apache.org> on 2008/05/22 18:05:57 UTC
[jira] Created: (TUSCANY-2336) Option to turn Validation on/off
Option to turn Validation on/off
--------------------------------
Key: TUSCANY-2336
URL: https://issues.apache.org/jira/browse/TUSCANY-2336
Project: Tuscany
Issue Type: Improvement
Components: Java SCA Problem Determination
Environment: All
Reporter: Hasan Muhammad
Priority: Critical
Tuscany should provide a flag or mechanism to turn validation on/off. Tools developed on top of tuscany may perform validation using tuscany's validation framework. In that case, any user may not want validation being done during runtime as it was already done using external tools.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (TUSCANY-2336) Option to turn Validation on/off
Posted by Simon Laws <si...@googlemail.com>.
On Thu, May 22, 2008 at 5:05 PM, Hasan Muhammad (JIRA) <
tuscany-dev@ws.apache.org> wrote:
> Option to turn Validation on/off
> --------------------------------
>
> Key: TUSCANY-2336
> URL: https://issues.apache.org/jira/browse/TUSCANY-2336
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Problem Determination
> Environment: All
> Reporter: Hasan Muhammad
> Priority: Critical
>
>
> Tuscany should provide a flag or mechanism to turn validation on/off. Tools
> developed on top of tuscany may perform validation using tuscany's
> validation framework. In that case, any user may not want validation being
> done during runtime as it was already done using external tools.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
> Hi Hasan
Do you mean here that you want to turn validation off completely or that you
just want to turn off the messages that result from validation?
If the latter we could instigate a monitor that doesn't do anything.
If the latter it's more tricky and depends on which part of validation you
are concerned about. Validation happens in many different places in the
runtime, e.g. schema validation during the model read, model validation
during the build etc. In most cases (schema validation being the exception
probably) we don't have validation logic that is separate from the act of
building or resolving the model.
Regards
Simon
Re: [jira] Created: (TUSCANY-2336) Option to turn Validation on/off
Posted by Hasan Muhammad <ap...@gmail.com>.
Hi Simon,
I would prefer the former, where we turn on/off the validation completely.
Two reasons:
1. External tools may have already done it and do not want tuscany to do it
2. May be expensive during runtime.
But if this is really hard and tricky, then atleast the later where we have
a switch to turn it off, and then tuscany would use a monitor that does
nothing.
regards
On Thu, May 22, 2008 at 12:05 PM, Hasan Muhammad (JIRA) <
tuscany-dev@ws.apache.org> wrote:
> Option to turn Validation on/off
> --------------------------------
>
> Key: TUSCANY-2336
> URL: https://issues.apache.org/jira/browse/TUSCANY-2336
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Problem Determination
> Environment: All
> Reporter: Hasan Muhammad
> Priority: Critical
>
>
> Tuscany should provide a flag or mechanism to turn validation on/off. Tools
> developed on top of tuscany may perform validation using tuscany's
> validation framework. In that case, any user may not want validation being
> done during runtime as it was already done using external tools.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
[jira] Resolved: (TUSCANY-2336) Option to turn Validation on/off
Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws resolved TUSCANY-2336.
---------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-Next
The majority of our validation code is an integral part of the code that reads, resolves and builds the assembly model. I.e. there is no one separate validation phase that can be turned of.
The code that does XSD validation is written to turn itself off if there are no XSD to validate against so you could use this trick to turn that part off. Also if you are not interested in what happens to any validation messages, for example, in the case where you know that the contribution is alread valid, you could either provide a monitor that does nothing or simply, in you code, ignore the contents of the monitor once the build phase is complete.
> Option to turn Validation on/off
> --------------------------------
>
> Key: TUSCANY-2336
> URL: https://issues.apache.org/jira/browse/TUSCANY-2336
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Problem Determination
> Environment: All
> Reporter: Hasan Muhammad
> Priority: Critical
> Fix For: Java-SCA-Next
>
>
> Tuscany should provide a flag or mechanism to turn validation on/off. Tools developed on top of tuscany may perform validation using tuscany's validation framework. In that case, any user may not want validation being done during runtime as it was already done using external tools.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.