deckhand/releasenotes/notes
Felipe Monteiro 8aec0390f8 DECKHAND-80: Validations API Implementation
The Validations API has been introduced to Deckhand, allowing users
to register new validation results in Deckhand, as well as query
the API for validation results for a revision. The validation results
include a list of errors that occurred during document validation.

All functional tests related to the API are now passing.

The following endpoints have been implemented:

   * /api/v1.0/revisions/{revision_id}/validations
   * /api/v1.0/revisions/{revision_id}/validations/{validation_name}
   * /api/v1.0/revisions/{revision_id}/validations/{validation_name}/entries
   * /api/v1.0/revisions/{revision_id}/validations/{validation_name}/entries/{entry_id}

Some back-end refactoring was needed to implement this API. In
particular:

  - Added a new Validation sqlalchemy DB model
  - Introduced DataSchema handling to the engine.document_validation
    module so that registered schema validations can be used
  - Changed the way the result of the 'deckhand-schema-validation' internal
    validation is generated: it is now the amalgamation of all the
    internal and registered schema validations executed
  - Introduced rawquery generation so that raw SQL queries can be used to
    get results from DB

Fixed following bug:

  - UniqueConstraint is now used to correctly generate unique constraints
    for sqlalchemy models that are supposed to be combinations of columns

Change-Id: I53c79a6544f44ef8beab2600ddc8a3ea91ada903
2017-10-21 23:09:16 -04:00
..
fix-attribute-error-in-bucket-controller-b5c9e410823abd19.yaml Fix AttributeError being raised in buckets controller 2017-10-05 11:53:30 -04:00
oslo.policy-integration-f03ac6a7a2ccef5a.yaml DECKHAND-61: oslo.policy integration 2017-10-07 18:43:28 +01:00
revision-document-filtering-0e57274a4fc1bc07.yaml Support filtering revision (documents) by any legal filter 2017-10-06 16:48:45 -04:00
secret-substitution-6eff2c93bf11d82e.yaml DECKHAND-66: Document substitution implementation 2017-10-13 15:16:27 -04:00
validations-api-cf07c8b6b5040f67.yaml DECKHAND-80: Validations API Implementation 2017-10-21 23:09:16 -04:00