public void EstablishContext() { Deployment = new TwoRoleDeploy(); Deployment.Initialize(new SampleConfiguration()); Map = new RoleToServerMap(); Map.AddMap("Web", "SrvTopeka09"); Map.AddMap("Web", "SrvTopeka19"); Inspector = new DropkickDeploymentInspector(Map); }
public void EstablishContext() { Deployment = new TwoRoleDeploy(); Deployment.Initialize(new SampleConfiguration()); Map = new RoleToServerMap(); Map.AddMap("Web", "SrvTopeka09"); Map.AddMap("Web", "SrvTopeka19"); Inspector = new DropkickDeploymentInspector(Map); }
public void EstablishContext() { Deployment = new TwoRoleDeploy(); Map = new RoleToServerMap(); Map.AddMap("Web", "SrvTopeka09"); Map.AddMap("Web", "SrvTopeka19"); Map.AddMap("Db", "SrvTopeka02"); Inspector = new DropkickDeploymentInspector(Map); BecauseOf(); }
public void EstablishContext() { Deployment = new TwoRoleDeploy(); Map = new RoleToServerMap(); Map.AddMap("Web", "SrvTopeka09"); Map.AddMap("Web", "SrvTopeka19"); Map.AddMap("Db", "SrvTopeka02"); Inspector = new DropkickDeploymentInspector(Map); BecauseOf(); }
public void TryAll() { var dep = new TwoRoleDeploy(); dep.Initialize(new object()); var maps = new RoleToServerMap(); maps.AddMap("DB", "BOB"); var ins = new DropkickDeploymentInspector(maps); var plan = ins.GetPlan(dep); Assert.AreEqual(2, plan.RoleCount); }
public void TryDb() { var dep = new TwoRoleDeploy(); dep.Initialize(new SampleConfiguration()); var maps = new RoleToServerMap(); maps.AddMap("DB","BOB"); var ins = new DropkickDeploymentInspector(maps); ins.RolesToGet("Db"); var plan = ins.GetPlan(dep); Assert.AreEqual(1, plan.RoleCount); }
public void TryAll() { var dep = new TwoRoleDeploy(); dep.Initialize(new object()); var maps = new RoleToServerMap(); maps.AddMap("DB", "BOB"); var ins = new DropkickDeploymentInspector(maps); var plan = ins.GetPlan(dep); Assert.AreEqual(2, plan.RoleCount); }
public void TryWeb() { var dep = new TwoRoleDeploy(); dep.Initialize(new object()); var maps = new RoleToServerMap(); var ins = new DropkickDeploymentInspector(maps); ins.RolesToGet("Web"); //how to set the roles var plan = ins.GetPlan(dep); Assert.AreEqual(1, plan.RoleCount); }
public void TryWeb() { var dep = new TwoRoleDeploy(); dep.Initialize(new object()); var maps = new RoleToServerMap(); var ins = new DropkickDeploymentInspector(maps); ins.RolesToGet("Web"); //how to set the roles var plan = ins.GetPlan(dep); Assert.AreEqual(1, plan.RoleCount); }
public void TryDb() { var dep = new TwoRoleDeploy(); dep.Initialize(new SampleConfiguration()); var maps = new RoleToServerMap(); maps.AddMap("DB", "BOB"); maps.AddMap("WEB", "BILL"); var ins = new DropkickDeploymentInspector(maps); ins.RolesToGet("Db"); var plan = ins.GetPlan(dep); Assert.AreEqual(1, plan.RoleCount); }