drydock/docs/source/validatedesign.rst
Aaron Sheffield 8c2540c3f2 Lower cased dock in Drydock
Change-Id: Ie7f0d748744aaea820078d2cf3696bc5bd1075bf
2018-03-13 15:53:01 -05:00

861 B

Validate Design

The Drydock Validation API is a set of logic checks that must be passed before any information from the YAMLs will be processed by Drydock. These checks are performed synchronously and will return a message list with a success or failures for each check.

Formatting

This document can be POSTed to the Drydock validatedesign to validate a set of documents that have been processed by Deckhand:

{
  rel : "design",
  href: "deckhand+https://{{deckhand_url}}/revisions/{{revision_id}}/rendered-documents",
  type: "application/x-yaml"
}

v1.0

Validation Checks

These checks are meant to check the business logic of documents sent to the validatedesign API.

drydock_provisioner.orchestrator.validations.validator.Validator