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

Mawathage Sanjaya Priyadarshana Medonsa commented on AIRAVATA-893:
------------------------------------------------------------------

Thanks Saminda! It is a great and convenient improvement to support auto. 
Following is my understanding about auto implementation. Please clarify if your 
understanding is different.
        
Each time when a request comes, application tries to connect to online schema. 
If it fails to connect online schema, validates schema using offline. It's a 
combination of both online and offline validation where it falls back to 
offline validation in case of connection failure in online validation.

I have modified the build to copy the schema from resources/schema in 
commons/gfac-schema module. I think "airavata-gfac-schema-utils" also copied 
the schema from the same location. Is there any particular reason such as 
possible post processing to copy it from the jar file ? 

I'll update the "modules/rest/webapp" and "modules/integration-tests" to use 
the same mechanism. I might need some help to test these modules. I have tested 
the solution only with XBaya and Airavata Server modules.
                
> 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