test_class.declarator: loadBalancerStepDefinitions
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private LoadBalancerStepDefinitions loadBalancerStepDefinitions;
test_class.type: LoadBalancerStepDefinitions
test_class.var_name: loadBalancerStepDefinitions
test_class.declarator: ec2Raider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private EC2RaiderImpl ec2Raider;
test_class.type: EC2RaiderImpl
test_class.var_name: ec2Raider
test_class.declarator: loadBalancerRaider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private LoadBalancerRaiderImpl loadBalancerRaider;
test_class.type: LoadBalancerRaiderImpl
test_class.var_name: loadBalancerRaider
test_class.declarator: applicationLoadBalancerRaider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ApplicationLoadBalancerRaiderImpl applicationLoadBalancerRaider;
test_class.type: ApplicationLoadBalancerRaiderImpl
test_class.var_name: applicationLoadBalancerRaider
test_class.declarator: executionStateCache
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ExecutionStateCache executionStateCache;
test_class.type: ExecutionStateCache
test_class.var_name: executionStateCache
test_class.file: cloudraider-core/src/test/java/com/intuit/cloudraider/cucumber/steps/LoadBalancerStepDefinitionsTest.java
test_class.identifier: LoadBalancerStepDefinitionsTest
test_case.body: @Test
      public void testGetSecurityGroups() throws Throwable {
          loadBalancerStepDefinitions.givenLoadBalancerName("ELB", "elb");
          List<String> groups = loadBalancerStepDefinitions.getSecurityGroups();
          Assert.assertEquals(3, groups.size());
          Assert.assertTrue(groups.contains("sg-9"));
          Assert.assertTrue(groups.contains("sg-1"));
          Assert.assertTrue(groups.contains("sg-12"));
      }
test_case.class_method_signature: LoadBalancerStepDefinitionsTest.testGetSecurityGroups()
test_case.full_signature: @Test public void testGetSecurityGroups()
test_case.identifier: testGetSecurityGroups
test_case.invocations: givenLoadBalancerName getSecurityGroups assertEquals size assertTrue contains assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetSecurityGroups()
focal_class.declarator: loadBalancerRaider
focal_class.modifier: private
focal_class.original_string: private LoadBalancerRaider loadBalancerRaider;
focal_class.type: LoadBalancerRaider
focal_class.var_name: loadBalancerRaider
focal_class.declarator: ec2Raider
focal_class.modifier: @Autowired
      @Qualifier("ec2raiderBean")
      private
focal_class.original_string: @Autowired
      @Qualifier("ec2raiderBean")
      private EC2Raider ec2Raider;
focal_class.type: EC2Raider
focal_class.var_name: ec2Raider
focal_class.declarator: executionStateCache
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ExecutionStateCache executionStateCache;
focal_class.type: ExecutionStateCache
focal_class.var_name: executionStateCache
focal_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
focal_class.original_string: Logger logger = LoggerFactory.getLogger(this.getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: credentials
focal_class.modifier: @Autowired
     // @Qualifier("credentials")
      private
focal_class.original_string: @Autowired
     // @Qualifier("credentials")
      private Credentials credentials;
focal_class.type: Credentials
focal_class.var_name: credentials
focal_class.declarator: applicationLoadBalancerRaider
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ApplicationLoadBalancerRaiderImpl applicationLoadBalancerRaider;
focal_class.type: ApplicationLoadBalancerRaiderImpl
focal_class.var_name: applicationLoadBalancerRaider
focal_class.declarator: elasticLoadBalancerRaider
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private LoadBalancerRaiderImpl elasticLoadBalancerRaider;
focal_class.type: LoadBalancerRaiderImpl
focal_class.var_name: elasticLoadBalancerRaider
focal_class.file: cloudraider-core/src/main/java/com/intuit/cloudraider/cucumber/steps/LoadBalancerStepDefinitions.java
focal_class.identifier: LoadBalancerStepDefinitions
focal_class.class_method_signature: LoadBalancerStepDefinitions.LoadBalancerStepDefinitions()
focal_class.full_signature: public  LoadBalancerStepDefinitions()
focal_class.identifier: LoadBalancerStepDefinitions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  LoadBalancerStepDefinitions()
focal_class.class_method_signature: LoadBalancerStepDefinitions.getExecutionStateCache()
focal_class.full_signature: public ExecutionStateCache getExecutionStateCache()
focal_class.identifier: getExecutionStateCache
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ExecutionStateCache
focal_class.signature: ExecutionStateCache getExecutionStateCache()
focal_class.class_method_signature: LoadBalancerStepDefinitions.setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.full_signature: public void setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.identifier: setExecutionStateCache
focal_class.modifiers: public
focal_class.parameters: (ExecutionStateCache executionStateCache)
focal_class.return: void
focal_class.signature: void setExecutionStateCache(ExecutionStateCache executionStateCache)
focal_class.class_method_signature: LoadBalancerStepDefinitions.givenLoadBalancerName(String loadbalancerType, String loadBalancerName)
focal_class.full_signature: @Given("^(ELB|ALB|NLB) \"([^\"]*)\"$") public LoadBalancerStepDefinitions givenLoadBalancerName(String loadbalancerType, String loadBalancerName)
focal_class.identifier: givenLoadBalancerName
focal_class.modifiers: @Given("^(ELB|ALB|NLB) \"([^\"]*)\"$") public
focal_class.parameters: (String loadbalancerType, String loadBalancerName)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions givenLoadBalancerName(String loadbalancerType, String loadBalancerName)
focal_class.class_method_signature: LoadBalancerStepDefinitions.givenLoadBalancerNameIgnoreExecCache(String loadbalancerType, String loadBalancerName)
focal_class.full_signature: public void givenLoadBalancerNameIgnoreExecCache(String loadbalancerType, String loadBalancerName)
focal_class.identifier: givenLoadBalancerNameIgnoreExecCache
focal_class.modifiers: public
focal_class.parameters: (String loadbalancerType, String loadBalancerName)
focal_class.return: void
focal_class.signature: void givenLoadBalancerNameIgnoreExecCache(String loadbalancerType, String loadBalancerName)
focal_class.class_method_signature: LoadBalancerStepDefinitions.getLoadBalancerNames()
focal_class.full_signature: public Map<String, String> getLoadBalancerNames()
focal_class.identifier: getLoadBalancerNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getLoadBalancerNames()
focal_class.class_method_signature: LoadBalancerStepDefinitions.detachSecurityGroup(String securityGroupId)
focal_class.full_signature: @Given("^detach security-group \"([^\"]*)\"$") public LoadBalancerStepDefinitions detachSecurityGroup(String securityGroupId)
focal_class.identifier: detachSecurityGroup
focal_class.modifiers: @Given("^detach security-group \"([^\"]*)\"$") public
focal_class.parameters: (String securityGroupId)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions detachSecurityGroup(String securityGroupId)
focal_class.class_method_signature: LoadBalancerStepDefinitions.attachSecurityGroup(String securityGroupId)
focal_class.full_signature: @Given("^attach security-group \"([^\"]*)\"$") public LoadBalancerStepDefinitions attachSecurityGroup(String securityGroupId)
focal_class.identifier: attachSecurityGroup
focal_class.modifiers: @Given("^attach security-group \"([^\"]*)\"$") public
focal_class.parameters: (String securityGroupId)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions attachSecurityGroup(String securityGroupId)
focal_class.class_method_signature: LoadBalancerStepDefinitions.detachRandomSecurityGroups(int num)
focal_class.full_signature: @Given("^detach (\\d+) security-groups$") public LoadBalancerStepDefinitions detachRandomSecurityGroups(int num)
focal_class.identifier: detachRandomSecurityGroups
focal_class.modifiers: @Given("^detach (\\d+) security-groups$") public
focal_class.parameters: (int num)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions detachRandomSecurityGroups(int num)
focal_class.class_method_signature: LoadBalancerStepDefinitions.attachRandomRemovedSecurityGroups()
focal_class.full_signature: @Given("^attach removed security-groups$") public LoadBalancerStepDefinitions attachRandomRemovedSecurityGroups()
focal_class.identifier: attachRandomRemovedSecurityGroups
focal_class.modifiers: @Given("^attach removed security-groups$") public
focal_class.parameters: ()
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions attachRandomRemovedSecurityGroups()
focal_class.class_method_signature: LoadBalancerStepDefinitions.detachSubnet(String subnetId)
focal_class.full_signature: @Given("^detach subnet \"([^\"]*)\"$") public LoadBalancerStepDefinitions detachSubnet(String subnetId)
focal_class.identifier: detachSubnet
focal_class.modifiers: @Given("^detach subnet \"([^\"]*)\"$") public
focal_class.parameters: (String subnetId)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions detachSubnet(String subnetId)
focal_class.class_method_signature: LoadBalancerStepDefinitions.detachRandomSubnets(int num)
focal_class.full_signature: @Given("^detach (\\d+) subnets$") public LoadBalancerStepDefinitions detachRandomSubnets(int num)
focal_class.identifier: detachRandomSubnets
focal_class.modifiers: @Given("^detach (\\d+) subnets$") public
focal_class.parameters: (int num)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions detachRandomSubnets(int num)
focal_class.class_method_signature: LoadBalancerStepDefinitions.attachRandomRemovedSubnets()
focal_class.full_signature: @Given("^attach removed subnets$") public LoadBalancerStepDefinitions attachRandomRemovedSubnets()
focal_class.identifier: attachRandomRemovedSubnets
focal_class.modifiers: @Given("^attach removed subnets$") public
focal_class.parameters: ()
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions attachRandomRemovedSubnets()
focal_class.class_method_signature: LoadBalancerStepDefinitions.attachSubnet(String subnetId)
focal_class.full_signature: @Given("^attach subnet \"([^\"]*)\"$") public LoadBalancerStepDefinitions attachSubnet(String subnetId)
focal_class.identifier: attachSubnet
focal_class.modifiers: @Given("^attach subnet \"([^\"]*)\"$") public
focal_class.parameters: (String subnetId)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions attachSubnet(String subnetId)
focal_class.class_method_signature: LoadBalancerStepDefinitions.assertHealthyHostCount(int expected)
focal_class.full_signature: @Then("^assertEC2 healthy host count = (\\d+)$") public void assertHealthyHostCount(int expected)
focal_class.identifier: assertHealthyHostCount
focal_class.modifiers: @Then("^assertEC2 healthy host count = (\\d+)$") public
focal_class.parameters: (int expected)
focal_class.return: void
focal_class.signature: void assertHealthyHostCount(int expected)
focal_class.class_method_signature: LoadBalancerStepDefinitions.assertUntHealthyHostCount(int expected)
focal_class.full_signature: @Then("^assertEC2 unhealthy host count = (\\d+)$") public void assertUntHealthyHostCount(int expected)
focal_class.identifier: assertUntHealthyHostCount
focal_class.modifiers: @Then("^assertEC2 unhealthy host count = (\\d+)$") public
focal_class.parameters: (int expected)
focal_class.return: void
focal_class.signature: void assertUntHealthyHostCount(int expected)
focal_class.class_method_signature: LoadBalancerStepDefinitions.corruptLBHealthCheck()
focal_class.full_signature: @When("^LB corrupt HealthChecks$") public void corruptLBHealthCheck()
focal_class.identifier: corruptLBHealthCheck
focal_class.modifiers: @When("^LB corrupt HealthChecks$") public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void corruptLBHealthCheck()
focal_class.class_method_signature: LoadBalancerStepDefinitions.unCorruptLBHealthCheck()
focal_class.full_signature: @Then("^LB unCorrupt HealthChecks$") public void unCorruptLBHealthCheck()
focal_class.identifier: unCorruptLBHealthCheck
focal_class.modifiers: @Then("^LB unCorrupt HealthChecks$") public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unCorruptLBHealthCheck()
focal_class.class_method_signature: LoadBalancerStepDefinitions.deRegisterGivenInstance(String instanceID)
focal_class.full_signature: @When("^detach instanceId \"([^\"]*)\" from loadbalancer$") public void deRegisterGivenInstance(String instanceID)
focal_class.identifier: deRegisterGivenInstance
focal_class.modifiers: @When("^detach instanceId \"([^\"]*)\" from loadbalancer$") public
focal_class.parameters: (String instanceID)
focal_class.return: void
focal_class.signature: void deRegisterGivenInstance(String instanceID)
focal_class.class_method_signature: LoadBalancerStepDefinitions.deRegisterPercentOfInstances(double percentage)
focal_class.full_signature: public LoadBalancerStepDefinitions deRegisterPercentOfInstances(double percentage)
focal_class.identifier: deRegisterPercentOfInstances
focal_class.modifiers: public
focal_class.parameters: (double percentage)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions deRegisterPercentOfInstances(double percentage)
focal_class.class_method_signature: LoadBalancerStepDefinitions.deRegisterInstances(int numInstances)
focal_class.full_signature: @When("^detach (\\d+) instances from loadbalancer$") public LoadBalancerStepDefinitions deRegisterInstances(int numInstances)
focal_class.identifier: deRegisterInstances
focal_class.modifiers: @When("^detach (\\d+) instances from loadbalancer$") public
focal_class.parameters: (int numInstances)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions deRegisterInstances(int numInstances)
focal_class.class_method_signature: LoadBalancerStepDefinitions.deRegisterPercentOfInstances(int percentage)
focal_class.full_signature: @When("^detach (\\d+)% instances from loadbalancer$") public LoadBalancerStepDefinitions deRegisterPercentOfInstances(int percentage)
focal_class.identifier: deRegisterPercentOfInstances
focal_class.modifiers: @When("^detach (\\d+)% instances from loadbalancer$") public
focal_class.parameters: (int percentage)
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions deRegisterPercentOfInstances(int percentage)
focal_class.class_method_signature: LoadBalancerStepDefinitions.registerInstances()
focal_class.full_signature: @When("^attach unregistered instances$") public LoadBalancerStepDefinitions registerInstances()
focal_class.identifier: registerInstances
focal_class.modifiers: @When("^attach unregistered instances$") public
focal_class.parameters: ()
focal_class.return: LoadBalancerStepDefinitions
focal_class.signature: LoadBalancerStepDefinitions registerInstances()
focal_class.class_method_signature: LoadBalancerStepDefinitions.confirmUnHealthyHostCount(int expected)
focal_class.full_signature: public boolean confirmUnHealthyHostCount(int expected)
focal_class.identifier: confirmUnHealthyHostCount
focal_class.modifiers: public
focal_class.parameters: (int expected)
focal_class.return: boolean
focal_class.signature: boolean confirmUnHealthyHostCount(int expected)
focal_class.class_method_signature: LoadBalancerStepDefinitions.confirmHealthyHostCount(int expected)
focal_class.full_signature: public boolean confirmHealthyHostCount(int expected)
focal_class.identifier: confirmHealthyHostCount
focal_class.modifiers: public
focal_class.parameters: (int expected)
focal_class.return: boolean
focal_class.signature: boolean confirmHealthyHostCount(int expected)
focal_class.class_method_signature: LoadBalancerStepDefinitions.getSecurityGroups()
focal_class.full_signature: public List<String> getSecurityGroups()
focal_class.identifier: getSecurityGroups
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getSecurityGroups()
focal_class.class_method_signature: LoadBalancerStepDefinitions.getSubnets()
focal_class.full_signature: public List<String> getSubnets()
focal_class.identifier: getSubnets
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getSubnets()
focal_class.class_method_signature: LoadBalancerStepDefinitions.findAllInServiceInstances()
focal_class.full_signature: public List<String> findAllInServiceInstances()
focal_class.identifier: findAllInServiceInstances
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findAllInServiceInstances()
focal_class.class_method_signature: LoadBalancerStepDefinitions.findAllInServiceInstances(String loadBalancerName)
focal_class.full_signature: public List<String> findAllInServiceInstances(String loadBalancerName)
focal_class.identifier: findAllInServiceInstances
focal_class.modifiers: public
focal_class.parameters: (String loadBalancerName)
focal_class.return: List<String>
focal_class.signature: List<String> findAllInServiceInstances(String loadBalancerName)
focal_class.class_method_signature: LoadBalancerStepDefinitions.findAllOutOfServiceInstances()
focal_class.full_signature: public List<String> findAllOutOfServiceInstances()
focal_class.identifier: findAllOutOfServiceInstances
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findAllOutOfServiceInstances()
focal_method.body: public List<String> getSecurityGroups() {
          return loadBalancerRaider.getSecurityGroups(executionStateCache.getLoadBalancerName());
      }
focal_method.class_method_signature: LoadBalancerStepDefinitions.getSecurityGroups()
focal_method.full_signature: public List<String> getSecurityGroups()
focal_method.identifier: getSecurityGroups
focal_method.invocations: getSecurityGroups getLoadBalancerName
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<String>
focal_method.signature: List<String> getSecurityGroups()