You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2017/08/21 01:38:00 UTC

[jira] [Created] (METAMODEL-1158) [membrane] New datasources are validated after creation, offering the worst of both validation modes.

Kasper Sørensen created METAMODEL-1158:
------------------------------------------

             Summary: [membrane] New datasources are validated after creation, offering the worst of both validation modes.
                 Key: METAMODEL-1158
                 URL: https://issues.apache.org/jira/browse/METAMODEL-1158
             Project: Apache MetaModel
          Issue Type: Improvement
            Reporter: Kasper Sørensen


When I create a new datasource using the membrane API, it seems that the datasource is validated/tried after creation. It produces an error, but ends up having created the datasource regardless.

As a user I would prefer one of the two options:
1) fail fast: Validate the datasource before saving it.
2) fault tolerance: Let me create a datasource that may not work right now, but maybe will work later (ie. maybe a specific file or URL or credentials will be corrected soon).

To allow these two modes, I think we simply need to parameterize the call with a validation mode parameter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)