Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::Controller::ValidationPlan

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/Controller/ValidationPlan.pm

Controller for managing Validation Plans

METHODS

get_all

List all available Validation Plans.

Response uses the LegacyValidationPlans json schema.

find_validation_plan

Chainable action that uses the legacy_validation_plan_id_or_name provided in the stash (usually via the request URL) to look up a validation_plan, and stashes the result in legacy_validation_plan.

get

Get the (active) Validation Plan specified by uuid or name.

Response uses the LegacyValidationPlan json schema.

get_validations

List all Validations associated with the Validation Plan, both active and deactivated.

Response uses the LegacyValidations json schema.

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.