This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.amazonaws.auth.BasicAWSCredentials; | |
import com.amazonaws.services.s3.AmazonS3; | |
import com.amazonaws.services.s3.AmazonS3Client; | |
import com.amazonaws.services.s3.model.Bucket; | |
import com.amazonaws.services.s3.model.BucketTaggingConfiguration; | |
import com.amazonaws.services.s3.model.TagSet; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import division | |
import time | |
import os | |
import hashlib | |
import tempfile | |
from math import ceil | |
from cStringIO import StringIO | |
from concurrent.futures import ThreadPoolExecutor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import division | |
import time | |
import os | |
import hashlib | |
import tempfile | |
from math import ceil | |
from cStringIO import StringIO | |
from concurrent.futures import ThreadPoolExecutor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import division | |
import time | |
import os | |
import hashlib | |
import tempfile | |
from math import ceil | |
from cStringIO import StringIO | |
from concurrent.futures import ThreadPoolExecutor | |
from eucaops import Eucaops |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## need to bundle an instance before running this test, | |
## there's too much hard coded data | |
#!/usr/bin/python | |
import time | |
from eucaops import Eucaops | |
from eutester.eutestcase import EutesterTestCase | |
import os | |
import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from boto.exception import EC2ResponseError | |
from eucaops import Eucaops | |
from eutester.eutestcase import EutesterTestCase | |
import time | |
import os | |
class EC2IamTest(EutesterTestCase): | |
def __init__(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time | |
from eucaops import Eucaops | |
from eutester.eutestcase import EutesterTestCase | |
from boto.s3.key import Key | |
import os | |
class OSGBasics(EutesterTestCase): | |
def __init__(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Predicate; | |
import com.google.common.collect.Iterables; | |
import com.google.common.collect.Lists; | |
import java.util.List; | |
import static com.google.common.base.Predicates.and; | |
public class PredicateMyAss { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time | |
from eucaops import Eucaops | |
from eutester.eutestcase import EutesterTestCase | |
import os | |
class InstanceBasics(EutesterTestCase): | |
def __init__(self): | |
#### Pre-conditions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time | |
from eucaops import Eucaops | |
from eutester.eutestcase import EutesterTestCase | |
import os | |
class InstanceBasics(EutesterTestCase): | |
def __init__(self): | |
#### Pre-conditions |