test_class.declarator: dynamoDBRaider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private DynamoDBRaiderImpl dynamoDBRaider;
test_class.type: DynamoDBRaiderImpl
test_class.var_name: dynamoDBRaider
test_class.declarator: rule = MockitoJUnit.rule()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public MockitoRule rule = MockitoJUnit.rule();
test_class.type: MockitoRule
test_class.var_name: rule
test_class.declarator: systemRaider
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private SystemRaider systemRaider;
test_class.type: SystemRaider
test_class.var_name: systemRaider
test_class.file: cloudraider-core/src/test/java/com/intuit/cloudraider/core/impl/DynamoDBRaiderImplTest.java
test_class.identifier: DynamoDBRaiderImplTest
test_case.body: @Test
      public void testDynamoDBDown() {
          final String ip = UUID.randomUUID().toString();
          final String result = UUID.randomUUID().toString();
  
          Mockito.when(systemRaider.executeScript(ip, ClassLoader.getSystemResource("blockdynamo.sh").getPath())).thenReturn(result);
  
          Assert.assertEquals("Unexpected result: ", result, dynamoDBRaider.blockDynamoDB(ip));
      }
test_case.class_method_signature: DynamoDBRaiderImplTest.testDynamoDBDown()
test_case.full_signature: @Test public void testDynamoDBDown()
test_case.identifier: testDynamoDBDown
test_case.invocations: toString randomUUID toString randomUUID thenReturn when executeScript getPath getSystemResource assertEquals blockDynamoDB
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDynamoDBDown()
focal_class.declarator: systemRaider
focal_class.modifier: @Autowired
      @Qualifier("systemRaiderBean")
      private
focal_class.original_string: @Autowired
      @Qualifier("systemRaiderBean")
      private SystemRaider systemRaider;
focal_class.type: SystemRaider
focal_class.var_name: systemRaider
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: dynamoDBDelegator
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private DynamoDBDelegator dynamoDBDelegator;
focal_class.type: DynamoDBDelegator
focal_class.var_name: dynamoDBDelegator
focal_class.file: cloudraider-core/src/main/java/com/intuit/cloudraider/core/impl/DynamoDBRaiderImpl.java
focal_class.identifier: DynamoDBRaiderImpl
focal_class.interfaces: implements DynamoDBRaider
focal_class.class_method_signature: DynamoDBRaiderImpl.DynamoDBRaiderImpl()
focal_class.full_signature: public  DynamoDBRaiderImpl()
focal_class.identifier: DynamoDBRaiderImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DynamoDBRaiderImpl()
focal_class.class_method_signature: DynamoDBRaiderImpl.blockDynamoDB(String ip)
focal_class.full_signature: @Override public String blockDynamoDB(String ip)
focal_class.identifier: blockDynamoDB
focal_class.modifiers: @Override public
focal_class.parameters: (String ip)
focal_class.return: String
focal_class.signature: String blockDynamoDB(String ip)
focal_class.class_method_signature: DynamoDBRaiderImpl.unblockDynamoDB(String ip)
focal_class.full_signature: @Override public String unblockDynamoDB(String ip)
focal_class.identifier: unblockDynamoDB
focal_class.modifiers: @Override public
focal_class.parameters: (String ip)
focal_class.return: String
focal_class.signature: String unblockDynamoDB(String ip)
focal_class.class_method_signature: DynamoDBRaiderImpl.executeScriptOnClasspath(String ip, String scriptName)
focal_class.full_signature: private String executeScriptOnClasspath(String ip, String scriptName)
focal_class.identifier: executeScriptOnClasspath
focal_class.modifiers: private
focal_class.parameters: (String ip, String scriptName)
focal_class.return: String
focal_class.signature: String executeScriptOnClasspath(String ip, String scriptName)
focal_class.class_method_signature: DynamoDBRaiderImpl.getDynamoDBReadIOPS(String tableName)
focal_class.full_signature: @Override public long getDynamoDBReadIOPS(String tableName)
focal_class.identifier: getDynamoDBReadIOPS
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName)
focal_class.return: long
focal_class.signature: long getDynamoDBReadIOPS(String tableName)
focal_class.class_method_signature: DynamoDBRaiderImpl.setDyanmoDBReadIOPS(String tableName,long readIops)
focal_class.full_signature: @Override public void setDyanmoDBReadIOPS(String tableName,long readIops)
focal_class.identifier: setDyanmoDBReadIOPS
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName,long readIops)
focal_class.return: void
focal_class.signature: void setDyanmoDBReadIOPS(String tableName,long readIops)
focal_class.class_method_signature: DynamoDBRaiderImpl.getDynamoDBWriteIOPS(String tableName)
focal_class.full_signature: @Override public long getDynamoDBWriteIOPS(String tableName)
focal_class.identifier: getDynamoDBWriteIOPS
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName)
focal_class.return: long
focal_class.signature: long getDynamoDBWriteIOPS(String tableName)
focal_class.class_method_signature: DynamoDBRaiderImpl.setDyanmoDBWriteIOPS(String tableName, long writeIops)
focal_class.full_signature: @Override public void setDyanmoDBWriteIOPS(String tableName, long writeIops)
focal_class.identifier: setDyanmoDBWriteIOPS
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName, long writeIops)
focal_class.return: void
focal_class.signature: void setDyanmoDBWriteIOPS(String tableName, long writeIops)
focal_class.class_method_signature: DynamoDBRaiderImpl.setDyanmoDBReadAndWriteIOPS(String tableName, long readIops, long writeIops)
focal_class.full_signature: @Override public void setDyanmoDBReadAndWriteIOPS(String tableName, long readIops, long writeIops)
focal_class.identifier: setDyanmoDBReadAndWriteIOPS
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName, long readIops, long writeIops)
focal_class.return: void
focal_class.signature: void setDyanmoDBReadAndWriteIOPS(String tableName, long readIops, long writeIops)
focal_method.body: @Override
      public String blockDynamoDB(String ip) {
          return executeScriptOnClasspath(ip, Actions.BLOCKDYNAMO.getActionName());
      }
focal_method.class_method_signature: DynamoDBRaiderImpl.blockDynamoDB(String ip)
focal_method.full_signature: @Override public String blockDynamoDB(String ip)
focal_method.identifier: blockDynamoDB
focal_method.invocations: executeScriptOnClasspath getActionName
focal_method.modifiers: @Override public
focal_method.parameters: (String ip)
focal_method.return: String
focal_method.signature: String blockDynamoDB(String ip)