deckhand/releasenotes/notes
Felipe Monteiro d02e1bcf53 [feature] Endpoint for listing revision validations with details
This patch set adds a new endpoint to the Validations API which allows
for listing all validations for a given revision with details.
The response body for GET /api/v1.0/{revision_id}/validations/detail
looks like:

  ---
  count: 1
  next: null
  prev: null
  results:
    - name: promenade-site-validation
      url: https://deckhand/api/v1.0/revisions/4/validations/promenade-site-validation/entries/0
      status: failure
      createdAt: 2017-07-16T02:03Z
      expiresAfter: null
      expiresAt: null
      errors:
        - documents:
            - schema: promenade/Node/v1
              name: node-document-name
            - schema: promenade/Masters/v1
              name: kubernetes-masters
          message: Node has master role, but not included in cluster masters list.

Note that the Validations API in general is currently missing fields
like url (as well as next and prev references) which will be included
in a follow up.

This will enable Shipyard to avoid performing a quadratic number
of API look ups when querying Deckhand's Validations API: [0].

The policy enforced for this endpoint is deckhand:list_validations.

APIImpact
DocImpact

[0] 06b5e82ea8/shipyard_airflow/control/configdocs/deckhand_client.py (L265)

Change-Id: I827e5f47bffb23fa16ee5c8a705058034633baed
2018-04-29 01:37:38 +00:00
..
fix-attribute-error-in-bucket-controller-b5c9e410823abd19.yaml Fix AttributeError being raised in buckets controller 2017-10-05 11:53:30 -04:00
fix-unique-layering-policy-bac2940c3deeba51.yaml Only allow one LayeringPolicy to exist in the system. 2017-10-26 17:38:24 -04:00
list-validations-details-endpoint-c3f18963b1372e40.yaml [feature] Endpoint for listing revision validations with details 2018-04-29 01:37:38 +00: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