private void verifyExecution2(DeployExecution execution2) { assertEquals("try2", execution2.getReason()); assertEquals( Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3")), execution2.getAttributes()); }
private void verifyExecution2(DeployExecution execution2) { assertEquals("try2", execution2.getReason()); assertEquals( Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3")), execution2.getAttributes()); }
private void verifyExecution1a(DeployExecution execution1) { assertEquals("try1a-noop", execution1.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval"), new DeployExecutionAttributeImpl("C", "cval") ), execution1.getAttributes()); }
private void verifyExecution1a(DeployExecution execution1) { assertEquals("try1a-noop", execution1.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval"), new DeployExecutionAttributeImpl("C", "cval") ), execution1.getAttributes()); }
private void verifyExecution2(DeployExecution execution2) { assertEquals("try2", execution2.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("C", "cval2"), new DeployExecutionAttributeImpl("E", "eval") ), execution2.getAttributes()); }
private void verifyExecution1(DeployExecution execution1) { assertEquals("try1", execution1.getReason()); assertEquals( Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2")), execution1.getAttributes()); }
private void verifyExecution1(DeployExecution execution1) { assertEquals("try1", execution1.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval") ), execution1.getAttributes()); }
private void verifyExecution2(DeployExecution execution2) { assertEquals("try2", execution2.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("C", "cval2"), new DeployExecutionAttributeImpl("E", "eval") ), execution2.getAttributes()); }
private void verifyExecution1(DeployExecution execution1) { assertEquals("try1", execution1.getReason()); assertEquals( Sets.immutable.<DeployExecutionAttribute>with(new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2")), execution1.getAttributes()); }
private void verifyExecution1(DeployExecution execution1) { assertEquals("try1", execution1.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval") ), execution1.getAttributes()); }
private void verifyExecution3(DeployExecution execution3) { assertEquals("try3", execution3.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("F", "fval") ), execution3.getAttributes()); } }
private void verifyExecution3(DeployExecution execution3) { assertEquals("try3", execution3.getReason()); assertEquals( Sets.immutable.with( new DeployExecutionAttributeImpl("F", "fval") ), execution3.getAttributes()); } }
long id = platform.getLongValue(attrResult.get(deployExecutionIdColName)).longValue(); DeployExecutionAttribute attr = new DeployExecutionAttributeImpl( (String) attrResult.get(attrNameColName), (String) attrResult.get(attrValueColName)
long id = platform.getLongValue(attrResult.get(deployExecutionIdColName)).longValue(); DeployExecutionAttribute attr = new DeployExecutionAttributeImpl( (String) attrResult.get(attrNameColName), (String) attrResult.get(attrValueColName)
.cleanEnvironment() .deploy(new MainDeployerArgs().reason("try1").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval") ))) dbDeployerAppContext .deploy(new MainDeployerArgs().reason("try1a-noop").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval"), new DeployExecutionAttributeImpl("C", "cval") ))) .setupEnvInfra() .deploy(new MainDeployerArgs().reason("try2").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("C", "cval2"), new DeployExecutionAttributeImpl("E", "eval") ))) .setupEnvInfra() .deploy(new MainDeployerArgs().reason("try3").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("F", "fval") )))
.cleanEnvironment() .deploy(new MainDeployerArgs().reason("try1").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval") ))) dbDeployerAppContext .deploy(new MainDeployerArgs().reason("try1a-noop").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("A", "aval"), new DeployExecutionAttributeImpl("B", "bval"), new DeployExecutionAttributeImpl("C", "cval") ))) .setupEnvInfra() .deploy(new MainDeployerArgs().reason("try2").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("C", "cval2"), new DeployExecutionAttributeImpl("E", "eval") ))) .setupEnvInfra() .deploy(new MainDeployerArgs().reason("try3").deployExecutionAttributes(Sets.immutable.with( new DeployExecutionAttributeImpl("F", "fval") )))
MainDeployerArgs args1 = new MainDeployerArgs() .deployExecutionAttributes(Sets.immutable.<DeployExecutionAttribute>with( new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2") )) .reason("try1"); new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3") )) .reason("try2");
MainDeployerArgs args1 = new MainDeployerArgs() .deployExecutionAttributes(Sets.immutable.<DeployExecutionAttribute>with( new DeployExecutionAttributeImpl("attr1", "v1_val1"), new DeployExecutionAttributeImpl("attr2", "v1_val2") )) .reason("try1"); new DeployExecutionAttributeImpl("attr1", "v2_val1"), new DeployExecutionAttributeImpl("attr2", "v2_val2"), new DeployExecutionAttributeImpl("attr3", "v2_val3") )) .reason("try2");