gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (Jira)" <j...@apache.org>
Subject [jira] [Commented] (GORA-455) Create XSD's for all datastore xml mapping files
Date Sat, 24 Oct 2020 12:38:00 GMT

    [ https://issues.apache.org/jira/browse/GORA-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220080#comment-17220080

Alfonso Nishikawa commented on GORA-455:

Hi, Gaby.

I don't really know much about this issue, but in order to accept a pull request it should
be a completed feature :)

I have some questions too (and some maybe [~lewismc] can answer them):

- What happens when a validation fails? Does it throws a Runtime Exception? Then that should
be wrapped in a GoraException
- What happens if there is no internet connection to download the XSD? Or what happens if
there is a firewall dropping the requests and the validation have to wait for a timeout? A
server probably can't wait forever or several minutes for a validation if it has some jobs
- Should the validation be enabled/disabled on demand?
- From where can the XSD be loaded? Only from a URI or from resources too as in the test?

Thank you! :)

> Create XSD's for all datastore xml mapping files
> ------------------------------------------------
>                 Key: GORA-455
>                 URL: https://issues.apache.org/jira/browse/GORA-455
>             Project: Apache Gora
>          Issue Type: New Feature
>          Components: schema
>    Affects Versions: 0.7
>            Reporter: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.0
> When creating new mappings it would be great to have XSD's to comply with. If our XSD's
also had URI's then it would be very easy to streamline the generation of XML mappings.

This message was sent by Atlassian Jira

View raw message