This file contains 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
# | |
# This is the apache config for eucalyptus: we use it only to load the | |
# axis2c module which will take care of the WebServices | |
# | |
ServerTokens OS | |
ServerRoot "/tmp" | |
ServerName 127.0.0.1 |
This file contains 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
public class FrobnosticatorTests { | |
@Test | |
public void basicFrobnosticationTest() throws Exception { | |
Frobnosticator frobnosticator = new Frobnosticator(); | |
Frobnosticatee frobnosticatee = new Frobnosticatee(); | |
frobnosticator.frobnosticate( frobnosticatee ); | |
assertTrue("expecting frobnosticatee to be frobnosticated after the call to frobnosticate", | |
frobnosticatee.isFrobnosticated() ); | |
} |
This file contains 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/groovy | |
import com.eucalyptus.objectstorage.LifecycleCleanupJob; | |
def runIt() { | |
LifecycleCleanupJob job = new LifecycleCleanupJob(); | |
job.execute(null); | |
} | |
return runIt(); |
This file contains 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
2014-12-10 13:31:55 INFO 000001004 LifecycleReaperJob | beginning Object Lifecycle processing | |
2014-12-10 13:31:55 DEBUG 000001004 LifecycleReaperJob | retrieving Object Lifecycle rules from the database | |
2014-12-10 13:31:55 DEBUG 000001004 LifecycleReaperJob | found 2 Object Lifecycle rules | |
2014-12-10 13:31:55 DEBUG 000001004 LifecycleReaperJob | rule id - lifecycle-rule-access-logs-hasp-euca-lb-435e09fa on bucket 265adebb-b5df-4930-af7b-b5cb162371b9 processing | |
2014-12-10 13:31:55 INFO 000001004 LifecycleReaperJob | processing phase one for ruleId 'lifecycle-rule-access-logs-hasp-euca-lb-435e09fa' for bucket access-logs-hasp-euca-lb-435e09fa against objects pre | |
fixed 'lifecycle-prefix-access-logs-hasp-euca-lb-435e09fa', marking matches for expiration if they are older than 1 days old | |
2014-12-10 13:31:55 DEBUG 000001004 LifecycleReaperJob | there were no objects in bucket access-logs-hasp-euca-lb-435e09fa with prefix lifecycle-prefix-access-logs-hasp-euca-lb-435e09fa older |
This file contains 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
def makeSurefireReport(Map reportData) { | |
def testSuiteName = 'HA clustered node database comparison' | |
def reportErrors = reportData['errors'] ? reportData['errors'] : '0' | |
def reportFailures = reportData['failures'] ? reportData['failures'] : '0' | |
def testFailed = reportData['errors'] || reportData['failures'] | |
def surefireReport = new MarkupBuilder() | |
surefireReport.encoding = 'UTF-8' | |
if (testFailed) { | |
surefireReport. | |
testsuite(name: testSuiteName, tests: '1', skipped: '0', errors: reportErrors, failures: reportFailures) { |
This file contains 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
(4^(3/2))*3 |