这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Conversation

@jsuhhome
Copy link

@jsuhhome jsuhhome commented Jan 10, 2017

  1. upgraded to jcloud 2.0.0 from 1.9.0 to remove the following noClassDefFoundError when attempting to do POST HTTP networklatency chaos.
    java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions

  2. forced com.google.inject.extensions to be version 4.0 to remove the 2nd NoClassDefFoundError when attempting to do POST HTTP networklatency chaos.
    java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps

  3. BasicInstanceGroup class now holds a new BasicInstance type and not just a string. This Instance type will hold more detailed meta data of the instances, specifically the associated ec2 tags.

  4. Here is a sample of the ec2 tags that are included in the JSON. Only ec2 instances that have all the matching key=value pairs will be considered for termination. Amongst these, 1 ec2 server will be randomly terminated.

{ "eventType":"CHAOS_TERMINATION", "groupType":"ASG", "groupName":"SimianMonkeyASG", "chaosType":"ShutdownInstance",
"tags" : [
{"key" : "app-host-type", "value" : "reports"},
{"key" : "app-category", "value" : "reportServer"}
]
}

  1. Unit tests were updated.

1. upgraded to jcloud 2.0.0 from 1.9.0 to remove the following noClassDefFoundError when attempting to do POST HTTP networklatency chaos. 
	java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions

2. forced com.google.inject.extensions to be version 4.0 to remove the 2nd NoClassDefFoundError when attempting to do POST HTTP networklatency chaos.
	java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps
	
3. BasicInstance class now holds a new Instance type and not just a string. This Instance type will hold more detailed meta data of the instances, specifically the associated ec2 tags.

4. Here is a sample of the ec2 tags that are included in the JSON. Only ec2 instances that have all the matching key=value pairs will be considered for termination. Amongst these, 1 ec2 server will be randomly terminated.

{ "eventType":"CHAOS_TERMINATION", "groupType":"ASG", "groupName":"SimianMonkeyASG", "chaosType":"ShutdownInstance",
	"tags" : [
			{"key"  : "app-host-type", "value" : "reports"},
			{"key"  : "app-category", "value" : "reportServer"}			
		     ]
}

5. Unit tests were updated.
@jsuhhome jsuhhome closed this Sep 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant