SYMBOL INDEX (1950 symbols across 216 files) FILE: src/main/java/com/netflix/simianarmy/AbstractEmailBuilder.java class AbstractEmailBuilder (line 21) | public abstract class AbstractEmailBuilder implements EmailBuilder { method buildEmailBody (line 23) | @Override method getHeader (line 44) | protected abstract String getHeader(); method getEntryTable (line 52) | protected abstract String getEntryTable(String emailAddress); method getFooter (line 57) | protected abstract String getFooter(); method getHtmlCell (line 64) | protected String getHtmlCell(String value) { method getHtmlTableHeader (line 72) | protected String getHtmlTableHeader(String[] columns) { FILE: src/main/java/com/netflix/simianarmy/CloudClient.java type CloudClient (line 31) | public interface CloudClient { method terminateInstance (line 43) | void terminateInstance(String instanceId); method deleteAutoScalingGroup (line 51) | void deleteAutoScalingGroup(String asgName); method deleteLaunchConfiguration (line 59) | void deleteLaunchConfiguration(String launchConfigName); method deleteVolume (line 67) | void deleteVolume(String volumeId); method deleteSnapshot (line 75) | void deleteSnapshot(String snapshotId); method deleteImage (line 82) | void deleteImage(String imageId); method deleteElasticLoadBalancer (line 90) | void deleteElasticLoadBalancer(String elbId); method deleteDNSRecord (line 102) | public void deleteDNSRecord(String dnsName, String dnsType, String hos... method createTagsForResources (line 113) | void createTagsForResources(Map keyValueMap, String...... method listAttachedVolumes (line 127) | List listAttachedVolumes(String instanceId, boolean includeRoot); method detachVolume (line 143) | void detachVolume(String instanceId, String volumeId, boolean force); method getJcloudsComputeService (line 148) | ComputeService getJcloudsComputeService(); method getJcloudsId (line 153) | String getJcloudsId(String instanceId); method connectSsh (line 164) | SshClient connectSsh(String instanceId, LoginCredentials credentials); method findSecurityGroup (line 178) | String findSecurityGroup(String instanceId, String groupName); method createSecurityGroup (line 192) | String createSecurityGroup(String instanceId, String groupName, String... method canChangeInstanceSecurityGroups (line 202) | boolean canChangeInstanceSecurityGroups(String instanceId); method setInstanceSecurityGroups (line 218) | void setInstanceSecurityGroups(String instanceId, List groupIds); FILE: src/main/java/com/netflix/simianarmy/EmailBuilder.java type EmailBuilder (line 21) | public interface EmailBuilder { method buildEmailBody (line 27) | String buildEmailBody(String emailAddress); FILE: src/main/java/com/netflix/simianarmy/EventType.java type EventType (line 23) | public interface EventType extends NamedType { FILE: src/main/java/com/netflix/simianarmy/FeatureNotEnabledException.java class FeatureNotEnabledException (line 26) | public class FeatureNotEnabledException extends Exception { method FeatureNotEnabledException (line 34) | public FeatureNotEnabledException(String msg) { FILE: src/main/java/com/netflix/simianarmy/GroupType.java type GroupType (line 23) | public interface GroupType extends NamedType { FILE: src/main/java/com/netflix/simianarmy/InstanceGroupNotFoundException.java class InstanceGroupNotFoundException (line 27) | public class InstanceGroupNotFoundException extends Exception { method InstanceGroupNotFoundException (line 39) | public InstanceGroupNotFoundException(String groupType, String groupNa... method toString (line 45) | @Override method errorMessage (line 50) | private static String errorMessage(String groupType, String groupName) { FILE: src/main/java/com/netflix/simianarmy/Monkey.java class Monkey (line 28) | public abstract class Monkey { type Context (line 36) | public interface Context { method scheduler (line 43) | MonkeyScheduler scheduler(); method calendar (line 50) | MonkeyCalendar calendar(); method cloudClient (line 57) | CloudClient cloudClient(); method recorder (line 64) | MonkeyRecorder recorder(); method reportEvent (line 73) | void reportEvent(Event evt); method resetEventReport (line 78) | void resetEventReport(); method getEventReport (line 83) | String getEventReport(); method configuration (line 90) | MonkeyConfiguration configuration(); method Monkey (line 102) | public Monkey(Context ctx) { method type (line 111) | public abstract MonkeyType type(); method doMonkeyBusiness (line 116) | public abstract void doMonkeyBusiness(); method context (line 123) | public Context context() { method run (line 130) | public void run() { method start (line 149) | public void start() { method stop (line 166) | public void stop() { FILE: src/main/java/com/netflix/simianarmy/MonkeyCalendar.java type MonkeyCalendar (line 27) | public interface MonkeyCalendar { method isMonkeyTime (line 36) | boolean isMonkeyTime(Monkey monkey); method openHour (line 43) | int openHour(); method closeHour (line 50) | int closeHour(); method now (line 57) | Calendar now(); method getBusinessDay (line 65) | Date getBusinessDay(Date date, int n); FILE: src/main/java/com/netflix/simianarmy/MonkeyConfiguration.java type MonkeyConfiguration (line 23) | public interface MonkeyConfiguration { method getBool (line 32) | boolean getBool(String property); method getBoolOrElse (line 43) | boolean getBoolOrElse(String property, boolean dflt); method getNumOrElse (line 54) | double getNumOrElse(String property, double dflt); method getStr (line 63) | String getStr(String property); method getStrOrElse (line 74) | String getStrOrElse(String property, String dflt); method reload (line 79) | void reload(); method reload (line 86) | void reload(String groupName); FILE: src/main/java/com/netflix/simianarmy/MonkeyEmailNotifier.java type MonkeyEmailNotifier (line 22) | public interface MonkeyEmailNotifier { method isValidEmail (line 29) | boolean isValidEmail(String email); method buildEmailSubject (line 36) | String buildEmailSubject(String to); method getCcAddresses (line 43) | String[] getCcAddresses(String to); method getSourceAddress (line 50) | String getSourceAddress(String to); method sendEmail (line 58) | void sendEmail(String to, String subject, String body); FILE: src/main/java/com/netflix/simianarmy/MonkeyRecorder.java type MonkeyRecorder (line 27) | public interface MonkeyRecorder { type Event (line 32) | public interface Event { method id (line 39) | String id(); method eventTime (line 46) | Date eventTime(); method monkeyType (line 53) | MonkeyType monkeyType(); method eventType (line 60) | EventType eventType(); method region (line 67) | String region(); method fields (line 75) | Map fields(); method field (line 84) | String field(String name); method addField (line 95) | Event addField(String name, String value); method newEvent (line 111) | Event newEvent(MonkeyType monkeyType, EventType eventType, String regi... method newEvent (line 113) | default Event newEvent(MonkeyType monkeyType, EventType eventType, Res... method recordEvent (line 133) | void recordEvent(Event evt); method findEvents (line 144) | List findEvents(Map query, Date after); method findEvents (line 157) | List findEvents(MonkeyType monkeyType, Map quer... method findEvents (line 172) | List findEvents(MonkeyType monkeyType, EventType eventType, Map... FILE: src/main/java/com/netflix/simianarmy/MonkeyRunner.java type MonkeyRunner (line 34) | public enum MonkeyRunner { method getInstance (line 47) | public static MonkeyRunner getInstance() { method start (line 54) | public void start() { method stop (line 64) | public void stop() { method getMonkeys (line 86) | public List getMonkeys() { method addMonkey (line 96) | public void addMonkey(Class monkeyClass) { method replaceMonkey (line 106) | public void replaceMonkey(Class monkeyClass) { method addMonkey (line 118) | public void addMonkey(Class monkeyClass, Class monkeyClass, Class monkeyClass) { method factory (line 187) | public T factory(Class monkeyClass) { method factory (line 214) | public T factory(Class monkeyClass, Class getContextClass(Class getFieldToValueMap(); method setAdditionalField (line 344) | Resource setAdditionalField(String fieldName, String fieldValue); method getAdditionalField (line 351) | String getAdditionalField(String fieldName); method getAdditionalFieldNames (line 357) | Collection getAdditionalFieldNames(); method setTag (line 364) | void setTag(String key, String value); method getTag (line 371) | String getTag(String key); method getAllTagKeys (line 377) | Collection getAllTagKeys(); method cloneResource (line 384) | Resource cloneResource(); FILE: src/main/java/com/netflix/simianarmy/ResourceType.java type ResourceType (line 23) | public interface ResourceType extends NamedType { FILE: src/main/java/com/netflix/simianarmy/aws/AWSEmailNotifier.java class AWSEmailNotifier (line 39) | public abstract class AWSEmailNotifier implements MonkeyEmailNotifier { method AWSEmailNotifier (line 53) | public AWSEmailNotifier(AmazonSimpleEmailServiceClient sesClient) { method sendEmail (line 59) | @Override method isValidEmail (line 92) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/AWSResource.java class AWSResource (line 34) | public class AWSResource implements Resource { method getFieldToValueMap (line 89) | @Override method parseFieldtoValueMap (line 121) | public static AWSResource parseFieldtoValueMap(Map fie... method getAWSResourceState (line 162) | public String getAWSResourceState() { method setAWSResourceState (line 166) | public void setAWSResourceState(String awsState) { method getId (line 171) | @Override method setId (line 177) | @Override method withId (line 183) | @Override method getResourceType (line 190) | @Override method setResourceType (line 196) | @Override method withResourceType (line 202) | @Override method getRegion (line 209) | @Override method setRegion (line 215) | @Override method withRegion (line 221) | @Override method getOwnerEmail (line 228) | @Override method setOwnerEmail (line 234) | @Override method withOwnerEmail (line 240) | @Override method getDescription (line 247) | @Override method setDescription (line 253) | @Override method withDescription (line 259) | @Override method getLaunchTime (line 266) | @Override method setLaunchTime (line 272) | @Override method withLaunchTime (line 278) | @Override method getMarkTime (line 285) | @Override method setMarkTime (line 291) | @Override method withMarkTime (line 297) | @Override method getExpectedTerminationTime (line 304) | @Override method setExpectedTerminationTime (line 310) | @Override method withExpectedTerminationTime (line 316) | @Override method getActualTerminationTime (line 323) | @Override method setActualTerminationTime (line 329) | @Override method withActualTerminationTime (line 335) | @Override method getNotificationTime (line 342) | @Override method setNotificationTime (line 348) | @Override method withNnotificationTime (line 354) | @Override method getState (line 361) | @Override method setState (line 367) | @Override method withState (line 373) | @Override method getTerminationReason (line 380) | @Override method setTerminationReason (line 386) | @Override method withTerminationReason (line 392) | @Override method isOptOutOfJanitor (line 399) | @Override method setOptOutOfJanitor (line 405) | @Override method withOptOutOfJanitor (line 411) | @Override method getCopyOfDate (line 417) | private static Date getCopyOfDate(Date date) { method putToMapIfNotNull (line 424) | private static void putToMapIfNotNull(Map map, String ... method putToMapIfNotNull (line 432) | private static void putToMapIfNotNull(Map map, String ... method putToMapIfNotNull (line 440) | private static void putToMapIfNotNull(Map map, String ... method printDate (line 448) | private static String printDate(Date date) { method setAdditionalField (line 456) | @Override method getAdditionalField (line 464) | @Override method getAdditionalFieldNames (line 469) | @Override method cloneResource (line 474) | @Override method setTag (line 502) | @Override method getTag (line 508) | @Override method getAllTagKeys (line 514) | @Override method toString (line 519) | @Override method equals (line 541) | @Override method hashCode (line 552) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/AWSResourceType.java type AWSResourceType (line 26) | public enum AWSResourceType implements ResourceType { FILE: src/main/java/com/netflix/simianarmy/aws/RDSRecorder.java class RDSRecorder (line 45) | @SuppressWarnings("serial") method RDSRecorder (line 69) | public RDSRecorder(String dbDriver, String dbUser, method RDSRecorder (line 87) | public RDSRecorder(JdbcTemplate jdbcTemplate, String table, String reg... method getJdbcTemplate (line 93) | public JdbcTemplate getJdbcTemplate() { method newEvent (line 98) | @Override method recordEvent (line 104) | @Override method findEvents (line 139) | @Override method findEvents (line 145) | @Override method findEvents (line 151) | @Override method mapEvent (line 184) | private Event mapEvent(ResultSet rs) throws SQLException { method init (line 212) | public void init() { FILE: src/main/java/com/netflix/simianarmy/aws/STSAssumeRoleSessionCredentialsProvider.java class STSAssumeRoleSessionCredentialsProvider (line 38) | public class STSAssumeRoleSessionCredentialsProvider implements AWSCrede... method STSAssumeRoleSessionCredentialsProvider (line 67) | public STSAssumeRoleSessionCredentialsProvider(String roleArn) { method STSAssumeRoleSessionCredentialsProvider (line 83) | public STSAssumeRoleSessionCredentialsProvider(String roleArn, ClientC... method STSAssumeRoleSessionCredentialsProvider (line 99) | public STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLive... method STSAssumeRoleSessionCredentialsProvider (line 116) | public STSAssumeRoleSessionCredentialsProvider(AWSCredentials longLive... method STSAssumeRoleSessionCredentialsProvider (line 135) | public STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider ... method STSAssumeRoleSessionCredentialsProvider (line 156) | public STSAssumeRoleSessionCredentialsProvider(AWSCredentialsProvider ... method getCredentials (line 162) | @Override method refresh (line 170) | @Override method startSession (line 181) | private void startSession() { method needsNewSession (line 196) | private boolean needsNewSession() { FILE: src/main/java/com/netflix/simianarmy/aws/SimpleDBRecorder.java class SimpleDBRecorder (line 54) | @SuppressWarnings("serial") type Keys (line 69) | private enum Keys { method SimpleDBRecorder (line 102) | public SimpleDBRecorder(AWSClient awsClient, String domain) { method sdbClient (line 115) | protected AmazonSimpleDB sdbClient() { method enumToValue (line 126) | public static String enumToValue(NamedType e) { method valueToEnum (line 137) | public static T valueToEnum( method newEvent (line 166) | @Override method recordEvent (line 172) | @Override method findEvents (line 204) | protected List findEvents(Map queryMap, long af... method findEvents (line 243) | @Override method findEvents (line 249) | @Override method findEvents (line 257) | @Override method init (line 268) | public void init() { FILE: src/main/java/com/netflix/simianarmy/aws/conformity/RDSConformityClusterTracker.java class RDSConformityClusterTracker (line 48) | public class RDSConformityClusterTracker implements ConformityClusterTra... method RDSConformityClusterTracker (line 63) | public RDSConformityClusterTracker(String dbDriver, String dbUser, method RDSConformityClusterTracker (line 80) | public RDSConformityClusterTracker(JdbcTemplate jdbcTemplate, String t... method getJdbcTemplate (line 85) | public JdbcTemplate getJdbcTemplate() { method value (line 89) | public Object value(String value) { method value (line 93) | public Object value(Date value) { method value (line 97) | public Object value(boolean value) { method emailValue (line 101) | public Object emailValue(String email) { method addOrUpdate (line 108) | @Override method conformitiesAsMap (line 176) | private HashMap conformitiesAsMap(Cluster cluster) { method getAllClusters (line 190) | @Override method getNonconformingClusters (line 195) | @Override method getCluster (line 200) | @Override method mapResource (line 223) | private Cluster mapResource(ResultSet rs) throws SQLException { method millisToFormattedDate (line 246) | private String millisToFormattedDate(String millisStr) { method conformityMapFromJson (line 257) | private HashMap conformityMapFromJson(String json) thro... method deleteClusters (line 275) | @Override method getClusters (line 287) | private List getClusters(Boolean conforming, String... region... method init (line 320) | public void init() { FILE: src/main/java/com/netflix/simianarmy/aws/conformity/SimpleDBConformityClusterTracker.java class SimpleDBConformityClusterTracker (line 45) | public class SimpleDBConformityClusterTracker implements ConformityClust... method SimpleDBConformityClusterTracker (line 66) | public SimpleDBConformityClusterTracker(AWSClient awsClient, String do... method getSimpleDBClient (line 77) | protected AmazonSimpleDB getSimpleDBClient() { method addOrUpdate (line 82) | @Override method getAllClusters (line 103) | @Override method getNonconformingClusters (line 108) | @Override method getCluster (line 113) | @Override method deleteClusters (line 140) | @Override method getClusters (line 151) | private List getClusters(Boolean conforming, String... region... method parseCluster (line 190) | protected Cluster parseCluster(Item item) { method getSimpleDBItemName (line 208) | protected String getSimpleDBItemName(Cluster cluster) { method querySimpleDBItems (line 212) | private List querySimpleDBItems(String query) { FILE: src/main/java/com/netflix/simianarmy/aws/conformity/crawler/AWSClusterCrawler.java class AWSClusterCrawler (line 44) | public class AWSClusterCrawler implements ClusterCrawler { method AWSClusterCrawler (line 61) | public AWSClusterCrawler(Map regionToAwsClient, Mon... method clusters (line 76) | @Override method updateCluster (line 137) | private void updateCluster(Cluster cluster) { method getOwnerEmailForCluster (line 155) | @Override method updateExcludedConformityRules (line 176) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/BasicConformityEurekaClient.java class BasicConformityEurekaClient (line 33) | public class BasicConformityEurekaClient implements ConformityEurekaClie... method BasicConformityEurekaClient (line 42) | public BasicConformityEurekaClient(DiscoveryClient discoveryClient) { method hasHealthCheckUrl (line 46) | @Override method hasStatusUrl (line 58) | @Override method isHealthy (line 70) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/ConformityEurekaClient.java type ConformityEurekaClient (line 23) | public interface ConformityEurekaClient { method hasHealthCheckUrl (line 30) | boolean hasHealthCheckUrl(String region, String instanceId); method hasStatusUrl (line 38) | boolean hasStatusUrl(String region, String instanceId); method isHealthy (line 46) | boolean isHealthy(String region, String instanceId); FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/CrossZoneLoadBalancing.java class CrossZoneLoadBalancing (line 44) | public class CrossZoneLoadBalancing implements ConformityRule { method CrossZoneLoadBalancing (line 58) | public CrossZoneLoadBalancing() { method CrossZoneLoadBalancing (line 66) | public CrossZoneLoadBalancing(AWSCredentialsProvider awsCredentialsPro... method check (line 70) | @Override method isCrossZoneLoadBalancingEnabled (line 96) | protected boolean isCrossZoneLoadBalancingEnabled(String region, Strin... method getName (line 101) | @Override method getNonconformingReason (line 106) | @Override method getLoadBalancerNamesForAsg (line 117) | protected List getLoadBalancerNamesForAsg(String region, Strin... method getAwsClient (line 128) | private AWSClient getAwsClient(String region) { FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceHasHealthCheckUrl.java class InstanceHasHealthCheckUrl (line 35) | public class InstanceHasHealthCheckUrl implements ConformityRule { method InstanceHasHealthCheckUrl (line 48) | public InstanceHasHealthCheckUrl(ConformityEurekaClient conformityEure... method check (line 53) | @Override method getName (line 71) | @Override method getNonconformingReason (line 76) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceHasStatusUrl.java class InstanceHasStatusUrl (line 34) | public class InstanceHasStatusUrl implements ConformityRule { method InstanceHasStatusUrl (line 47) | public InstanceHasStatusUrl(ConformityEurekaClient conformityEurekaCli... method check (line 52) | @Override method getName (line 70) | @Override method getNonconformingReason (line 75) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceInSecurityGroup.java class InstanceInSecurityGroup (line 45) | public class InstanceInSecurityGroup implements ConformityRule { method InstanceInSecurityGroup (line 60) | public InstanceInSecurityGroup(String... requiredSecurityGroupNames) { method InstanceInSecurityGroup (line 71) | public InstanceInSecurityGroup(AWSCredentialsProvider awsCredentialsPr... method check (line 83) | @Override method getName (line 105) | @Override method getNonconformingReason (line 110) | @Override method checkSecurityGroups (line 124) | protected boolean checkSecurityGroups(Collection sgNames) { method getInstanceSecurityGroups (line 144) | protected Map> getInstanceSecurityGroups(String r... FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceInVPC.java class InstanceInVPC (line 43) | public class InstanceInVPC implements ConformityRule { method InstanceInVPC (line 58) | public InstanceInVPC() { method InstanceInVPC (line 67) | public InstanceInVPC(AWSCredentialsProvider awsCredentialsProvider) { method check (line 71) | @Override method getName (line 88) | @Override method getNonconformingReason (line 93) | @Override method getAwsClient (line 98) | private AWSClient getAwsClient(String region) { method checkInstancesInVPC (line 107) | private Set checkInstancesInVPC(String region, Collection getAWSInstances(String region, String instanc... FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceIsHealthyInEureka.java class InstanceIsHealthyInEureka (line 34) | public class InstanceIsHealthyInEureka implements ConformityRule { method InstanceIsHealthyInEureka (line 47) | public InstanceIsHealthyInEureka(ConformityEurekaClient conformityEure... method check (line 52) | @Override method getName (line 71) | @Override method getNonconformingReason (line 76) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/InstanceTooOld.java class InstanceTooOld (line 44) | public class InstanceTooOld implements ConformityRule { method InstanceTooOld (line 58) | public InstanceTooOld(int instanceAgeThreshold) { method InstanceTooOld (line 69) | public InstanceTooOld(AWSCredentialsProvider awsCredentialsProvider, i... method check (line 76) | @Override method getName (line 98) | @Override method getNonconformingReason (line 103) | @Override method getInstanceLaunchTimes (line 119) | protected Map getInstanceLaunchTimes(String region, Stri... FILE: src/main/java/com/netflix/simianarmy/aws/conformity/rule/SameZonesInElbAndAsg.java class SameZonesInElbAndAsg (line 41) | public class SameZonesInElbAndAsg implements ConformityRule { method SameZonesInElbAndAsg (line 55) | public SameZonesInElbAndAsg() { method SameZonesInElbAndAsg (line 63) | public SameZonesInElbAndAsg(AWSCredentialsProvider awsCredentialsProvi... method check (line 67) | @Override method getName (line 88) | @Override method getNonconformingReason (line 93) | @Override method getLoadBalancerNamesForAsg (line 104) | protected List getLoadBalancerNamesForAsg(String region, Strin... method getAvailabilityZonesForAsg (line 121) | protected List getAvailabilityZonesForAsg(String region, Strin... method getAvailabilityZonesForLoadBalancer (line 138) | protected List getAvailabilityZonesForLoadBalancer(String regi... method getAwsClient (line 149) | private AWSClient getAwsClient(String region) { method haveSameZones (line 159) | private boolean haveSameZones(List zones1, List zones2) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/ASGJanitor.java class ASGJanitor (line 32) | public class ASGJanitor extends AbstractJanitor { method ASGJanitor (line 44) | public ASGJanitor(AWSClient awsClient, AbstractJanitor.Context ctx) { method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/EBSSnapshotJanitor.java class EBSSnapshotJanitor (line 32) | public class EBSSnapshotJanitor extends AbstractJanitor { method EBSSnapshotJanitor (line 44) | public EBSSnapshotJanitor(AWSClient awsClient, AbstractJanitor.Context... method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/EBSVolumeJanitor.java class EBSVolumeJanitor (line 32) | public class EBSVolumeJanitor extends AbstractJanitor { method EBSVolumeJanitor (line 44) | public EBSVolumeJanitor(AWSClient awsClient, AbstractJanitor.Context c... method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/ELBJanitor.java class ELBJanitor (line 33) | public class ELBJanitor extends AbstractJanitor { method ELBJanitor (line 45) | public ELBJanitor(AWSClient awsClient, Context ctx) { method postMark (line 51) | @Override method cleanup (line 55) | @Override method postCleanup (line 88) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/ImageJanitor.java class ImageJanitor (line 32) | public class ImageJanitor extends AbstractJanitor { method ImageJanitor (line 44) | public ImageJanitor(AWSClient awsClient, AbstractJanitor.Context ctx) { method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/InstanceJanitor.java class InstanceJanitor (line 32) | public class InstanceJanitor extends AbstractJanitor { method InstanceJanitor (line 44) | public InstanceJanitor(AWSClient awsClient, AbstractJanitor.Context ct... method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/LaunchConfigJanitor.java class LaunchConfigJanitor (line 32) | public class LaunchConfigJanitor extends AbstractJanitor { method LaunchConfigJanitor (line 44) | public LaunchConfigJanitor(AWSClient awsClient, AbstractJanitor.Contex... method postMark (line 50) | @Override method cleanup (line 54) | @Override method postCleanup (line 60) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/RDSJanitorResourceTracker.java class RDSJanitorResourceTracker (line 46) | public class RDSJanitorResourceTracker implements JanitorResourceTracker { method RDSJanitorResourceTracker (line 61) | public RDSJanitorResourceTracker(String dbDriver, String dbUser, method RDSJanitorResourceTracker (line 78) | public RDSJanitorResourceTracker(JdbcTemplate jdbcTemplate, String tab... method getJdbcTemplate (line 83) | public JdbcTemplate getJdbcTemplate() { method value (line 87) | public Object value(String value) { method value (line 91) | public Object value(Date value) { method value (line 95) | public Object value(boolean value) { method emailValue (line 99) | public Object emailValue(String email) { method addOrUpdate (line 106) | @Override method getResources (line 200) | @Override method mapResource (line 226) | private Resource mapResource(ResultSet rs) throws SQLException { method millisToFormattedDate (line 283) | private String millisToFormattedDate(String millisStr) { method getResource (line 294) | @Override method getResource (line 317) | @Override method init (line 344) | public void init() { method additionalFieldsAsMap (line 385) | private HashMap additionalFieldsAsMap(Resource resourc... FILE: src/main/java/com/netflix/simianarmy/aws/janitor/SimpleDBJanitorResourceTracker.java class SimpleDBJanitorResourceTracker (line 40) | public class SimpleDBJanitorResourceTracker implements JanitorResourceTr... method SimpleDBJanitorResourceTracker (line 59) | public SimpleDBJanitorResourceTracker(AWSClient awsClient, String doma... method getSimpleDBClient (line 68) | protected AmazonSimpleDB getSimpleDBClient() { method addOrUpdate (line 73) | @Override method getResources (line 92) | @Override method getResource (line 123) | @Override method getResource (line 148) | @Override method parseResource (line 179) | protected Resource parseResource(Item item) { method getSimpleDBItemName (line 197) | protected String getSimpleDBItemName(Resource resource) { method querySimpleDBItems (line 201) | private List querySimpleDBItems(String query) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/VolumeTaggingMonkey.java class VolumeTaggingMonkey (line 55) | public class VolumeTaggingMonkey extends Monkey { type Context (line 63) | public interface Context extends Monkey.Context { method configuration (line 69) | @Override method awsClients (line 77) | Collection awsClients(); method VolumeTaggingMonkey (line 91) | public VolumeTaggingMonkey(Context ctx) { type Type (line 113) | public enum Type implements MonkeyType { type EventTypes (line 121) | public enum EventTypes implements EventType { method type (line 126) | @Override method doMonkeyBusiness (line 131) | @Override method tagVolumesWithLatestAttachment (line 144) | private void tagVolumesWithLatestAttachment(AWSClient awsClient) { method getOwnerEmail (line 205) | private String getOwnerEmail(String instanceId, Map ja... method parseJanitorTag (line 229) | private static Map parseJanitorTag(List tags) { method parseJanitorMetaTag (line 239) | public static Map parseJanitorMetaTag(String janitorMe... method getOwnerEmailDomain (line 256) | protected String getOwnerEmailDomain() { method updateJanitorMetaTag (line 260) | private Event updateJanitorMetaTag(Volume volume, String instance, Str... method makeMetaTag (line 292) | public static String makeMetaTag(String instance, String owner, Date l... method getTagValue (line 302) | private static String getTagValue(String key, List tags) { method needsUpdate (line 315) | private static boolean needsUpdate(Map metadata, FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/ASGJanitorCrawler.java class ASGJanitorCrawler (line 51) | public class ASGJanitorCrawler extends AbstractAWSJanitorCrawler { method ASGJanitorCrawler (line 91) | public ASGJanitorCrawler(AWSClient awsClient) { method resourceTypes (line 95) | @Override method resources (line 100) | @Override method resources (line 108) | @Override method getASGResources (line 113) | private List getASGResources(String... asgNames) { method getSuspensionTimeString (line 172) | private String getSuspensionTimeString(String suspensionReason) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/AbstractAWSJanitorCrawler.java class AbstractAWSJanitorCrawler (line 30) | public abstract class AbstractAWSJanitorCrawler implements JanitorCrawler { method AbstractAWSJanitorCrawler (line 38) | public AbstractAWSJanitorCrawler(AWSClient awsClient) { method getOwnerEmailForResource (line 48) | @Override method getAWSClient (line 58) | protected AWSClient getAWSClient() { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/EBSSnapshotJanitorCrawler.java class EBSSnapshotJanitorCrawler (line 49) | public class EBSSnapshotJanitorCrawler extends AbstractAWSJanitorCrawler { method EBSSnapshotJanitorCrawler (line 66) | public EBSSnapshotJanitorCrawler(AWSClient awsClient) { method resourceTypes (line 70) | @Override method resources (line 75) | @Override method resources (line 83) | @Override method getSnapshotResources (line 88) | private List getSnapshotResources(String... snapshotIds) { method getOwnerEmailForResource (line 114) | @Override method getAMIsForSnapshot (line 128) | protected Collection getAMIsForSnapshot(String snapshotId) { method refreshSnapshotToAMIs (line 137) | private void refreshSnapshotToAMIs() { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/EBSVolumeJanitorCrawler.java class EBSVolumeJanitorCrawler (line 43) | public class EBSVolumeJanitorCrawler extends AbstractAWSJanitorCrawler { method EBSVolumeJanitorCrawler (line 52) | public EBSVolumeJanitorCrawler(AWSClient awsClient) { method resourceTypes (line 56) | @Override method resources (line 61) | @Override method resources (line 69) | @Override method getVolumeResources (line 74) | private List getVolumeResources(String... volumeIds) { method getVolumeDescription (line 96) | private String getVolumeDescription(Volume volume) { method getOwnerEmailForResource (line 106) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/ELBJanitorCrawler.java class ELBJanitorCrawler (line 40) | public class ELBJanitorCrawler extends AbstractAWSJanitorCrawler { method ELBJanitorCrawler (line 50) | public ELBJanitorCrawler(AWSClient awsClient) { method resourceTypes (line 54) | @Override method resources (line 59) | @Override method resources (line 67) | @Override method getELBResources (line 72) | private List getELBResources(String... elbNames) { method buildELBtoASGMap (line 127) | private Map> buildELBtoASGMap() { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/InstanceJanitorCrawler.java class InstanceJanitorCrawler (line 43) | public class InstanceJanitorCrawler extends AbstractAWSJanitorCrawler { method InstanceJanitorCrawler (line 59) | public InstanceJanitorCrawler(AWSClient awsClient) { method resourceTypes (line 63) | @Override method resources (line 68) | @Override method resources (line 76) | @Override method getInstanceResources (line 81) | private List getInstanceResources(String... instanceIds) { method getAsgName (line 120) | private String getAsgName(Resource instanceResource, Map getLaunchConfigResources(String... launchConfig... FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaASGJanitorCrawler.java class EddaASGJanitorCrawler (line 50) | public class EddaASGJanitorCrawler implements JanitorCrawler { method EddaASGJanitorCrawler (line 93) | public EddaASGJanitorCrawler(EddaClient eddaClient, String... regions) { method resourceTypes (line 102) | @Override method resources (line 107) | @Override method resources (line 115) | @Override method getOwnerEmailForResource (line 120) | @Override method getASGResources (line 126) | private List getASGResources(String... asgNames) { method getASGResourcesInRegion (line 135) | private List getASGResourcesInRegion(String region, String..... method parseJsonElementToresource (line 166) | private Resource parseJsonElementToresource(String region, JsonNode js... method getLaunchConfigCreationTimes (line 245) | private Map getLaunchConfigCreationTimes(String region) { method getSuspensionTimeString (line 271) | private String getSuspensionTimeString(String suspensionReason) { method refreshAsgLastChangeTime (line 282) | private void refreshAsgLastChangeTime() { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaEBSSnapshotJanitorCrawler.java class EddaEBSSnapshotJanitorCrawler (line 47) | public class EddaEBSSnapshotJanitorCrawler implements JanitorCrawler { method EddaEBSSnapshotJanitorCrawler (line 73) | public EddaEBSSnapshotJanitorCrawler(String defaultOwnerId, EddaClient... method resourceTypes (line 83) | @Override method resources (line 88) | @Override method resources (line 96) | @Override method getSnapshotResources (line 101) | private List getSnapshotResources(String... snapshotIds) { method getSnapshotResourcesInRegion (line 109) | private List getSnapshotResourcesInRegion(String region, Str... method parseJsonElementToSnapshotResource (line 148) | private Resource parseJsonElementToSnapshotResource(String region, Jso... method getOwnerEmailForResource (line 181) | @Override method getAMIsForSnapshot (line 191) | protected Collection getAMIsForSnapshot(String snapshotId) { method refreshSnapshotToAMIs (line 200) | private void refreshSnapshotToAMIs(String region) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaEBSVolumeJanitorCrawler.java class EddaEBSVolumeJanitorCrawler (line 46) | public class EddaEBSVolumeJanitorCrawler implements JanitorCrawler { method EddaEBSVolumeJanitorCrawler (line 84) | public EddaEBSVolumeJanitorCrawler(EddaClient eddaClient, String... re... method updateInstanceToOwner (line 95) | private void updateInstanceToOwner(String region) { method resourceTypes (line 132) | @Override method resources (line 137) | @Override method resources (line 145) | @Override method getOwnerEmailForResource (line 150) | @Override method getVolumeResources (line 156) | private List getVolumeResources(String... volumeIds) { method getUnattachedVolumeResourcesInRegion (line 171) | private List getUnattachedVolumeResourcesInRegion(String reg... method parseJsonElementToVolumeResource (line 200) | private Resource parseJsonElementToVolumeResource(String region, JsonN... method addLastAttachmentInfo (line 239) | private void addLastAttachmentInfo(List resources) { method setAttachmentInfo (line 308) | private void setAttachmentInfo(String volumeId, JsonNode attachment, D... method makeMetaTag (line 334) | private String makeMetaTag(String instance, String owner, DateTime las... method getBatchUrl (line 345) | private String getBatchUrl(String region, List batch) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaELBJanitorCrawler.java class EddaELBJanitorCrawler (line 42) | public class EddaELBJanitorCrawler implements JanitorCrawler { class DNSEntry (line 44) | class DNSEntry { method EddaELBJanitorCrawler (line 69) | public EddaELBJanitorCrawler(EddaClient eddaClient, String fallbackOwn... method resourceTypes (line 80) | @Override method resources (line 85) | @Override method resources (line 93) | @Override method getOwnerEmailForResource (line 98) | @Override method getELBResources (line 120) | private List getELBResources(String... instanceIds) { method getELBResourcesInRegion (line 132) | private List getELBResourcesInRegion(String region, String..... method buildELBtoASGMap (line 205) | private Map> buildELBtoASGMap(String region) { method parseJsonElementToELBResource (line 246) | private Resource parseJsonElementToELBResource(String region, JsonNode... method buildELBtoDNSMap (line 299) | private Map> buildELBtoDNSMap(String region) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaImageJanitorCrawler.java class EddaImageJanitorCrawler (line 49) | public class EddaImageJanitorCrawler implements JanitorCrawler { method EddaImageJanitorCrawler (line 91) | public EddaImageJanitorCrawler(EddaClient eddaClient, String ownerId, ... method resourceTypes (line 103) | @Override method resources (line 108) | @Override method resources (line 116) | @Override method getOwnerEmailForResource (line 121) | @Override method getAMIResources (line 127) | private List getAMIResources(String... imageIds) { method getExcludedImageIds (line 156) | protected Collection getExcludedImageIds() { method getImagesInJson (line 160) | private JsonNode getImagesInJson(String region, String... imageIds) { method refreshIdToNameMap (line 190) | private void refreshIdToNameMap() { method refreshIdToCreationTime (line 208) | private void refreshIdToCreationTime() { method getAMIResourcesInRegion (line 246) | private List getAMIResourcesInRegion(String region, method parseJsonElementToresource (line 287) | private Resource parseJsonElementToresource(String region, JsonNode js... method refreshAMIsUsedByInstance (line 331) | private void refreshAMIsUsedByInstance() { method refreshAMIsUsedByLC (line 360) | private void refreshAMIsUsedByLC() { method addLastReferenceInfo (line 389) | private void addLastReferenceInfo(List resources, long since) { method updateReferenceTimeByInstance (line 414) | private void updateReferenceTimeByInstance(String region, List batch... method getLaunchConfigBatchUrl (line 498) | private String getLaunchConfigBatchUrl(String region, List b... method getImageIdsString (line 507) | private String getImageIdsString(List resources) { method getBaseAmiIdFromDescription (line 521) | private static String getBaseAmiIdFromDescription(String imageDescript... FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaInstanceJanitorCrawler.java class EddaInstanceJanitorCrawler (line 53) | public class EddaInstanceJanitorCrawler implements JanitorCrawler { method EddaInstanceJanitorCrawler (line 74) | public EddaInstanceJanitorCrawler(EddaClient eddaClient, String... reg... method resourceTypes (line 83) | @Override method resources (line 88) | @Override method resources (line 96) | @Override method getOwnerEmailForResource (line 101) | @Override method getInstanceResources (line 107) | private List getInstanceResources(String... instanceIds) { method getInstanceResourcesInRegion (line 115) | private List getInstanceResourcesInRegion(String region, Str... method parseJsonElementToInstanceResource (line 148) | private Resource parseJsonElementToInstanceResource(String region, Jso... method refreshAsgInstances (line 201) | private void refreshAsgInstances() { method refreshOwnerByImage (line 237) | private void refreshOwnerByImage(String region, List resourc... FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaLaunchConfigJanitorCrawler.java class EddaLaunchConfigJanitorCrawler (line 46) | public class EddaLaunchConfigJanitorCrawler implements JanitorCrawler { method EddaLaunchConfigJanitorCrawler (line 66) | public EddaLaunchConfigJanitorCrawler(EddaClient eddaClient, String...... method resourceTypes (line 75) | @Override method resources (line 80) | @Override method resources (line 88) | @Override method getLaunchConfigResources (line 93) | private List getLaunchConfigResources(String... launchConfig... method getOwnerEmailForResource (line 101) | @Override method getLaunchConfigResourcesInRegion (line 107) | private List getLaunchConfigResourcesInRegion(String region,... method getLaunchConfigsInUse (line 153) | private Set getLaunchConfigsInUse(String region) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/crawler/edda/EddaUtils.java class EddaUtils (line 35) | public class EddaUtils { method getAllApplicationOwnerEmails (line 39) | public static Map getAllApplicationOwnerEmails(EddaCli... FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/ami/UnusedImageRule.java class UnusedImageRule (line 36) | public class UnusedImageRule implements Rule { method UnusedImageRule (line 55) | public UnusedImageRule(MonkeyCalendar calendar, int retentionDays, int... method isValid (line 64) | @Override method getRefTimeInMilis (line 106) | private long getRefTimeInMilis(Resource resource, String field) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/asg/ASGInstanceValidator.java type ASGInstanceValidator (line 26) | public interface ASGInstanceValidator { method hasActiveInstance (line 32) | boolean hasActiveInstance(Resource resource); FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/asg/DiscoveryASGInstanceValidator.java class DiscoveryASGInstanceValidator (line 38) | public class DiscoveryASGInstanceValidator implements ASGInstanceValidat... method DiscoveryASGInstanceValidator (line 48) | public DiscoveryASGInstanceValidator(DiscoveryClient discoveryClient) { method hasActiveInstance (line 54) | @Override method isActiveInstance (line 88) | private boolean isActiveInstance(String instanceId) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/asg/DummyASGInstanceValidator.java class DummyASGInstanceValidator (line 29) | public class DummyASGInstanceValidator implements ASGInstanceValidator { method hasActiveInstance (line 34) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/asg/OldEmptyASGRule.java class OldEmptyASGRule (line 39) | public class OldEmptyASGRule implements Rule { method OldEmptyASGRule (line 63) | public OldEmptyASGRule(MonkeyCalendar calendar, int launchConfigAgeThr... method OldEmptyASGRule (line 84) | public OldEmptyASGRule(MonkeyCalendar calendar, int launchConfigAgeThr... method isValid (line 99) | @Override method markResource (line 155) | private void markResource(Resource resource, DateTime now) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/asg/SuspendedASGRule.java class SuspendedASGRule (line 38) | public class SuspendedASGRule implements Rule { method SuspendedASGRule (line 62) | public SuspendedASGRule(MonkeyCalendar calendar, int suspensionAgeThre... method isValid (line 75) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/elb/OrphanedELBRule.java class OrphanedELBRule (line 36) | public class OrphanedELBRule implements Rule { method OrphanedELBRule (line 53) | public OrphanedELBRule(MonkeyCalendar calendar, int retentionDays) { method isValid (line 60) | @Override method markResource (line 90) | private void markResource(Resource resource) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/TagValueExclusionRule.java class TagValueExclusionRule (line 37) | public class TagValueExclusionRule implements Rule { method TagValueExclusionRule (line 49) | public TagValueExclusionRule(Map tags) { method TagValueExclusionRule (line 64) | public TagValueExclusionRule(String[] names, String[] values) { method isValid (line 73) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/UntaggedRule.java class UntaggedRule (line 39) | public class UntaggedRule implements Rule { method UntaggedRule (line 63) | public UntaggedRule(MonkeyCalendar calendar, Set tagNames, int... method isValid (line 72) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/instance/OrphanedInstanceRule.java class OrphanedInstanceRule (line 39) | public class OrphanedInstanceRule implements Rule { method OrphanedInstanceRule (line 73) | public OrphanedInstanceRule(MonkeyCalendar calendar, method OrphanedInstanceRule (line 86) | public OrphanedInstanceRule(MonkeyCalendar calendar, method isValid (line 91) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/launchconfig/OldUnusedLaunchConfigRule.java class OldUnusedLaunchConfigRule (line 39) | public class OldUnusedLaunchConfigRule implements Rule { method OldUnusedLaunchConfigRule (line 62) | public OldUnusedLaunchConfigRule(MonkeyCalendar calendar, int ageThres... method isValid (line 71) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/snapshot/NoGeneratedAMIRule.java class NoGeneratedAMIRule (line 42) | public class NoGeneratedAMIRule implements Rule { method NoGeneratedAMIRule (line 71) | public NoGeneratedAMIRule(MonkeyCalendar calendar, int ageThreshold, i... method NoGeneratedAMIRule (line 89) | public NoGeneratedAMIRule(MonkeyCalendar calendar, int ageThreshold, i... method isValid (line 99) | @Override method hasGeneratedImage (line 165) | protected boolean hasGeneratedImage(Resource resource) { FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/volume/DeleteOnTerminationRule.java class DeleteOnTerminationRule (line 42) | public class DeleteOnTerminationRule implements Rule { method DeleteOnTerminationRule (line 68) | public DeleteOnTerminationRule(MonkeyCalendar calendar, int retentionD... method isValid (line 75) | @Override FILE: src/main/java/com/netflix/simianarmy/aws/janitor/rule/volume/OldDetachedVolumeRule.java class OldDetachedVolumeRule (line 42) | public class OldDetachedVolumeRule implements Rule { method OldDetachedVolumeRule (line 68) | public OldDetachedVolumeRule(MonkeyCalendar calendar, int detachDaysTh... method isValid (line 77) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/BasicCalendar.java class BasicCalendar (line 38) | public class BasicCalendar implements MonkeyCalendar { method BasicCalendar (line 64) | public BasicCalendar(MonkeyConfiguration cfg) { method BasicCalendar (line 81) | public BasicCalendar(int open, int close, TimeZone timezone) { method BasicCalendar (line 97) | public BasicCalendar(MonkeyConfiguration cfg, int open, int close, Tim... method openHour (line 105) | @Override method closeHour (line 111) | @Override method now (line 117) | @Override method isMonkeyTime (line 123) | @Override method isHoliday (line 164) | protected boolean isHoliday(Calendar now) { method loadHolidays (line 177) | protected void loadHolidays(int year) { method dayOfYear (line 238) | protected int dayOfYear(int year, int month, int day) { method dayOfYear (line 259) | protected int dayOfYear(int year, int month, int dayOfWeek, int weekIn... method workDayInYear (line 279) | protected int workDayInYear(int year, int month, int day) { method getBusinessDay (line 298) | @Override method isWeekend (line 309) | private boolean isWeekend(Calendar calendar) { FILE: src/main/java/com/netflix/simianarmy/basic/BasicChaosMonkeyContext.java class BasicChaosMonkeyContext (line 39) | public class BasicChaosMonkeyContext extends BasicSimianArmyContext impl... method BasicChaosMonkeyContext (line 53) | public BasicChaosMonkeyContext() { method chaosCrawler (line 70) | @Override method setChaosCrawler (line 81) | protected void setChaosCrawler(ChaosCrawler chaosCrawler) { method chaosInstanceSelector (line 86) | @Override method setChaosInstanceSelector (line 97) | protected void setChaosInstanceSelector(ChaosInstanceSelector chaosIns... method chaosEmailNotifier (line 101) | @Override method setChaosEmailNotifier (line 112) | protected void setChaosEmailNotifier(ChaosEmailNotifier notifier) { FILE: src/main/java/com/netflix/simianarmy/basic/BasicConfiguration.java class BasicConfiguration (line 28) | public class BasicConfiguration implements MonkeyConfiguration { method BasicConfiguration (line 41) | public BasicConfiguration(Properties props) { method getBool (line 46) | @Override method getBoolOrElse (line 52) | @Override method getNumOrElse (line 63) | @Override method getStr (line 78) | @Override method getStrOrElse (line 84) | @Override method reload (line 91) | @Override method reload (line 96) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/BasicMonkeyServer.java class BasicMonkeyServer (line 41) | @SuppressWarnings("serial") method addMonkeysToRun (line 50) | @SuppressWarnings("unchecked") method init (line 74) | @Override method configureClient (line 87) | @SuppressWarnings("rawtypes") method loadClientClass (line 98) | @SuppressWarnings("rawtypes") method loadClientConfigProperties (line 122) | private Properties loadClientConfigProperties() throws ServletException { method destroy (line 144) | @SuppressWarnings("unchecked") FILE: src/main/java/com/netflix/simianarmy/basic/BasicRecorderEvent.java class BasicRecorderEvent (line 32) | public class BasicRecorderEvent implements MonkeyRecorder.Event { method BasicRecorderEvent (line 64) | public BasicRecorderEvent(MonkeyType monkeyType, EventType eventType, ... method BasicRecorderEvent (line 86) | public BasicRecorderEvent(MonkeyType monkeyType, EventType eventType, ... method id (line 95) | public String id() { method region (line 100) | public String region() { method eventTime (line 105) | public Date eventTime() { method monkeyType (line 110) | public MonkeyType monkeyType() { method eventType (line 115) | public EventType eventType() { method fields (line 120) | public Map fields() { method field (line 125) | public String field(String name) { method addFields (line 136) | public MonkeyRecorder.Event addFields(Map toAdd) { method addField (line 142) | public MonkeyRecorder.Event addField(String name, String value) { FILE: src/main/java/com/netflix/simianarmy/basic/BasicScheduler.java class BasicScheduler (line 40) | public class BasicScheduler implements MonkeyScheduler { method BasicScheduler (line 60) | public BasicScheduler() { method BasicScheduler (line 74) | public BasicScheduler(int freq, TimeUnit freqUnit, int concurrent) { method frequency (line 81) | @Override method frequencyUnit (line 87) | @Override method start (line 93) | @Override method stop (line 121) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/BasicSimianArmyContext.java class BasicSimianArmyContext (line 50) | public class BasicSimianArmyContext implements Monkey.Context { method BasicSimianArmyContext (line 108) | protected BasicSimianArmyContext(String... configFiles) { method isSafeToLog (line 181) | protected boolean isSafeToLog(Object propertyKey) { method loadConfigurationFileIntoProperties (line 188) | protected void loadConfigurationFileIntoProperties(String propertyFile... method createScheduler (line 206) | private void createScheduler() { method createRecorder (line 213) | @SuppressWarnings("unchecked") method createCalendar (line 239) | @SuppressWarnings("unchecked") method createClient (line 254) | protected void createClient() { method createClient (line 263) | protected void createClient(String clientRegion) { method awsClient (line 272) | public AWSClient awsClient() { method region (line 280) | public String region() { method accountName (line 288) | public String accountName() { method reportEvent (line 292) | @Override method resetEventReport (line 297) | @Override method getEventReport (line 302) | @Override method exportCredentials (line 327) | public void exportCredentials(String accountKey, String secretKey) { method scheduler (line 333) | @Override method setScheduler (line 344) | protected void setScheduler(MonkeyScheduler scheduler) { method calendar (line 349) | @Override method setCalendar (line 360) | protected void setCalendar(MonkeyCalendar calendar) { method configuration (line 365) | @Override method setConfiguration (line 376) | protected void setConfiguration(MonkeyConfiguration configuration) { method cloudClient (line 381) | @Override method setCloudClient (line 392) | protected void setCloudClient(CloudClient cloudClient) { method recorder (line 397) | @Override method setRecorder (line 408) | protected void setRecorder(MonkeyRecorder recorder) { method getProperties (line 416) | protected Properties getProperties() { method getAwsCredentialsProvider (line 424) | public AWSCredentialsProvider getAwsCredentialsProvider() { method getAwsClientConfig (line 432) | public ClientConfiguration getAwsClientConfig() { method loadClientClass (line 443) | @SuppressWarnings("rawtypes") method factory (line 469) | private T factory(Class implClass) { FILE: src/main/java/com/netflix/simianarmy/basic/LocalDbRecorder.java class LocalDbRecorder (line 49) | public class LocalDbRecorder implements MonkeyRecorder { method LocalDbRecorder (line 66) | public LocalDbRecorder(MonkeyConfiguration configuration) { method init (line 74) | private synchronized void init() { method tempDbFile (line 94) | private static File tempDbFile() { method newEvent (line 107) | @Override method recordEvent (line 117) | @Override method findEvents (line 133) | @Override method findEvents (line 160) | @Override method findEvents (line 171) | @Override method toKey (line 180) | private Fun.Tuple2 toKey(Date date) { class MapDbRecorderEvent (line 187) | public static class MapDbRecorderEvent implements MonkeyRecorder.Event... method MapDbRecorderEvent (line 214) | public MapDbRecorderEvent(MonkeyType monkeyType, EventType eventType, method MapDbRecorderEvent (line 230) | public MapDbRecorderEvent(MonkeyType monkeyType, EventType eventType, method id (line 242) | @Override method eventTime (line 250) | @Override method monkeyType (line 258) | @Override method eventType (line 266) | @Override method region (line 274) | @Override method fields (line 282) | @Override method field (line 290) | @Override method addField (line 298) | @Override method main (line 309) | public static void main(String[] args) { FILE: src/main/java/com/netflix/simianarmy/basic/calendars/BavarianCalendar.java class BavarianCalendar (line 31) | public class BavarianCalendar extends BasicCalendar method BavarianCalendar (line 38) | public BavarianCalendar(MonkeyConfiguration cfg) method loadHolidays (line 44) | @Override method getHolidayWithBridgeDays (line 114) | private Collection getHolidayWithBridgeDays(int year, int day... method westernEasterDayOfYear (line 140) | protected int westernEasterDayOfYear(int year) { FILE: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosEmailNotifier.java class BasicChaosEmailNotifier (line 36) | public class BasicChaosEmailNotifier extends ChaosEmailNotifier { method BasicChaosEmailNotifier (line 53) | public BasicChaosEmailNotifier(MonkeyConfiguration cfg, AmazonSimpleEm... method sendTerminationGlobalNotification (line 68) | @Override method sendTerminationNotification (line 86) | @Override method getOwnerEmail (line 98) | protected String getOwnerEmail(InstanceGroup group) { method buildAndSendEmail (line 121) | public void buildAndSendEmail(String to, InstanceGroup group, String i... method buildEmailSubject (line 136) | @Override method buildEmailBody (line 153) | public String buildEmailBody(InstanceGroup group, String instanceId, C... method getCcAddresses (line 167) | @Override method getSourceAddress (line 172) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosInstanceSelector.java class BasicChaosInstanceSelector (line 36) | public class BasicChaosInstanceSelector implements ChaosInstanceSelector { method logger (line 48) | protected Logger logger() { method select (line 53) | @Override method selectNInstances (line 64) | private Collection selectNInstances(Collection instanc... method selectOneInstance (line 80) | private String selectOneInstance(InstanceGroup group, double probabili... FILE: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosMonkey.java class BasicChaosMonkey (line 35) | public class BasicChaosMonkey extends ChaosMonkey { method BasicChaosMonkey (line 65) | public BasicChaosMonkey(ChaosMonkey.Context ctx) { method doMonkeyBusiness (line 103) | @Override method pickChaosType (line 133) | private ChaosType pickChaosType(CloudClient cloudClient, String instan... method terminateNow (line 154) | @Override method reportEventForSummary (line 188) | private void reportEventForSummary(EventTypes eventType, InstanceGroup... method handleTerminationError (line 200) | protected void handleTerminationError(String instance, Throwable e) { method recordTermination (line 206) | @Override method getPreviousTerminationCount (line 217) | @Override method createEvent (line 226) | private Event createEvent(EventTypes chaosTermination, InstanceGroup g... method getEffectiveProbability (line 239) | protected double getEffectiveProbability(InstanceGroup group) { method getEffectiveProbabilityFromCfg (line 259) | protected double getEffectiveProbabilityFromCfg(InstanceGroup group) { method getNumFromCfgOrDefault (line 280) | protected double getNumFromCfgOrDefault(InstanceGroup group, String pr... method getBoolFromCfgOrDefault (line 286) | protected boolean getBoolFromCfgOrDefault(InstanceGroup group, String ... method getLastOptInMilliseconds (line 298) | protected long getLastOptInMilliseconds(InstanceGroup group) { method noTerminationInLastWindow (line 304) | private boolean noTerminationInLastWindow(InstanceGroup group, int man... method isGroupEnabled (line 328) | protected boolean isGroupEnabled(InstanceGroup group) { method isChaosMonkeyEnabled (line 341) | private boolean isChaosMonkeyEnabled() { method findInstanceGroup (line 350) | private InstanceGroup findInstanceGroup(String type, String name) { method terminateInstance (line 362) | protected Event terminateInstance(InstanceGroup group, String inst, Ch... method isMaxTerminationCountExceeded (line 400) | protected boolean isMaxTerminationCountExceeded(InstanceGroup group) { method sendTerminationNotification (line 430) | @Override method getChaosTypes (line 452) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/chaos/BasicInstanceGroup.java class BasicInstanceGroup (line 31) | public class BasicInstanceGroup implements InstanceGroup { method BasicInstanceGroup (line 55) | public BasicInstanceGroup(String name, GroupType type, String region, ... method type (line 65) | public GroupType type() { method name (line 70) | public String name() { method region (line 75) | public String region() { method tags (line 80) | public List tags() { method instances (line 88) | @Override method addInstance (line 94) | @Override method copyAs (line 100) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/chaos/CloudFormationChaosMonkey.java class CloudFormationChaosMonkey (line 28) | public class CloudFormationChaosMonkey extends BasicChaosMonkey { method CloudFormationChaosMonkey (line 35) | public CloudFormationChaosMonkey(Context ctx) { method isGroupEnabled (line 42) | @Override method terminateInstance (line 51) | @Override method isMaxTerminationCountExceeded (line 60) | @Override method getEffectiveProbability (line 69) | @Override method getLastOptInMilliseconds (line 82) | @Override method noSuffixInstanceGroup (line 92) | public InstanceGroup noSuffixInstanceGroup(InstanceGroup group) { FILE: src/main/java/com/netflix/simianarmy/basic/conformity/BasicConformityEmailBuilder.java class BasicConformityEmailBuilder (line 34) | public class BasicConformityEmailBuilder extends ConformityEmailBuilder { method setEmailToClusters (line 42) | @Override method getHeader (line 53) | @Override method getEntryTable (line 61) | @Override method getFooter (line 76) | @Override method getClusterUrl (line 86) | protected String getClusterUrl(Cluster cluster) { method getClusterDisplay (line 95) | protected String getClusterDisplay(Cluster cluster) { method getTableColumns (line 103) | protected String[] getTableColumns() { method getClusterRow (line 113) | protected String getClusterRow(Cluster cluster, Conformity conformity) { FILE: src/main/java/com/netflix/simianarmy/basic/conformity/BasicConformityMonkey.java class BasicConformityMonkey (line 42) | public class BasicConformityMonkey extends ConformityMonkey { method BasicConformityMonkey (line 94) | public BasicConformityMonkey(Context ctx) { method doMonkeyBusiness (line 109) | @Override method addCluster (line 182) | private static void addCluster(Map> map, C... method sendConformitySummaryEmail (line 194) | protected void sendConformitySummaryEmail() { method appendSummary (line 214) | private void appendSummary(StringBuilder message, String summaryName, method getSummaryEmailSubject (line 235) | protected String getSummaryEmailSubject() { method isConformityMonkeyEnabled (line 239) | private boolean isConformityMonkeyEnabled() { FILE: src/main/java/com/netflix/simianarmy/basic/conformity/BasicConformityMonkeyContext.java class BasicConformityMonkeyContext (line 62) | public class BasicConformityMonkeyContext extends BasicSimianArmyContext... method BasicConformityMonkeyContext (line 95) | public BasicConformityMonkeyContext() { method getConformityEmailNotifierContext (line 194) | public ConformityEmailNotifier.Context getConformityEmailNotifierConte... method clusterCrawler (line 248) | @Override method ruleEngine (line 253) | @Override method emailNotifier (line 259) | @Override method regions (line 264) | @Override method isLeashed (line 269) | @Override method clusterTracker (line 274) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/janitor/BasicJanitorEmailBuilder.java class BasicJanitorEmailBuilder (line 32) | public class BasicJanitorEmailBuilder extends JanitorEmailBuilder { method setEmailToResources (line 41) | @Override method getHeader (line 47) | @Override method getEntryTable (line 57) | @Override method getFooter (line 68) | @Override method getResourceUrl (line 78) | protected String getResourceUrl(Resource resource) { method getResourceDisplay (line 87) | protected String getResourceDisplay(Resource resource) { method getJanitorResourceUrl (line 96) | protected String getJanitorResourceUrl(Resource resource) { method getTableColumns (line 104) | protected String[] getTableColumns() { method getResourceRow (line 113) | protected String getResourceRow(Resource resource) { FILE: src/main/java/com/netflix/simianarmy/basic/janitor/BasicJanitorMonkey.java class BasicJanitorMonkey (line 37) | public class BasicJanitorMonkey extends JanitorMonkey { method BasicJanitorMonkey (line 77) | public BasicJanitorMonkey(Context ctx) { method doMonkeyBusiness (line 94) | @Override method optInResource (line 151) | @Override method optOutResource (line 156) | @Override method optInResource (line 161) | @Override method optOutResource (line 166) | @Override method optInOrOutResource (line 171) | private Event optInOrOutResource(String resourceId, boolean optIn, Str... method sendJanitorSummaryEmail (line 194) | protected void sendJanitorSummaryEmail() { method appendSummary (line 216) | private void appendSummary(StringBuilder message, String summaryName, method printResources (line 223) | private String printResources(Collection resources) { method getSummaryEmailSubject (line 241) | protected String getSummaryEmailSubject() { method handleCleanupError (line 253) | protected void handleCleanupError(Resource resource, Throwable e) { method isJanitorMonkeyEnabled (line 260) | private boolean isJanitorMonkeyEnabled() { method getMonkeyRuns (line 269) | @Monitor(name="runs", type=DataSourceType.COUNTER) method getMonkeyErrors (line 274) | @Monitor(name="errors", type=DataSourceType.GAUGE) method getMonkeyRunning (line 279) | @Monitor(name="running", type=DataSourceType.GAUGE) FILE: src/main/java/com/netflix/simianarmy/basic/janitor/BasicJanitorMonkeyContext.java class BasicJanitorMonkeyContext (line 58) | public class BasicJanitorMonkeyContext extends BasicSimianArmyContext im... method BasicJanitorMonkeyContext (line 92) | public BasicJanitorMonkeyContext() { method createJanitorRuleEngine (line 161) | protected JanitorRuleEngine createJanitorRuleEngine() { method getASGJanitor (line 174) | private ASGJanitor getASGJanitor() { method getInstanceJanitor (line 228) | private InstanceJanitor getInstanceJanitor() { method getEBSVolumeJanitor (line 266) | private EBSVolumeJanitor getEBSVolumeJanitor() { method getEBSSnapshotJanitor (line 304) | private EBSSnapshotJanitor getEBSSnapshotJanitor() { method getLaunchConfigJanitor (line 338) | private LaunchConfigJanitor getLaunchConfigJanitor() { method getImageJanitor (line 370) | private ImageJanitor getImageJanitor() { method getELBJanitor (line 406) | private ELBJanitor getELBJanitor() { method createEddaClient (line 428) | private EddaClient createEddaClient() { method getEnabledResourceSet (line 435) | private Set getEnabledResourceSet() { method getUntaggedRuleResourceSet (line 446) | private Set getUntaggedRuleResourceSet() { method getPropertySet (line 459) | private Set getPropertySet(String property) { method getJanitorEmailNotifierContext (line 470) | public JanitorEmailNotifier.Context getJanitorEmailNotifierContext() { method janitors (line 525) | @Override method emailNotifier (line 531) | @Override method resourceTracker (line 536) | @Override class BasicJanitorContext (line 543) | public static class BasicJanitorContext implements AbstractJanitor.Con... method BasicJanitorContext (line 561) | public BasicJanitorContext(String region, JanitorRuleEngine ruleEngi... method region (line 573) | @Override method configuration (line 578) | @Override method calendar (line 583) | @Override method janitorRuleEngine (line 588) | @Override method janitorCrawler (line 593) | @Override method janitorResourceTracker (line 598) | @Override method recorder (line 603) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/janitor/BasicJanitorRuleEngine.java class BasicJanitorRuleEngine (line 35) | public class BasicJanitorRuleEngine implements JanitorRuleEngine { method BasicJanitorRuleEngine (line 49) | public BasicJanitorRuleEngine() { method isValid (line 65) | @Override method addRule (line 107) | @Override method addExclusionRule (line 114) | @Override method getRules (line 121) | @Override method getExclusionRules (line 128) | @Override FILE: src/main/java/com/netflix/simianarmy/basic/janitor/BasicVolumeTaggingMonkeyContext.java class BasicVolumeTaggingMonkeyContext (line 30) | public class BasicVolumeTaggingMonkeyContext extends BasicSimianArmyCont... method BasicVolumeTaggingMonkeyContext (line 37) | public BasicVolumeTaggingMonkeyContext() { method awsClients (line 45) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/BlockAllNetworkTrafficChaosType.java class BlockAllNetworkTrafficChaosType (line 35) | public class BlockAllNetworkTrafficChaosType extends ChaosType { method BlockAllNetworkTrafficChaosType (line 47) | public BlockAllNetworkTrafficChaosType(MonkeyConfiguration config) { method canApply (line 56) | @Override method apply (line 72) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/BurnCpuChaosType.java class BurnCpuChaosType (line 27) | public class BurnCpuChaosType extends ScriptChaosType { method BurnCpuChaosType (line 34) | public BurnCpuChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/BurnIoChaosType.java class BurnIoChaosType (line 30) | public class BurnIoChaosType extends ScriptChaosType { method BurnIoChaosType (line 63) | public BurnIoChaosType(MonkeyConfiguration config) { method canApply (line 67) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosCrawler.java type ChaosCrawler (line 29) | public interface ChaosCrawler { type InstanceGroup (line 34) | public interface InstanceGroup { method type (line 41) | GroupType type(); method name (line 48) | String name(); method region (line 55) | String region(); method tags (line 62) | List tags(); method instances (line 69) | List instances(); method addInstance (line 77) | void addInstance(String instance); method copyAs (line 87) | InstanceGroup copyAs(String name); method groupTypes (line 95) | EnumSet groupTypes(); method groups (line 102) | List groups(); method groups (line 111) | List groups(String... names); FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosEmailNotifier.java class ChaosEmailNotifier (line 27) | public abstract class ChaosEmailNotifier extends AWSEmailNotifier { method ChaosEmailNotifier (line 35) | public ChaosEmailNotifier(AmazonSimpleEmailServiceClient sesClient) { method sendTerminationNotification (line 46) | public abstract void sendTerminationNotification(InstanceGroup group, ... method sendTerminationGlobalNotification (line 55) | public abstract void sendTerminationGlobalNotification(InstanceGroup g... FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosInstance.java class ChaosInstance (line 30) | public class ChaosInstance { method ChaosInstance (line 48) | public ChaosInstance(CloudClient cloudClient, String instanceId, SshCo... method getSshConfig (line 59) | public SshConfig getSshConfig() { method getCloudClient (line 68) | public CloudClient getCloudClient() { method getInstanceId (line 77) | public String getInstanceId() { method canConnectSsh (line 93) | public boolean canConnectSsh(ChaosInstance instance) { method connectSsh (line 117) | public SshClient connectSsh() { FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosInstanceSelector.java type ChaosInstanceSelector (line 27) | public interface ChaosInstanceSelector { method select (line 54) | Collection select(InstanceGroup group, double probability); FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosMonkey.java class ChaosMonkey (line 34) | public abstract class ChaosMonkey extends Monkey { type Context (line 39) | public interface Context extends Monkey.Context { method configuration (line 46) | MonkeyConfiguration configuration(); method chaosCrawler (line 53) | ChaosCrawler chaosCrawler(); method chaosInstanceSelector (line 60) | ChaosInstanceSelector chaosInstanceSelector(); method chaosEmailNotifier (line 67) | ChaosEmailNotifier chaosEmailNotifier(); method ChaosMonkey (line 79) | public ChaosMonkey(Context ctx) { type Type (line 87) | public enum Type implements MonkeyType { type EventTypes (line 96) | public enum EventTypes implements EventType { method type (line 103) | @Override method context (line 109) | @Override method doMonkeyBusiness (line 115) | @Override method getPreviousTerminationCount (line 126) | public abstract int getPreviousTerminationCount(ChaosCrawler.InstanceG... method recordTermination (line 138) | public abstract Event recordTermination(ChaosCrawler.InstanceGroup gro... method terminateNow (line 150) | public abstract Event terminateNow(String type, String name, ChaosType... method sendTerminationNotification (line 163) | public abstract void sendTerminationNotification(ChaosCrawler.Instance... method getChaosTypes (line 169) | public abstract List getChaosTypes(); FILE: src/main/java/com/netflix/simianarmy/chaos/ChaosType.java class ChaosType (line 31) | public abstract class ChaosType { method ChaosType (line 58) | protected ChaosType(MonkeyConfiguration config, String key) { method getEnabledDefault (line 72) | protected boolean getEnabledDefault() { method getConfigurationPrefix (line 79) | protected String getConfigurationPrefix() { method getKey (line 86) | public String getKey() { method canApply (line 96) | public boolean canApply(ChaosInstance instance) { method isEnabled (line 103) | public boolean isEnabled() { method apply (line 110) | public abstract void apply(ChaosInstance instance); method parse (line 115) | public static ChaosType parse(List all, String chaosTypeNam... method isBurnMoneyEnabled (line 128) | protected boolean isBurnMoneyEnabled() { method isRootVolumeEbs (line 138) | protected boolean isRootVolumeEbs(ChaosInstance instance) { FILE: src/main/java/com/netflix/simianarmy/chaos/DetachVolumesChaosType.java class DetachVolumesChaosType (line 35) | public class DetachVolumesChaosType extends ChaosType { method DetachVolumesChaosType (line 45) | public DetachVolumesChaosType(MonkeyConfiguration config) { method canApply (line 52) | @Override method apply (line 69) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/FailDnsChaosType.java class FailDnsChaosType (line 25) | public class FailDnsChaosType extends ScriptChaosType { method FailDnsChaosType (line 32) | public FailDnsChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/FailDynamoDbChaosType.java class FailDynamoDbChaosType (line 25) | public class FailDynamoDbChaosType extends ScriptChaosType { method FailDynamoDbChaosType (line 32) | public FailDynamoDbChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/FailEc2ChaosType.java class FailEc2ChaosType (line 25) | public class FailEc2ChaosType extends ScriptChaosType { method FailEc2ChaosType (line 32) | public FailEc2ChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/FailS3ChaosType.java class FailS3ChaosType (line 25) | public class FailS3ChaosType extends ScriptChaosType { method FailS3ChaosType (line 32) | public FailS3ChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/FillDiskChaosType.java class FillDiskChaosType (line 28) | public class FillDiskChaosType extends ScriptChaosType { method FillDiskChaosType (line 46) | public FillDiskChaosType(MonkeyConfiguration config) { method canApply (line 50) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/KillProcessesChaosType.java class KillProcessesChaosType (line 27) | public class KillProcessesChaosType extends ScriptChaosType { method KillProcessesChaosType (line 34) | public KillProcessesChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/NetworkCorruptionChaosType.java class NetworkCorruptionChaosType (line 25) | public class NetworkCorruptionChaosType extends ScriptChaosType { method NetworkCorruptionChaosType (line 32) | public NetworkCorruptionChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/NetworkLatencyChaosType.java class NetworkLatencyChaosType (line 25) | public class NetworkLatencyChaosType extends ScriptChaosType { method NetworkLatencyChaosType (line 32) | public NetworkLatencyChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/NetworkLossChaosType.java class NetworkLossChaosType (line 25) | public class NetworkLossChaosType extends ScriptChaosType { method NetworkLossChaosType (line 32) | public NetworkLossChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/NullRouteChaosType.java class NullRouteChaosType (line 30) | public class NullRouteChaosType extends ScriptChaosType { method NullRouteChaosType (line 37) | public NullRouteChaosType(MonkeyConfiguration config) { FILE: src/main/java/com/netflix/simianarmy/chaos/ScriptChaosType.java class ScriptChaosType (line 34) | public abstract class ScriptChaosType extends ChaosType { method ScriptChaosType (line 46) | public ScriptChaosType(MonkeyConfiguration config, String key) { method canApply (line 53) | @Override method apply (line 71) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/ShutdownInstanceChaosType.java class ShutdownInstanceChaosType (line 28) | public class ShutdownInstanceChaosType extends ChaosType { method ShutdownInstanceChaosType (line 35) | public ShutdownInstanceChaosType(MonkeyConfiguration config) { method apply (line 42) | @Override method getEnabledDefault (line 53) | @Override FILE: src/main/java/com/netflix/simianarmy/chaos/SshConfig.java class SshConfig (line 34) | public class SshConfig { method SshConfig (line 49) | public SshConfig(MonkeyConfiguration config) { method getCredentials (line 87) | public LoginCredentials getCredentials() { method isEnabled (line 96) | public boolean isEnabled() { FILE: src/main/java/com/netflix/simianarmy/client/MonkeyRestClient.java class MonkeyRestClient (line 39) | public abstract class MonkeyRestClient { method MonkeyRestClient (line 50) | public MonkeyRestClient(int timeout, int maxRetries, int retryInterval) { method getJsonNodeFromUrl (line 70) | public JsonNode getJsonNodeFromUrl(String url) throws IOException { method getBaseUrl (line 109) | public abstract String getBaseUrl(String region); class DataReadException (line 111) | public static class DataReadException extends RuntimeException { method DataReadException (line 112) | public DataReadException(int code, String url, String jsonContent) { FILE: src/main/java/com/netflix/simianarmy/client/aws/AWSClient.java class AWSClient (line 77) | public class AWSClient implements CloudClient { method AWSClient (line 131) | public AWSClient(String region) { method AWSClient (line 145) | public AWSClient(String region, AWSCredentialsProvider awsCredentialsP... method AWSClient (line 159) | public AWSClient(String region, ClientConfiguration awsClientConfig) { method AWSClient (line 175) | public AWSClient(String region, AWSCredentialsProvider awsCredentialsP... method region (line 187) | public String region() { method accountName (line 197) | public String accountName() { method ec2Client (line 206) | protected AmazonEC2 ec2Client() { method asgClient (line 230) | protected AmazonAutoScalingClient asgClient() { method elbClient (line 254) | protected AmazonElasticLoadBalancingClient elbClient() { method route53Client (line 278) | protected AmazonRoute53Client route53Client() { method sdbClient (line 302) | public AmazonSimpleDB sdbClient() { method describeAutoScalingGroups (line 332) | public List describeAutoScalingGroups() { method describeAutoScalingGroups (line 342) | public List describeAutoScalingGroups(String... name... method describeElasticLoadBalancers (line 375) | public List describeElasticLoadBalancers(Stri... method describeElasticLoadBalancerAttributes (line 396) | public LoadBalancerAttributes describeElasticLoadBalancerAttributes(St... method describeElasticLoadBalancerTags (line 412) | public List describeElasticLoadBalancerTags(String nam... method describeAutoScalingInstances (line 427) | public List describeAutoScalingInstances(S... method describeInstances (line 461) | public List describeInstances(String... instanceIds) { method describeLaunchConfigurations (line 490) | public List describeLaunchConfigurations(String..... method deleteAutoScalingGroup (line 517) | @Override method deleteLaunchConfiguration (line 533) | @Override method deleteImage (line 545) | @Override method deleteVolume (line 556) | @Override method deleteSnapshot (line 566) | @Override method deleteElasticLoadBalancer (line 576) | @Override method deleteDNSRecord (line 586) | @Override method terminateInstance (line 619) | @Override method setInstanceSecurityGroups (line 634) | public void setInstanceSecurityGroups(String instanceId, List ... method describeVolumes (line 656) | public List describeVolumes(String... volumeIds) { method describeSnapshots (line 681) | public List describeSnapshots(String... snapshotIds) { method createTagsForResources (line 702) | @Override method describeImages (line 723) | public List describeImages(String... imageIds) { method detachVolume (line 742) | @Override method listAttachedVolumes (line 760) | @Override method describeSecurityGroups (line 802) | public List describeSecurityGroups(String... groupNames) { method createSecurityGroup (line 831) | public String createSecurityGroup(String instanceId, String name, Stri... method describeInstance (line 852) | public Instance describeInstance(String instanceId) { method getJcloudsComputeService (line 864) | @Override method getJcloudsId (line 896) | @Override method connectSsh (line 901) | @Override method getJcloudsNode (line 918) | private NodeMetadata getJcloudsNode(ComputeService computeService, Str... method findSecurityGroup (line 944) | @Override method getVpcId (line 971) | String getVpcId(String instanceId) { method canChangeInstanceSecurityGroups (line 983) | @Override FILE: src/main/java/com/netflix/simianarmy/client/aws/chaos/ASGChaosCrawler.java class ASGChaosCrawler (line 39) | public class ASGChaosCrawler implements ChaosCrawler { type Types (line 52) | public enum Types implements GroupType { method ASGChaosCrawler (line 67) | public ASGChaosCrawler(AWSClient awsClient) { method groupTypes (line 72) | @Override method groups (line 78) | @Override method groups (line 83) | @Override method getInstanceGroup (line 106) | protected InstanceGroup getInstanceGroup(AutoScalingGroup asg, double ... method findAggressionCoefficient (line 130) | protected double findAggressionCoefficient(AutoScalingGroup asg) { FILE: src/main/java/com/netflix/simianarmy/client/aws/chaos/FilteringChaosCrawler.java class FilteringChaosCrawler (line 31) | public class FilteringChaosCrawler implements ChaosCrawler { method FilteringChaosCrawler (line 36) | public FilteringChaosCrawler(ChaosCrawler crawler, Predicate filter(List list) { FILE: src/main/java/com/netflix/simianarmy/client/aws/chaos/TagPredicate.java class TagPredicate (line 28) | public class TagPredicate implements Predicate asList() { method addInstance (line 53) | public void addInstance(final String instanceId, final String groupNam... FILE: src/main/java/com/netflix/simianarmy/client/vsphere/VSphereServiceConnection.java class VSphereServiceConnection (line 42) | public class VSphereServiceConnection { method VSphereServiceConnection (line 61) | public VSphereServiceConnection(MonkeyConfiguration config) { method disconnect (line 68) | public void disconnect() { method connect (line 76) | public void connect() throws AmazonServiceException { method getVirtualMachineById (line 91) | public VirtualMachine getVirtualMachineById(String instanceId) throws ... method describeVirtualMachines (line 104) | public VirtualMachine[] describeVirtualMachines() throws AmazonService... method getInventoryNavigator (line 127) | protected InventoryNavigator getInventoryNavigator() { method getUsername (line 131) | public String getUsername() { method getPassword (line 134) | public String getPassword() { method getUrl (line 137) | public String getUrl() { FILE: src/main/java/com/netflix/simianarmy/conformity/AutoScalingGroup.java class AutoScalingGroup (line 29) | public class AutoScalingGroup { method AutoScalingGroup (line 41) | public AutoScalingGroup(String name, String... instances) { method getName (line 55) | public String getName() { method getInstances (line 64) | public Collection getInstances() { method isSuspended (line 72) | public boolean isSuspended() { method setSuspended (line 80) | public void setSuspended(boolean suspended) { FILE: src/main/java/com/netflix/simianarmy/conformity/Cluster.java class Cluster (line 39) | public class Cluster { method Cluster (line 68) | public Cluster(String name, String region, AutoScalingGroup... autoSca... method Cluster (line 86) | public Cluster(String name, String region, Set soloInstances) { method getName (line 102) | public String getName() { method getRegion (line 111) | public String getRegion() { method getAutoScalingGroups (line 120) | public Collection getAutoScalingGroups() { method getOwnerEmail (line 129) | public String getOwnerEmail() { method setOwnerEmail (line 138) | public void setOwnerEmail(String ownerEmail) { method getUpdateTime (line 147) | public Date getUpdateTime() { method setUpdateTime (line 156) | public void setUpdateTime(Date updateTime) { method getConformties (line 165) | public Collection getConformties() { method getConformity (line 176) | public Conformity getConformity(ConformityRule rule) { method updateConformity (line 189) | public Cluster updateConformity(Conformity conformity) { method clearConformities (line 198) | public void clearConformities() { method isConforming (line 209) | public boolean isConforming() { method setConforming (line 220) | public void setConforming(boolean conforming) { method getExcludedRules (line 229) | public Collection getExcludedRules() { method excludeRules (line 240) | public Cluster excludeRules(String... ruleIds) { method isOptOutOfConformity (line 253) | public boolean isOptOutOfConformity() { method setOptOutOfConformity (line 262) | public void setOptOutOfConformity(boolean optOutOfConformity) { method getFieldToValueMap (line 271) | public Map getFieldToValueMap() { method parseFieldToValueMap (line 294) | public static Cluster parseFieldToValueMap(Map fieldTo... method putToMapIfNotNull (line 310) | private static void putToMapIfNotNull(Map map, String ... method getSoloInstances (line 318) | public Set getSoloInstances() { FILE: src/main/java/com/netflix/simianarmy/conformity/ClusterCrawler.java type ClusterCrawler (line 25) | public interface ClusterCrawler { method clusters (line 35) | List clusters(String... clusterNames); method getOwnerEmailForCluster (line 43) | String getOwnerEmailForCluster(Cluster cluster); method updateExcludedConformityRules (line 49) | void updateExcludedConformityRules(Cluster cluster); FILE: src/main/java/com/netflix/simianarmy/conformity/Conformity.java class Conformity (line 29) | public class Conformity { method Conformity (line 42) | public Conformity(String ruleId, Collection failedComponents) { method getRuleId (line 56) | public String getRuleId() { method getFailedComponents (line 65) | public Collection getFailedComponents() { FILE: src/main/java/com/netflix/simianarmy/conformity/ConformityClusterTracker.java type ConformityClusterTracker (line 25) | public interface ConformityClusterTracker { method addOrUpdate (line 32) | void addOrUpdate(Cluster cluster); method getAllClusters (line 41) | List getAllClusters(String... regions); method getNonconformingClusters (line 49) | List getNonconformingClusters(String... regions); method getCluster (line 57) | Cluster getCluster(String name, String region); method deleteClusters (line 65) | void deleteClusters(Cluster... clusters); FILE: src/main/java/com/netflix/simianarmy/conformity/ConformityEmailBuilder.java class ConformityEmailBuilder (line 26) | public abstract class ConformityEmailBuilder extends AbstractEmailBuilder { method setEmailToClusters (line 34) | public abstract void setEmailToClusters(Map regions(); method clusterTracker (line 98) | ConformityClusterTracker clusterTracker(); method emailBuilder (line 103) | ConformityEmailBuilder emailBuilder(); method ccEmails (line 108) | String[] ccEmails(); method rules (line 114) | Collection rules(); method ConformityEmailNotifier (line 121) | public ConformityEmailNotifier(Context ctx) { method sendNotifications (line 147) | public void sendNotifications() { method buildEmailSubject (line 202) | @Override method getCcAddresses (line 207) | @Override method getSourceAddress (line 212) | @Override method validateEmails (line 217) | private void validateEmails() { method putEmailAndCluster (line 228) | private void putEmailAndCluster(Map> map, ... FILE: src/main/java/com/netflix/simianarmy/conformity/ConformityMonkey.java class ConformityMonkey (line 29) | public abstract class ConformityMonkey extends Monkey { type Context (line 34) | public interface Context extends Monkey.Context { method configuration (line 41) | MonkeyConfiguration configuration(); method clusterCrawler (line 47) | ClusterCrawler clusterCrawler(); method ruleEngine (line 53) | ConformityRuleEngine ruleEngine(); method emailNotifier (line 60) | ConformityEmailNotifier emailNotifier(); method regions (line 66) | Collection regions(); method clusterTracker (line 72) | ConformityClusterTracker clusterTracker(); method isLeashed (line 79) | boolean isLeashed(); method ConformityMonkey (line 91) | public ConformityMonkey(Context ctx) { type Type (line 99) | public enum Type implements MonkeyType { method type (line 105) | @Override method context (line 111) | @Override method doMonkeyBusiness (line 117) | @Override FILE: src/main/java/com/netflix/simianarmy/conformity/ConformityRule.java type ConformityRule (line 24) | public interface ConformityRule { method check (line 33) | Conformity check(Cluster cluster); method getName (line 40) | String getName(); method getNonconformingReason (line 46) | String getNonconformingReason(); FILE: src/main/java/com/netflix/simianarmy/conformity/ConformityRuleEngine.java class ConformityRuleEngine (line 31) | public class ConformityRuleEngine { method check (line 44) | public boolean check(Cluster cluster) { method addRule (line 74) | public ConformityRuleEngine addRule(ConformityRule rule) { method rules (line 84) | public Collection rules() { FILE: src/main/java/com/netflix/simianarmy/janitor/AbstractJanitor.java class AbstractJanitor (line 49) | public abstract class AbstractJanitor implements Janitor, DryRunnableJan... method getRegion (line 60) | public String getRegion() { method setLeashed (line 110) | protected void setLeashed(boolean isLeashed) { type Context (line 117) | public interface Context { method region (line 123) | String region(); method configuration (line 130) | MonkeyConfiguration configuration(); method calendar (line 137) | MonkeyCalendar calendar(); method janitorRuleEngine (line 143) | JanitorRuleEngine janitorRuleEngine(); method janitorCrawler (line 150) | JanitorCrawler janitorCrawler(); method janitorResourceTracker (line 157) | JanitorResourceTracker janitorResourceTracker(); method recorder (line 164) | MonkeyRecorder recorder(); method AbstractJanitor (line 172) | public AbstractJanitor(Context ctx, ResourceType resourceType) { method getResourceType (line 202) | @Override method prepareToRun (line 221) | public void prepareToRun() { method markResources (line 233) | @Override method getTrackedMarkedResources (line 295) | protected Map getTrackedMarkedResources() { method cleanupResources (line 306) | @Override method canClean (line 385) | protected boolean canClean(Resource resource, Date now) { method postMark (line 398) | protected abstract void postMark(Resource resource); method cleanup (line 404) | protected abstract void cleanup(Resource resource); method postCleanup (line 410) | protected abstract void postCleanup(Resource resource); method getMarkedResources (line 413) | public Collection getMarkedResources() { method getUnmarkedResources (line 418) | public Collection getUnmarkedResources() { method getCleanedResources (line 423) | public Collection getCleanedResources() { method getFailedToCleanResources (line 428) | public Collection getFailedToCleanResources() { method unmarkUserTerminatedResources (line 432) | private void unmarkUserTerminatedResources(List crawledResou... method getResourcesCleanedCount (line 453) | @Monitor(name="cleanedResourcesCount", type=DataSourceType.GAUGE) method getMarkedResourcesCount (line 458) | @Monitor(name="markedResourcesCount", type=DataSourceType.GAUGE) method getFailedToCleanResourcesCount (line 463) | @Monitor(name="failedToCleanResourcesCount", type=DataSourceType.GAUGE) method getUnmarkedResourcesCount (line 468) | @Monitor(name="unmarkedResourcesCount", type=DataSourceType.GAUGE) method getCheckedResourcesCount (line 473) | @Monitor(name="checkedResourcesCount", type=DataSourceType.GAUGE) method skippedVanishedOrValidResources (line 478) | @Monitor(name="skippedVanishedOrValidResources", type = DataSourceType... method getCleanupDryRunFailureCount (line 483) | public Counter getCleanupDryRunFailureCount() { FILE: src/main/java/com/netflix/simianarmy/janitor/DryRunnableJanitor.java type DryRunnableJanitor (line 23) | public interface DryRunnableJanitor extends Janitor { method cleanupDryRun (line 24) | default void cleanupDryRun(Resource markedResource) throws DryRunnable... FILE: src/main/java/com/netflix/simianarmy/janitor/DryRunnableJanitorException.java class DryRunnableJanitorException (line 21) | public class DryRunnableJanitorException extends Exception { method DryRunnableJanitorException (line 22) | public DryRunnableJanitorException(String message) { method DryRunnableJanitorException (line 26) | public DryRunnableJanitorException(String message, Throwable cause) { FILE: src/main/java/com/netflix/simianarmy/janitor/Janitor.java type Janitor (line 27) | public interface Janitor { method getResourceType (line 33) | ResourceType getResourceType(); method markResources (line 39) | void markResources(); method cleanupResources (line 44) | void cleanupResources(); FILE: src/main/java/com/netflix/simianarmy/janitor/JanitorCrawler.java type JanitorCrawler (line 30) | public interface JanitorCrawler { method resourceTypes (line 37) | EnumSet resourceTypes(); method resources (line 45) | List resources(ResourceType resourceType); method resources (line 55) | List resources(String... resourceIds); method getOwnerEmailForResource (line 62) | String getOwnerEmailForResource(Resource resource); FILE: src/main/java/com/netflix/simianarmy/janitor/JanitorEmailBuilder.java class JanitorEmailBuilder (line 27) | public abstract class JanitorEmailBuilder extends AbstractEmailBuilder { method setEmailToResources (line 34) | public abstract void setEmailToResources(Map getMarkedResources() { method validateEmails (line 212) | private void validateEmails() { method buildEmailSubject (line 223) | @Override method canNotify (line 234) | protected boolean canNotify(Resource resource) { method getInvalidEmailToResources (line 275) | public Map> getInvalidEmailToResources() { method getCcAddresses (line 279) | @Override method getSourceAddress (line 284) | @Override method putEmailAndResource (line 289) | private void putEmailAndResource( FILE: src/main/java/com/netflix/simianarmy/janitor/JanitorMonkey.java class JanitorMonkey (line 31) | public abstract class JanitorMonkey extends Monkey { type Context (line 45) | public interface Context extends Monkey.Context { method configuration (line 52) | MonkeyConfiguration configuration(); method janitors (line 58) | List janitors(); method emailNotifier (line 64) | JanitorEmailNotifier emailNotifier(); method region (line 70) | String region(); method accountName (line 76) | String accountName(); method resourceTracker (line 82) | JanitorResourceTracker resourceTracker(); method JanitorMonkey (line 94) | public JanitorMonkey(Context ctx) { type Type (line 102) | public static enum Type implements MonkeyType { type EventTypes (line 110) | public enum EventTypes implements EventType { method type (line 124) | @Override method context (line 130) | @Override method doMonkeyBusiness (line 136) | @Override method optInResource (line 144) | public abstract Event optInResource(String resourceId); method optOutResource (line 151) | public abstract Event optOutResource(String resourceId); method optInResource (line 159) | public abstract Event optInResource(String resourceId, String region); method optOutResource (line 167) | public abstract Event optOutResource(String resourceId, String region); FILE: src/main/java/com/netflix/simianarmy/janitor/JanitorResourceTracker.java type JanitorResourceTracker (line 29) | public interface JanitorResourceTracker { method addOrUpdate (line 36) | void addOrUpdate(Resource resource); method getResources (line 46) | List getResources(ResourceType resourceType, Resource.Cleanu... method getResource (line 53) | Resource getResource(String resourceId); method getResource (line 61) | Resource getResource(String resourceId, String regionId); FILE: src/main/java/com/netflix/simianarmy/janitor/JanitorRuleEngine.java type JanitorRuleEngine (line 28) | public interface JanitorRuleEngine { method isValid (line 38) | boolean isValid(Resource resource); method addRule (line 47) | JanitorRuleEngine addRule(Rule rule); method addExclusionRule (line 58) | JanitorRuleEngine addExclusionRule(Rule rule); method getRules (line 65) | List getRules(); method getExclusionRules (line 72) | List getExclusionRules(); FILE: src/main/java/com/netflix/simianarmy/janitor/Rule.java type Rule (line 26) | public interface Rule { method isValid (line 36) | boolean isValid(Resource resource); FILE: src/main/java/com/netflix/simianarmy/resources/chaos/ChaosMonkeyResource.java class ChaosMonkeyResource (line 62) | @Path("/v1/chaos") method ChaosMonkeyResource (line 82) | public ChaosMonkeyResource(ChaosMonkey monkey) { method ChaosMonkeyResource (line 89) | public ChaosMonkeyResource() { method getChaosEvents (line 113) | @GET method addEvent (line 166) | @POST method addTerminationEvent (line 210) | private Response.Status addTerminationEvent(String groupType, method getStringField (line 248) | private String getStringField(JsonNode input, String field) { FILE: src/main/java/com/netflix/simianarmy/resources/janitor/JanitorMonkeyResource.java class JanitorMonkeyResource (line 46) | @Path("/v1/janitor") method JanitorMonkeyResource (line 64) | public JanitorMonkeyResource(JanitorMonkey monkey) { method JanitorMonkeyResource (line 68) | public JanitorMonkeyResource() { method getJanitorMonkey (line 71) | public JanitorMonkey getJanitorMonkey() { method addEventThroughHttpGet (line 89) | @GET @Path("addEvent") method addEvent (line 137) | @POST method getJanitorStatus (line 183) | @GET method optInResource (line 196) | private Response.Status optInResource(String resourceId, boolean optIn... method getStringField (line 225) | private String getStringField(JsonNode input, String field) { FILE: src/main/java/com/netflix/simianarmy/tunable/TunableInstanceGroup.java class TunableInstanceGroup (line 33) | public class TunableInstanceGroup extends BasicInstanceGroup { method TunableInstanceGroup (line 35) | public TunableInstanceGroup(String name, GroupType type, String region... method getAggressionCoefficient (line 44) | public final double getAggressionCoefficient() { method setAggressionCoefficient (line 51) | public final void setAggressionCoefficient(double aggressionCoefficien... FILE: src/main/java/com/netflix/simianarmy/tunable/TunablyAggressiveChaosMonkey.java class TunablyAggressiveChaosMonkey (line 29) | public class TunablyAggressiveChaosMonkey extends BasicChaosMonkey { method TunablyAggressiveChaosMonkey (line 31) | public TunablyAggressiveChaosMonkey(Context ctx) { method getEffectiveProbability (line 43) | @Override FILE: src/test/java/com/netflix/simianarmy/TestMonkey.java class TestMonkey (line 24) | public class TestMonkey extends Monkey { method TestMonkey (line 25) | public TestMonkey() { type Type (line 29) | public enum Type implements MonkeyType { method type (line 33) | public Type type() { method doMonkeyBusiness (line 37) | public void doMonkeyBusiness() { method testStart (line 41) | @Test method testStop (line 46) | @Test FILE: src/test/java/com/netflix/simianarmy/TestMonkeyContext.java class TestMonkeyContext (line 49) | public class TestMonkeyContext implements Monkey.Context { method TestMonkeyContext (line 53) | public TestMonkeyContext(MonkeyType monkeyType) { method configuration (line 57) | @Override method scheduler (line 62) | @Override method calendar (line 88) | @Override method cloudClient (line 119) | @Override method newEvent (line 209) | @Override method recordEvent (line 214) | @Override method findEvents (line 219) | @Override method findEvents (line 224) | @Override method findEvents (line 230) | @Override method recorder (line 244) | @Override method reportEvent (line 249) | @Override method resetEventReport (line 254) | @Override method getEventReport (line 259) | @Override FILE: src/test/java/com/netflix/simianarmy/TestMonkeyRunner.java class TestMonkeyRunner (line 26) | public class TestMonkeyRunner { class MonkeyA (line 29) | private static class MonkeyA extends TestMonkey { method doMonkeyBusiness (line 30) | public void doMonkeyBusiness() { class MonkeyB (line 37) | private static class MonkeyB extends Monkey { type Type (line 38) | public enum Type implements MonkeyType { method type (line 42) | public Type type() { type Context (line 46) | public interface Context extends Monkey.Context { method getTrue (line 47) | boolean getTrue(); method MonkeyB (line 52) | public MonkeyB(Context ctx) { method doMonkeyBusiness (line 57) | public void doMonkeyBusiness() { class MonkeyBContext (line 62) | private static class MonkeyBContext extends TestMonkeyContext implemen... method MonkeyBContext (line 63) | public MonkeyBContext() { method getTrue (line 67) | public boolean getTrue() { method testInstance (line 72) | @Test method testRunner (line 77) | @Test FILE: src/test/java/com/netflix/simianarmy/TestUtils.java class TestUtils (line 29) | public final class TestUtils { method TestUtils (line 31) | private TestUtils() { method verifyTerminationTimeRough (line 54) | public static void verifyTerminationTimeRough(Resource resource, int r... FILE: src/test/java/com/netflix/simianarmy/aws/TestAWSEmailNotifier.java class TestAWSEmailNotifier (line 24) | public class TestAWSEmailNotifier extends AWSEmailNotifier { method TestAWSEmailNotifier (line 25) | public TestAWSEmailNotifier() { method buildEmailSubject (line 29) | @Override method getCcAddresses (line 34) | @Override method getSourceAddress (line 39) | @Override method testEmailWithHashIsValid (line 44) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/TestRDSRecorder.java class TestRDSRecorder (line 45) | public class TestRDSRecorder extends RDSRecorder { method TestRDSRecorder (line 49) | public TestRDSRecorder() { type Type (line 53) | public enum Type implements MonkeyType { type EventTypes (line 57) | public enum EventTypes implements EventType { method testInit (line 61) | @Test method testInsertNewRecordEvent (line 70) | @SuppressWarnings("unchecked") method mkSelectResult (line 107) | private Event mkSelectResult(String id, Event evt) { method testFindEvent (line 113) | @SuppressWarnings("unchecked") method verifyEvents (line 144) | void verifyEvents(List events) { method testFindEventNotFound (line 164) | @SuppressWarnings("unchecked") FILE: src/test/java/com/netflix/simianarmy/aws/TestSimpleDBRecorder.java class TestSimpleDBRecorder (line 51) | public class TestSimpleDBRecorder extends SimpleDBRecorder { method makeMockAWSClient (line 53) | private static AWSClient makeMockAWSClient() { method TestSimpleDBRecorder (line 61) | public TestSimpleDBRecorder() { method sdbClient (line 68) | @Override method superSdbClient (line 73) | protected AmazonSimpleDB superSdbClient() { method testClients (line 77) | @Test type Type (line 86) | public enum Type implements MonkeyType { type EventTypes (line 90) | public enum EventTypes implements EventType { method testRecordEvent (line 94) | @Test method mkSelectResult (line 128) | private SelectResult mkSelectResult(String id) { method testFindEvent (line 146) | @Test method verifyEvents (line 200) | void verifyEvents(List events) { FILE: src/test/java/com/netflix/simianarmy/aws/conformity/TestASGOwnerEmailTag.java class TestASGOwnerEmailTag (line 40) | public class TestASGOwnerEmailTag { method testForOwnerTag (line 48) | @Test method createASGList (line 67) | private List createASGList() { method makeASG (line 74) | private AutoScalingGroup makeASG(String asgName, String ownerEmail) { method createMockAWSClient (line 82) | private AWSClient createMockAWSClient(List asgList, ... FILE: src/test/java/com/netflix/simianarmy/aws/conformity/TestRDSConformityClusterTracker.java class TestRDSConformityClusterTracker (line 41) | public class TestRDSConformityClusterTracker extends RDSConformityCluste... method TestRDSConformityClusterTracker (line 42) | public TestRDSConformityClusterTracker() { method testInit (line 46) | @Test method testInsertNewCluster (line 55) | @SuppressWarnings("unchecked") method testUpdateCluster (line 96) | @SuppressWarnings("unchecked") method testGetCluster (line 137) | @SuppressWarnings("unchecked") method testGetClusters (line 156) | @SuppressWarnings("unchecked") method testGetClusterNotFound (line 178) | @SuppressWarnings("unchecked") FILE: src/test/java/com/netflix/simianarmy/aws/conformity/rule/TestInstanceInVPC.java class TestInstanceInVPC (line 39) | public class TestInstanceInVPC { method setUp (line 47) | @BeforeMethod method testCheckSoloInstances (line 61) | @Test method testAsgInstances (line 74) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/TestAWSResource.java class TestAWSResource (line 35) | public class TestAWSResource { method testFieldToValueMapWithoutNullForInstance (line 38) | @Test method testFieldToValueMapWithNull (line 52) | @Test method testParseFieldToValueMap (line 60) | @Test method testClone (line 71) | @Test method verifyMapsAreEqual (line 80) | private void verifyMapsAreEqual(Map map1, Map getTestingFieldValueMap(Date defaultDate, ... method getTestingResource (line 128) | private Resource getTestingResource(Date now) { method getTestingFields (line 148) | private Map getTestingFields() { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/TestRDSJanitorResourceTracker.java class TestRDSJanitorResourceTracker (line 40) | public class TestRDSJanitorResourceTracker extends RDSJanitorResourceTra... method TestRDSJanitorResourceTracker (line 42) | public TestRDSJanitorResourceTracker() { method testInit (line 46) | @Test method testInsertNewResource (line 55) | @SuppressWarnings("unchecked") method testUpdateResource (line 123) | @SuppressWarnings("unchecked") method testGetResource (line 203) | @SuppressWarnings("unchecked") method testGetResourceNotFound (line 238) | @SuppressWarnings("unchecked") method testGetResources (line 250) | @SuppressWarnings("unchecked") method verifyResources (line 286) | private void verifyResources(List resources, String id1, Str... method mkResource (line 332) | private AWSResource mkResource(String id, AWSResourceType resourceType... FILE: src/test/java/com/netflix/simianarmy/aws/janitor/TestSimpleDBJanitorResourceTracker.java class TestSimpleDBJanitorResourceTracker (line 53) | public class TestSimpleDBJanitorResourceTracker extends SimpleDBJanitorR... method makeMockAWSClient (line 55) | private static AWSClient makeMockAWSClient() { method TestSimpleDBJanitorResourceTracker (line 62) | public TestSimpleDBJanitorResourceTracker() { method testAddResource (line 69) | @Test method testGetResources (line 121) | @Test method verifyResources (line 156) | private void verifyResources(List resources, String id1, Str... method mkSelectResult (line 195) | private SelectResult mkSelectResult(String id, AWSResourceType resourc... FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestASGJanitorCrawler.java class TestASGJanitorCrawler (line 39) | public class TestASGJanitorCrawler { method testResourceTypes (line 41) | @Test method testInstancesWithNullNames (line 49) | @Test method testInstancesWithNames (line 58) | @Test method testInstancesWithResourceType (line 68) | @Test method verifyASGList (line 83) | private void verifyASGList(List resources, List asgList, ... method createASGList (line 106) | private List createASGList() { method mkASG (line 113) | private AutoScalingGroup mkASG(String asgName) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestEBSSnapshotJanitorCrawler.java class TestEBSSnapshotJanitorCrawler (line 39) | public class TestEBSSnapshotJanitorCrawler { method testResourceTypes (line 41) | @Test method testSnapshotsWithNullIds (line 51) | @Test method testSnapshotsWithIds (line 60) | @Test method testSnapshotsWithResourceType (line 70) | @Test method verifySnapshotList (line 85) | private void verifySnapshotList(List resources, List snapshotList, Str... method createSnapshotList (line 108) | private List createSnapshotList(Date startTime) { method mkSnapshot (line 115) | private Snapshot mkSnapshot(String snapshotId, Date startTime) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestEBSVolumeJanitorCrawler.java class TestEBSVolumeJanitorCrawler (line 39) | public class TestEBSVolumeJanitorCrawler { method testResourceTypes (line 41) | @Test method testVolumesWithNullIds (line 51) | @Test method testVolumesWithIds (line 60) | @Test method testVolumesWithResourceType (line 70) | @Test method verifyVolumeList (line 85) | private void verifyVolumeList(List resources, List v... method verifyVolume (line 93) | private void verifyVolume(Resource volume, String volumeId, Date creat... method createMockAWSClient (line 101) | private AWSClient createMockAWSClient(List volumeList, String.... method createVolumeList (line 108) | private List createVolumeList(Date createTime) { method mkVolume (line 115) | private Volume mkVolume(String volumeId, Date createTime) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestELBJanitorCrawler.java class TestELBJanitorCrawler (line 40) | public class TestELBJanitorCrawler { method testResourceTypes (line 42) | @Test method testElbsWithNoInstances (line 53) | @Test method testElbsWithInstances (line 64) | @Test method testElbsWithReferencedASGs (line 75) | @Test method testElbsWithNoReferencedASGs (line 89) | @Test method testElbsWithMultipleReferencedASGs (line 103) | @Test method verifyELBList (line 119) | private void verifyELBList(List resources, List resources, List a... method createELBList (line 159) | private List createELBList(boolean includeIns... method mkELB (line 166) | private LoadBalancerDescription mkELB(String elbName, boolean includeI... method createASGList (line 177) | private List createASGList(boolean includeElbs) { method mkASG (line 189) | private AutoScalingGroup mkASG(String asgName, String elb) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestInstanceJanitorCrawler.java class TestInstanceJanitorCrawler (line 41) | public class TestInstanceJanitorCrawler { method testResourceTypes (line 43) | @Test method testInstancesWithNullIds (line 54) | @Test method testInstancesWithIds (line 64) | @Test method testInstancesWithResourceType (line 75) | @Test method testInstancesNotExistingInASG (line 91) | @Test method verifyInstanceList (line 101) | private void verifyInstanceList(List resources, List... method createInstanceDetailsList (line 126) | private List createInstanceDetailsList() { method mkInstanceDetails (line 133) | private AutoScalingInstanceDetails mkInstanceDetails(String instanceId... method createInstanceList (line 137) | private List createInstanceList() { method mkInstance (line 144) | private Instance mkInstance(String instanceId) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/crawler/TestLaunchConfigJanitorCrawler.java class TestLaunchConfigJanitorCrawler (line 38) | public class TestLaunchConfigJanitorCrawler { method testResourceTypes (line 40) | @Test method testInstancesWithNullNames (line 51) | @Test method testInstancesWithNames (line 61) | @Test method testInstancesWithResourceType (line 72) | @Test method verifyLaunchConfigList (line 88) | private void verifyLaunchConfigList(List resources, List asgList, method createLaunchConfigList (line 119) | private List createLaunchConfigList(int n) { method mkLaunchConfig (line 127) | private LaunchConfiguration mkLaunchConfig(String lcName) { method createASGList (line 131) | private List createASGList(int n) { method mkASG (line 140) | private AutoScalingGroup mkASG(String asgName, String lcName) { FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/TestMonkeyCalendar.java class TestMonkeyCalendar (line 35) | public class TestMonkeyCalendar implements MonkeyCalendar { method isMonkeyTime (line 36) | @Override method openHour (line 41) | @Override method closeHour (line 46) | @Override method now (line 51) | @Override method getBusinessDay (line 56) | @Override FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/asg/TestOldEmptyASGRule.java class TestOldEmptyASGRule (line 38) | public class TestOldEmptyASGRule { method testEmptyASGWithObsoleteLaunchConfig (line 39) | @Test method testEmptyASGWithValidLaunchConfig (line 56) | @Test method testASGWithInstances (line 73) | @Test method testASGWithoutInstanceAndNonZeroSize (line 91) | @Test method testEmptyASGWithoutLaunchConfig (line 108) | @Test method testEmptyASGWithLaunchConfigWithoutCreateTime (line 122) | @Test method testResourceWithExpectedTerminationTimeSet (line 136) | @Test method testNullValidator (line 155) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullResource (line 160) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDays (line 166) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeLaunchConfigAgeThreshold (line 171) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullCalendar (line 176) | @Test(expectedExceptions = IllegalArgumentException.class) method testNonASGResource (line 181) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/asg/TestSuspendedASGRule.java class TestSuspendedASGRule (line 39) | public class TestSuspendedASGRule { method testEmptyASGSuspendedMoreThanThreshold (line 40) | @Test method testEmptyASGSuspendedLessThanThreshold (line 57) | @Test method testASGWithInstances (line 74) | @Test method testASGWithoutInstanceAndNonZeroSize (line 92) | @Test method testEmptyASGNotSuspended (line 109) | @Test method testResourceWithExpectedTerminationTimeSet (line 122) | @Test method testNullResource (line 144) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullValidator (line 150) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDays (line 155) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeLaunchConfigAgeThreshold (line 160) | @Test(expectedExceptions = IllegalArgumentException.class) method testSuspensionTimeIncorrectFormat (line 165) | @Test(expectedExceptions = IllegalArgumentException.class) method testNonASGResource (line 178) | @Test method testNullCalendar (line 186) | @Test(expectedExceptions = IllegalArgumentException.class) FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/elb/TestOrphanedELBRule.java class TestOrphanedELBRule (line 32) | public class TestOrphanedELBRule { method testELBWithNoInstancesNoASGs (line 34) | @Test method testELBWithInstancesNoASGs (line 46) | @Test method testELBWithReferencedASGsNoInstances (line 57) | @Test method testMissingInstanceCountCheck (line 68) | @Test method testMissingReferencedASGCountCheck (line 78) | @Test method testMissingCountsCheck (line 88) | @Test method testMissingCountsCheckWithExtraFields (line 97) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/generic/TestTagValueExclusionRule.java class TestTagValueExclusionRule (line 32) | public class TestTagValueExclusionRule { method beforeTest (line 36) | @BeforeTest method testExcludeTaggedResourceWithTagAndValueMatch1 (line 43) | @Test method testExcludeTaggedResourceWithTagAndValueMatch2 (line 54) | @Test method testExcludeTaggedResourceWithTagAndValueMatchBoth (line 65) | @Test method testExcludeTaggedResourceTagMatchOnly (line 76) | @Test method testExcludeTaggedResourceAllNullTags (line 87) | @Test method testExcludeTaggedResourceValueMatchOnly (line 98) | @Test method testExcludeUntaggedResource (line 109) | @Test method testNameValueConstructor (line 117) | @Test method testNameValueConstructor2 (line 128) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/generic/TestUntaggedRule.java class TestUntaggedRule (line 38) | public class TestUntaggedRule { method testUntaggedInstanceWithOwner (line 40) | @Test method testUntaggedInstanceWithoutOwner (line 57) | @Test method testTaggedInstance (line 73) | @Test method testUntaggedResource (line 88) | @Test method testResourceWithExpectedTerminationTimeSet (line 111) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/instance/TestOrphanedInstanceRule.java class TestOrphanedInstanceRule (line 36) | public class TestOrphanedInstanceRule { method testOrphanedInstancesWithOwner (line 38) | @Test method testOrphanedInstancesWithoutOwner (line 54) | @Test method testOrphanedInstancesWithoutLaunchTime (line 69) | @Test method testOrphanedInstancesWithLaunchTimeNotExpires (line 82) | @Test method testNonOrphanedInstances (line 97) | @Test method testResourceWithExpectedTerminationTimeSet (line 111) | @Test method testNullResource (line 131) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeAgeThreshold (line 137) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDaysWithOwner (line 142) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDaysWithoutOwner (line 147) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullCalendar (line 152) | @Test(expectedExceptions = IllegalArgumentException.class) method testNonInstanceResource (line 157) | @Test method testNonRunningInstance (line 166) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/launchconfig/TestOldUnusedLaunchConfigRule.java class TestOldUnusedLaunchConfigRule (line 37) | public class TestOldUnusedLaunchConfigRule { method testOldUnsedLaunchConfig (line 39) | @Test method testOldLaunchConfigWithNullFlag (line 53) | @Test method testUnsedLaunchConfigNotOld (line 66) | @Test method testUsedLaunchConfig (line 80) | @Test method testUsedLaunchConfigNoLaunchTimeSet (line 94) | @Test method testResourceWithExpectedTerminationTimeSet (line 106) | @Test method testNullResource (line 125) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDays (line 131) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeLaunchConfigAgeThreshold (line 136) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullCalendar (line 141) | @Test(expectedExceptions = IllegalArgumentException.class) method testNonLaunchConfigResource (line 146) | @Test FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/snapshot/TestNoGeneratedAMIRule.java class TestNoGeneratedAMIRule (line 38) | public class TestNoGeneratedAMIRule { method testNonSnapshotResource (line 40) | @Test method testUncompletedVolume (line 49) | @Test method testTaggedAsNotMark (line 58) | @Test method testUserSpecifiedTerminationDate (line 73) | @Test method testOldSnapshotWithoutAMI (line 90) | @Test method testSnapshotWithoutAMINotOld (line 104) | @Test method testWithAMIs (line 118) | @Test method testSnapshotsWithoutLauchTime (line 133) | @Test method testResourceWithExpectedTerminationTimeSet (line 146) | @Test method testOldSnapshotWithoutAMIWithOwnerOverride (line 165) | @Test method testOldSnapshotWithoutAMIWithoutOwnerOverride (line 180) | @Test method testNullResource (line 195) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeAgeThreshold (line 201) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDaysWithOwner (line 206) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullCalendar (line 211) | @Test(expectedExceptions = IllegalArgumentException.class) FILE: src/test/java/com/netflix/simianarmy/aws/janitor/rule/volume/TestOldDetachedVolumeRule.java class TestOldDetachedVolumeRule (line 47) | public class TestOldDetachedVolumeRule { method testNonVolumeResource (line 49) | @Test method testUnavailableVolume (line 58) | @Test method testTaggedAsNotMark (line 67) | @Test method testNoMetaTag (line 85) | @Test method testUserSpecifiedTerminationDate (line 100) | @Test method testOldDetachedVolume (line 117) | @Test method testOldDetachedVolumeBeforeDaylightSavingsCutover (line 155) | @Test method testDetachedVolumeNotOld (line 199) | @Test method testAttachedVolume (line 216) | @Test method testResourceWithExpectedTerminationTimeSet (line 233) | @Test method testNullResource (line 255) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeAgeThreshold (line 261) | @Test(expectedExceptions = IllegalArgumentException.class) method testNgativeRetentionDaysWithOwner (line 266) | @Test(expectedExceptions = IllegalArgumentException.class) method testNullCalendar (line 271) | @Test(expectedExceptions = IllegalArgumentException.class) method verifyDSTCutoverHappened (line 283) | private void verifyDSTCutoverHappened(Resource resource, int retention... FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicCalendar.java class TestBasicCalendar (line 34) | public class TestBasicCalendar extends BasicCalendar { method TestBasicCalendar (line 38) | public TestBasicCalendar() { method testConstructors (line 42) | @Test method now (line 57) | @Override method setNow (line 62) | private void setNow(Calendar now) { method testMonkeyTime (line 66) | @Test method holidayDataProvider (line 105) | @DataProvider method testHolidays (line 120) | @Test(dataProvider = "holidayDataProvider") method testGetBusinessDayWihoutGap (line 132) | @Test method testGetBusinessDayWihWeekend (line 152) | @Test method testGetBusinessDayWihHoliday (line 172) | @Test method testGetBusinessDayWihHolidayNextYear (line 191) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicConfiguration.java class TestBasicConfiguration (line 26) | public class TestBasicConfiguration extends BasicConfiguration { method TestBasicConfiguration (line 29) | public TestBasicConfiguration() { method testGetBool (line 33) | @Test method testGetBoolOrElse (line 45) | @Test method testGetNumOrElse (line 60) | @Test method testGetStr (line 70) | @Test method testGetStrOrElse (line 79) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicContext.java class TestBasicContext (line 26) | public class TestBasicContext { method testContext (line 27) | @Test method testIsSafeToLogProperty (line 44) | @Test method testIsNotSafeToLogProperty (line 50) | @Test method testIsNotSafeToLogVsphereProperty (line 56) | @Test method testIsNotUsingProxyByDefault (line 62) | @Test method testIsAbleToUseProxyByConfiguration (line 74) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicMonkeyServer.java class TestBasicMonkeyServer (line 29) | @SuppressWarnings("serial") class SillyMonkey (line 35) | public static class SillyMonkey extends TestMonkey { method doMonkeyBusiness (line 36) | @Override method addMonkeysToRun (line 42) | @Override method testServer (line 48) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicRecorderEvent.java class TestBasicRecorderEvent (line 30) | public class TestBasicRecorderEvent { type Types (line 31) | public enum Types implements MonkeyType { type EventTypes (line 35) | public enum EventTypes implements EventType { method test (line 39) | @Test method testEvent (line 54) | void testEvent(BasicRecorderEvent evt) { FILE: src/test/java/com/netflix/simianarmy/basic/TestBasicScheduler.java class TestBasicScheduler (line 40) | public class TestBasicScheduler { method testConstructors (line 42) | @Test type Enums (line 53) | private enum Enums implements MonkeyType { type EventEnums (line 57) | private enum EventEnums implements EventType { method testRunner (line 61) | @Test method testDelayedStart (line 84) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/calendar/TestBavarianCalendar.java class TestBavarianCalendar (line 32) | public class TestBavarianCalendar extends BavarianCalendar { method TestBavarianCalendar (line 36) | public TestBavarianCalendar() { method now (line 42) | @Override method setNow (line 47) | private void setNow(Calendar now) { method easterDataProvider (line 51) | @DataProvider method testEaster (line 98) | @Test(dataProvider = "easterDataProvider") method holidayDataProvider (line 103) | @DataProvider method testHolidays (line 141) | @Test(dataProvider = "holidayDataProvider") FILE: src/test/java/com/netflix/simianarmy/basic/chaos/TestBasicChaosEmailNotifier.java class TestBasicChaosEmailNotifier (line 36) | public class TestBasicChaosEmailNotifier { type GroupTypes (line 44) | private enum GroupTypes implements GroupType { method beforeMethod (line 65) | @BeforeMethod method testInvalidEmailAddresses (line 70) | @Test method testValidEmailAddresses (line 86) | @Test method testbuildEmailSubject (line 105) | @Test method testbuildEmailSubjectWithSubjectPrefix (line 112) | @Test method testbuildEmailSubjectWithSubjectSuffix (line 120) | @Test method testbuildEmailSubjectWithSubjectPrefixSuffix (line 128) | @Test method testbuildEmailBody (line 137) | @Test method testbuildEmailBodyPrefix (line 144) | @Test method testbuildEmailBodySuffix (line 152) | @Test method testbuildEmailBodyPrefixSuffix (line 160) | @Test method testBuildAndSendEmail (line 169) | @Test method testBuildAndSendEmailSubjectIsBody (line 179) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/chaos/TestBasicChaosInstanceSelector.java class TestBasicChaosInstanceSelector (line 36) | public class TestBasicChaosInstanceSelector { method logger (line 39) | protected Logger logger() { type Types (line 44) | public enum Types implements GroupType { method type (line 49) | public GroupType type() { method name (line 53) | public String name() { method region (line 57) | public String region() { method tags (line 61) | public List tags() { method instances (line 65) | public List instances() { method addInstance (line 70) | public void addInstance(String ignored) { method copyAs (line 73) | @Override method testSelect (line 79) | @Test method evenSelectionDataProvider (line 93) | @DataProvider method testEvenSelections (line 101) | @Test(dataProvider = "evenSelectionDataProvider") method testSelectWithProbMoreThanOne (line 129) | @Test method testSelectWithProbMoreThanOneWithFraction (line 142) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/chaos/TestBasicChaosMonkey.java class TestBasicChaosMonkey (line 41) | public class TestBasicChaosMonkey { type GroupTypes (line 42) | private enum GroupTypes implements GroupType { method testDisabled (line 46) | @Test method testEnabledA (line 58) | @Test method testUnleashedEnabledA (line 74) | @Test method testEnabledB (line 92) | @Test method testUnleashedEnabledB (line 108) | @Test method testEnabledAwithout1 (line 126) | @Test method testEnabledAwith0 (line 141) | @Test method testAll (line 156) | @Test method testNoProbability (line 180) | @Test method testFullProbability (line 200) | @Test method testNoProbabilityByName (line 248) | @Test method testMaxTerminationCountPerDayAsZero (line 268) | @Test method testMaxTerminationCountPerDayAsOne (line 278) | @Test method testMaxTerminationCountPerDayAsBiggerThanOne (line 294) | @Test method testMaxTerminationCountPerDayAsSmallerThanOne (line 310) | @Test method testMaxTerminationCountPerDayAsNegative (line 326) | @Test method testMaxTerminationCountPerDayAsVerySmall (line 336) | @Test method testMaxTerminationCountPerDayGroupLevel (line 346) | @Test method testGetValueFromCfgWithDefault (line 364) | @Test method testMandatoryTerminationDisabled (line 392) | @Test method testMandatoryTerminationNotDefined (line 402) | @Test method testMandatoryTerminationNoOptInTime (line 412) | @Test method testMandatoryTerminationInsideWindow (line 422) | @Test method testMandatoryTerminationOutsideWindow (line 433) | @Test method testMandatoryTerminationOutsideWindowWithPreviousTermination (line 444) | @Test method testMandatoryTerminationInsideWindowWithPreviousTermination (line 458) | @Test method testNotificationEnabled (line 472) | @Test method testGlobalNotificationEnabled (line 484) | @Test method terminateOnDemand (line 496) | private void terminateOnDemand(TestChaosMonkeyContext ctx, String grou... method validateAddEventResult (line 509) | private void validateAddEventResult(ChaosMonkeyResource resource, Stri... FILE: src/test/java/com/netflix/simianarmy/basic/chaos/TestCloudFormationChaosMonkey.java class TestCloudFormationChaosMonkey (line 33) | public class TestCloudFormationChaosMonkey { method testIsGroupEnabled (line 37) | @Test method testIsMaxTerminationCountExceeded (line 49) | @Test method testGetEffectiveProbability (line 58) | @Test method testNoSuffixInstanceGroup (line 67) | @Test method testGetLastOptInMilliseconds (line 77) | @Test method testCloudFormationChaosMonkeyIntegration (line 86) | @Test FILE: src/test/java/com/netflix/simianarmy/basic/janitor/TestBasicJanitorRuleEngine.java class TestBasicJanitorRuleEngine (line 31) | public class TestBasicJanitorRuleEngine { method testEmptyRuleSet (line 33) | @Test method testAllValid (line 40) | @Test method testMixed (line 50) | @Test method testIsValidWithNearestTerminationTime (line 61) | @Test method testWithExclusionRuleMatch1 (line 80) | @Test void testWithExclusionRuleMatch1() { method testWithExclusionRuleMatch2 (line 89) | @Test void testWithExclusionRuleMatch2() { method testWithExclusionRuleNotMatch1 (line 98) | @Test void testWithExclusionRuleNotMatch1() { method testWithExclusionRuleNotMatch2 (line 107) | @Test void testWithExclusionRuleNotMatch2() { class AlwaysValidRule (line 117) | class AlwaysValidRule implements Rule { method isValid (line 118) | @Override class AlwaysInvalidRule (line 124) | class AlwaysInvalidRule implements Rule { method AlwaysInvalidRule (line 128) | public AlwaysInvalidRule(DateTime now, int retentionDays) { method isValid (line 133) | @Override FILE: src/test/java/com/netflix/simianarmy/chaos/TestChaosMonkeyArmy.java class TestChaosMonkeyArmy (line 38) | public class TestChaosMonkeyArmy { method createSshKey (line 41) | @BeforeTest method runChaosMonkey (line 48) | private TestChaosMonkeyContext runChaosMonkey(String key) { method runChaosMonkey (line 52) | private TestChaosMonkeyContext runChaosMonkey(String key, boolean burn... method checkSelected (line 74) | private void checkSelected(TestChaosMonkeyContext ctx) { method checkNotifications (line 83) | private void checkNotifications(TestChaosMonkeyContext ctx, String key) { method checkSshActions (line 92) | private void checkSshActions(TestChaosMonkeyContext ctx, String key) { method testShutdownInstance (line 114) | @Test method testBlockAllNetworkTraffic (line 130) | @Test method testDetachVolumes (line 147) | @Test method testBurnCpu (line 165) | @Test method testBurnIo (line 176) | @Test method testBurnIoWithoutBurnMoney (line 187) | @Test method testFillDisk (line 202) | @Test method testFillDiskWithoutBurnMoney (line 213) | @Test method testFailDns (line 229) | @Test method testFailDynamoDb (line 240) | @Test method testFailEc2 (line 251) | @Test method testFailS3 (line 262) | @Test method testKillProcess (line 273) | @Test method testNetworkCorruption (line 284) | @Test method testNetworkLatency (line 295) | @Test method testNetworkLoss (line 306) | @Test method testNullRoute (line 317) | @Test FILE: src/test/java/com/netflix/simianarmy/chaos/TestChaosMonkeyContext.java class TestChaosMonkeyContext (line 44) | public class TestChaosMonkeyContext extends TestMonkeyContext implements... method TestChaosMonkeyContext (line 48) | public TestChaosMonkeyContext() { method TestChaosMonkeyContext (line 52) | protected TestChaosMonkeyContext(Properties properties) { method TestChaosMonkeyContext (line 57) | public TestChaosMonkeyContext(String propFile) { method configuration (line 73) | @Override class TestInstanceGroup (line 78) | public static class TestInstanceGroup implements InstanceGroup { method TestInstanceGroup (line 85) | public TestInstanceGroup(GroupType type, String name, String region,... method tags (line 94) | @Override method type (line 99) | @Override method name (line 104) | @Override method region (line 109) | @Override method instances (line 114) | @Override method addInstance (line 119) | @Override method deleteInstance (line 123) | public void deleteInstance(String id) { method copyAs (line 127) | @Override type CrawlerTypes (line 133) | public enum CrawlerTypes implements GroupType { method chaosCrawler (line 137) | @Override method selectedOn (line 186) | public List selectedOn() { method chaosInstanceSelector (line 190) | @Override method terminated (line 207) | public List terminated() { method cloudClient (line 213) | @Override class SshAction (line 311) | public static class SshAction { method getInstanceId (line 318) | public String getInstanceId() { method getMethod (line 322) | public String getMethod() { method getPath (line 326) | public String getPath() { method getContents (line 330) | public String getContents() { method getCommand (line 334) | public String getCommand() { class MockSshClient (line 339) | private class MockSshClient implements SshClient { method MockSshClient (line 343) | public MockSshClient(String instanceId, LoginCredentials credentials) { method getUsername (line 348) | @Override method getHostAddress (line 353) | @Override method put (line 358) | @Override method get (line 363) | @Override method exec (line 368) | @Override method execChannel (line 382) | @Override method connect (line 387) | @Override method disconnect (line 391) | @Override method put (line 395) | @Override class Notification (line 409) | static class Notification { method Notification (line 413) | public Notification(String instance, ChaosType chaosType) { method getInstance (line 418) | public String getInstance() { method getChaosType (line 422) | public ChaosType getChaosType() { method chaosEmailNotifier (line 427) | @Override method getNotified (line 457) | public int getNotified() { method getGloballyNotified (line 461) | public int getGloballyNotified() { method getNotifiedList (line 465) | public List getNotifiedList() { method getGloballyNotifiedList (line 469) | public List getGloballyNotifiedList() { method getSshActions (line 473) | public List getSshActions() { method getCloudActions (line 477) | public List getCloudActions() { FILE: src/test/java/com/netflix/simianarmy/client/aws/TestAWSClient.java class TestAWSClient (line 41) | public class TestAWSClient extends AWSClient { method TestAWSClient (line 42) | public TestAWSClient() { method ec2Client (line 48) | protected AmazonEC2 ec2Client() { method asgClient (line 54) | protected AmazonAutoScalingClient asgClient() { method superEc2Client (line 58) | protected AmazonEC2 superEc2Client() { method superAsgClient (line 62) | protected AmazonAutoScalingClient superAsgClient() { method testClients (line 66) | @Test method testTerminateInstance (line 73) | @Test method mkAsgResult (line 87) | private DescribeAutoScalingGroupsResult mkAsgResult(String asgName, St... method testDescribeAutoScalingGroups (line 98) | @Test FILE: src/test/java/com/netflix/simianarmy/client/aws/chaos/TestASGChaosCrawler.java class TestASGChaosCrawler (line 44) | public class TestASGChaosCrawler { method mkAsg (line 47) | private AutoScalingGroup mkAsg(String asgName, String instanceId) { method TestASGChaosCrawler (line 58) | public TestASGChaosCrawler() { method testGroupTypes (line 63) | @Test method testGroups (line 70) | @Test method testFindAggressionCoefficient (line 95) | @Test method testFindAggressionCoefficient_two (line 107) | @Test method testFindAggressionCoefficient_null (line 119) | @Test method testFindAggressionCoefficient_unparsable (line 131) | @Test method makeTunableTag (line 143) | private TagDescription makeTunableTag(String value) { method testGetInstanceGroup_basic (line 150) | @Test method testGetInstanceGroup_tunable (line 160) | @Test FILE: src/test/java/com/netflix/simianarmy/client/aws/chaos/TestFilterASGChaosCrawler.java class TestFilterASGChaosCrawler (line 37) | public class TestFilterASGChaosCrawler { type Types (line 43) | public enum Types implements GroupType { method beforeTest (line 49) | @BeforeTest method testFilterGroups (line 57) | @Test FILE: src/test/java/com/netflix/simianarmy/client/vsphere/TestPropertyBasedTerminationStrategy.java class TestPropertyBasedTerminationStrategy (line 36) | public class TestPropertyBasedTerminationStrategy { method shouldReturnConfiguredPropertyNameAndValueAfterConstructedFromConfig (line 40) | @Test method shouldSetPropertyAndResetVirtualMachineAfterTermination (line 53) | @Test FILE: src/test/java/com/netflix/simianarmy/client/vsphere/TestVSpehereClient.java class TestVSpehereClient (line 38) | public class TestVSpehereClient { method shouldTerminateCorrectly (line 39) | @Test method shouldDescribeGroupsCorrectly (line 53) | @Test method flattenGroups (line 70) | private String flattenGroups(List groups) { method createVMMock (line 82) | private VirtualMachine createVMMock(String id) { FILE: src/test/java/com/netflix/simianarmy/client/vsphere/TestVSphereContext.java class TestVSphereContext (line 29) | public class TestVSphereContext { method shouldSetClientOfCorrectType (line 30) | @Test FILE: src/test/java/com/netflix/simianarmy/client/vsphere/TestVSphereGroups.java class TestVSphereGroups (line 30) | public class TestVSphereGroups { method shouldReturnListContainigSingleASGWhenAddInstanceIsCalledOnce (line 31) | @Test method shouldReturnListContainingSingleASGWithTwoInstancesWhenAddInstanceIsCaledTwiceForSameGroup (line 48) | @Test method shouldReturnListContainigTwoASGWhenAddInstanceIsCalledTwice (line 64) | @Test FILE: src/test/java/com/netflix/simianarmy/client/vsphere/TestVSphereServiceConnection.java class TestVSphereServiceConnection (line 42) | public class TestVSphereServiceConnection { method shouldReturnConfiguredPropertiesAfterConstructedFromConfig (line 46) | @Test method shouldCallSearchManagedEntityAndReturnVMForDoItGetVirtualMachineById (line 59) | @Test method shouldThrowExceptionWhenCallingSearchManagedEntitiesOnDescribeWhenNoVMsAreReturned (line 75) | @Test //(expectedExceptions = AmazonServiceException.class) method shouldCallSearchManagedEntitiesOnDescribeWhenAtLeastOneVMIsReturned (line 88) | @Test method shouldEncapsulateInvalidPropertyException (line 104) | @Test(expectedExceptions = AmazonServiceException.class) method shouldEncapsulateRuntimeFaultException (line 114) | @Test(expectedExceptions = AmazonServiceException.class) method shouldEncapsulateRemoteExceptionException (line 124) | @Test(expectedExceptions = AmazonServiceException.class) class VSphereServiceConnectionWithMockedInventoryNavigator (line 163) | class VSphereServiceConnectionWithMockedInventoryNavigator extends VSphe... method VSphereServiceConnectionWithMockedInventoryNavigator (line 166) | public VSphereServiceConnectionWithMockedInventoryNavigator() { method getInventoryNavigator (line 170) | @Override method getInventoryNavigatorMock (line 175) | public InventoryNavigator getInventoryNavigatorMock() { FILE: src/test/java/com/netflix/simianarmy/conformity/TestCrossZoneLoadBalancing.java class TestCrossZoneLoadBalancing (line 34) | public class TestCrossZoneLoadBalancing extends CrossZoneLoadBalancing { method init (line 38) | @BeforeClass method testDisabledCrossZoneLoadBalancing (line 46) | @Test method testEnabledCrossZoneLoadBalancing (line 55) | @Test method testAsgWithoutElb (line 63) | @Test method getLoadBalancerNamesForAsg (line 71) | @Override method isCrossZoneLoadBalancingEnabled (line 76) | @Override FILE: src/test/java/com/netflix/simianarmy/conformity/TestSameZonesInElbAndAsg.java class TestSameZonesInElbAndAsg (line 32) | public class TestSameZonesInElbAndAsg extends SameZonesInElbAndAsg { method init (line 37) | @BeforeClass method testZoneMismatch (line 49) | @Test method testZoneMatch (line 58) | @Test method testAsgWithoutElb (line 66) | @Test method getLoadBalancerNamesForAsg (line 74) | @Override method getAvailabilityZonesForAsg (line 79) | @Override method getAvailabilityZonesForLoadBalancer (line 84) | @Override FILE: src/test/java/com/netflix/simianarmy/janitor/TestAbstractJanitor.java class TestAbstractJanitor (line 36) | public class TestAbstractJanitor extends AbstractJanitor { method TestAbstractJanitor (line 40) | public TestAbstractJanitor(AbstractJanitor.Context ctx, ResourceType r... method postMark (line 54) | @Override method cleanup (line 59) | @Override method cleanupDryRun (line 71) | @Override method postCleanup (line 87) | @Override method generateTestingResources (line 92) | private static List generateTestingResources(int n) { method testJanitor (line 103) | @Test method testJanitorWithOptedOutResources (line 146) | @Test method testJanitorWithCleanupFailure (line 209) | @Test method getJanitor (line 238) | private static TestAbstractJanitor getJanitor(int numberOfCrawledResou... method testCleanupDryRunOnWithJanitorOnLeashWithAFailure (line 248) | @Test method testJanitorWithUnmarking (line 264) | @Test method testJanitorWithFutureTerminationTime (line 317) | @Test method testJanitorWithoutNotification (line 359) | @Test method testLeashedJanitorForMarking (line 397) | @Test method testJanitorWithoutHoldingOffCleanup (line 424) | @Test method testJanitorWithUnmarkingUserTerminated (line 467) | public static void testJanitorWithUnmarkingUserTerminated() { class TestJanitorCrawler (line 517) | class TestJanitorCrawler implements JanitorCrawler { method getCrawledResources (line 519) | public Collection getCrawledResources() { method TestJanitorCrawler (line 523) | public TestJanitorCrawler(Collection crawledResources) { method resourceTypes (line 527) | @Override method resources (line 532) | @Override method resources (line 537) | @Override method getOwnerEmailForResource (line 549) | @Override type TestResourceType (line 555) | enum TestResourceType implements ResourceType { class TestJanitorResourceTracker (line 559) | class TestJanitorResourceTracker implements JanitorResourceTracker { method TestJanitorResourceTracker (line 561) | public TestJanitorResourceTracker(Map trackedResourc... method addOrUpdate (line 565) | @Override method getResources (line 570) | @Override method getResource (line 583) | @Override method getResource (line 588) | @Override class IsEvenRule (line 598) | class IsEvenRule implements Rule { method isValid (line 599) | @Override class ImmediateCleanupRule (line 621) | class ImmediateCleanupRule implements Rule { method ImmediateCleanupRule (line 623) | public ImmediateCleanupRule(DateTime now) { method isValid (line 626) | @Override class TestJanitorContext (line 634) | class TestJanitorContext implements AbstractJanitor.Context { method TestJanitorContext (line 641) | public TestJanitorContext(String region, JanitorRuleEngine ruleEngine,... method region (line 650) | @Override method calendar (line 655) | @Override method janitorRuleEngine (line 660) | @Override method janitorCrawler (line 665) | @Override method janitorResourceTracker (line 670) | @Override method configuration (line 675) | @Override method recorder (line 680) | @Override FILE: src/test/java/com/netflix/simianarmy/janitor/TestBasicJanitorMonkeyContext.java class TestBasicJanitorMonkeyContext (line 35) | public class TestBasicJanitorMonkeyContext { method TestBasicJanitorMonkeyContext (line 51) | public TestBasicJanitorMonkeyContext() { method before (line 55) | @BeforeMethod method testAddRuleWithUntaggedRuleResource (line 61) | @Test method testAddRuleWithoutUntaggedRuleResource (line 75) | @Test method getUntaggedRuleResourceSet (line 89) | private Set getUntaggedRuleResourceSet() { FILE: src/test/java/com/netflix/simianarmy/resources/chaos/TestChaosMonkeyResource.java class TestChaosMonkeyResource (line 56) | public class TestChaosMonkeyResource { method init (line 73) | @BeforeTest method testTerminateNow (line 78) | @Test method testTerminateNowDisabled (line 109) | @Test method testTerminateNowBadInput (line 123) | @Test method testTerminateNowBadGroupNotExist (line 140) | @Test method testTerminateNowBadEventType (line 153) | @Test method testResource (line 162) | @Test method mkEvent (line 201) | private MonkeyRecorder.Event mkEvent(String instance) { class MockTestChaosMonkeyContext (line 209) | public static class MockTestChaosMonkeyContext extends TestChaosMonkey... method recorder (line 210) | @Override method getResource (line 216) | String getResource(String name) { method validateAddEventResult (line 221) | private void validateAddEventResult(ChaosMonkeyResource resource, Stri... FILE: src/test/java/com/netflix/simianarmy/tunable/TestTunablyAggressiveChaosMonkey.java class TestTunablyAggressiveChaosMonkey (line 31) | public class TestTunablyAggressiveChaosMonkey { type GroupTypes (line 32) | private enum GroupTypes implements GroupType { method testFullProbability_basic (line 36) | @Test method testFullProbability_tuned (line 49) | @Test