Stage Operations¶
Stages are simply key/value pairs. However, DRP provides a strong typing model to enforce a specific type to a given Stage. This ensures that Stage values are valid elements as designed by the operator.
Creating a Stage¶
It might be necessary to create a new stage, an empty Stage may be created by doing the following:
or
The system will attempt to use any sent string as the Name of the Stage. To be complete, it is required to also speciy the Type that stage must be:
In this example, the type string
was defined for the stage.
Deleting a Stage¶
It might be necessary to delete a stage.
Note
The destroy operation will fail if the stage is in use.
Editing a Stage¶
It might be necessary to update a Stage. An example to add a type
of string
to our fluffy
stage above would be: