[ 
https://issues.apache.org/jira/browse/AIRAVATA-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749291#comment-13749291
 ] 

Saminda Wijeratne commented on AIRAVATA-893:
--------------------------------------------

You are correct on the idea of auto. There are several scenarios which you want 
to test.
1. When no network connection is present.
2. When network connection is present but the schema url is not accessible (eg: 
not connected to Internet)
3. When network connection is present and schema url is accessible. 
The importance of testing these scenarios is to findout the response time in 
each case and see whether the application will not freeze noticeably until the 
schema is retrieved. 

The reason why I said to use the jar to get the schema files is because then 
those modules will not depend upon the project structure of Airavata and/or the 
source content of another module (and it also makes those modules build 
independent if the dependent modules are already built before). If you want to 
know how to use the maven dependency plugin please see the plugin used in 
modules/xbaya-gui/pom.xml with the "unpack" goal.

You can test the integration-tests by just building the integration-test module 
with no Internet.

Please feel free to ask questions if I'm not being very clear.
                
> Support for offline Schema validation for Airavata workflow Creation and 
> Execution
> ----------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-893
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-893
>             Project: Airavata
>          Issue Type: New Feature
>          Components: Airavata Client, Workflow Interpreter, XBaya
>    Affects Versions: 0.8
>            Reporter: Mawathage Sanjaya Priyadarshana Medonsa
>            Priority: Minor
>             Fix For: WISHLIST
>
>         Attachments: fix-AIRAVATA-893.patch
>
>
> As per the current implementation Schema validations happens online. Internet 
> is required to create workflows and execute them, just because of the schema 
> validation. This could be an issue, if Internet connection is slow. Proposed 
> solution is to introduce offline mode. If offline mode is enabled schema is 
> validated against local schema repository. These schema validation occurs on 
> both Airavata server and XBaya. 
> Schema Repository - Top Level folder schemas on each installation
> Offline configuration - It could be an property on airavata client/server 
> properties 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to