Uploaded image for project: 'Apache MetaModel (Retired)'
  1. Apache MetaModel (Retired)
  2. METAMODEL-1158

[membrane] New datasources are validated after creation, offering the worst of both validation modes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaspersor Kasper Sørensen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: