Modifier and Type | Class and Description |
---|---|
static class |
DeploymentSpec.DeclaredZone
A deployment step which is to run deployment in a particular zone
|
static class |
DeploymentSpec.Delay
A deployment step which is to wait for some time before progressing to the next step
|
static class |
DeploymentSpec.ParallelZones
A deployment step which is to run deployment to multiple zones in parallel
|
Modifier and Type | Field and Description |
---|---|
private List<DeploymentSpec.Step> |
DeploymentSpec.steps |
Modifier and Type | Method and Description |
---|---|
private static List<DeploymentSpec.Step> |
DeploymentSpec.completeSteps(List<DeploymentSpec.Step> steps)
Adds missing required steps and reorders steps to a permissible order
|
List<DeploymentSpec.Step> |
DeploymentSpec.steps()
Returns the deployment steps of this in the order they will be performed
|
Modifier and Type | Method and Description |
---|---|
private static List<DeploymentSpec.Step> |
DeploymentSpec.completeSteps(List<DeploymentSpec.Step> steps)
Adds missing required steps and reorders steps to a permissible order
|
private static DeploymentSpec.DeclaredZone |
DeploymentSpec.remove(com.yahoo.config.provision.Environment environment,
List<DeploymentSpec.Step> steps)
Removes the first occurrence of a deployment step to the given environment and returns it.
|
private void |
DeploymentSpec.validateTotalDelay(List<DeploymentSpec.Step> steps)
Throw an IllegalArgumentException if the total delay exceeds 24 hours
|
private void |
DeploymentSpec.validateZones(List<DeploymentSpec.Step> steps)
Throw an IllegalArgumentException if any production zone is declared multiple times
|
Constructor and Description |
---|
DeploymentSpec(Optional<String> globalServiceId,
DeploymentSpec.UpgradePolicy upgradePolicy,
List<DeploymentSpec.ChangeBlocker> changeBlockers,
List<DeploymentSpec.Step> steps) |
DeploymentSpec(Optional<String> globalServiceId,
DeploymentSpec.UpgradePolicy upgradePolicy,
List<DeploymentSpec.ChangeBlocker> changeBlockers,
List<DeploymentSpec.Step> steps,
String xmlForm,
Optional<com.yahoo.config.provision.AthenzDomain> athenzDomain,
Optional<com.yahoo.config.provision.AthenzService> athenzService) |
Copyright © 2017. All rights reserved.