Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2173

Need a way to clear validation errors on VDBMetaData / ModelMetaData.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.2
    • 8.1
    • AdminApi
    • None

      Scenario:
      I am working with a VDB in object form, then deploy the xml form of it via the AdminAPI. Later, I retrieve the VDBMetaData object - using adminAPI.getVDBs(). Then I want to make some changes to it and attempt a redeploy.

      Problem;
      If there was a problem with the original VDB deployment, the VDBMetaData object may have validation errors. In order to successfully redeploy, I need to clear the validation errors.

      I dont see a way to conveniently clear the model errors so I can attempt a redeploy. Can you add a method to clear the validation errors or clone the model without errors, so that I can redeploy?

            rhn-engineering-rareddy Ramesh Reddy
            mdrillin1@redhat.com Mark Drilling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: