-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Source Fixed issue with PutRecords metrics
- Loading branch information
Showing
26 changed files
with
2,318 additions
and
1 deletion.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | ||
<id>complete</id> | ||
<formats> | ||
<format>jar</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>/</outputDirectory> | ||
<unpack>true</unpack> | ||
<scope>runtime</scope> | ||
</dependencySet> | ||
</dependencySets> | ||
</assembly> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>kinesis-scaling-utils</artifactId> | ||
<version>.9.1.3</version> | ||
<licenses> | ||
<license> | ||
<name>Amazon Software License</name> | ||
<url>https://aws.amazon.com/asl</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<build> | ||
<defaultGoal>install assembly:assembly</defaultGoal> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<includes> | ||
<include>README</include> | ||
<include>*.properties</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<testResources> | ||
<testResource> | ||
<directory>src/test/resources</directory> | ||
<includes> | ||
<include>*.properties</include> | ||
</includes> | ||
</testResource> | ||
</testResources> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>2.1</version> | ||
<configuration> | ||
<finalName>KinesisScalingUtils.jar</finalName> | ||
<descriptors> | ||
<descriptor>assembly.xml</descriptor> | ||
</descriptors> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.6</version> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<log4j.configuration>file:${project.build.testOutputDirectory}/log4j-surefire.properties</log4j.configuration> | ||
</systemPropertyVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<warSourceDirectory>src/main/WebContent</warSourceDirectory> | ||
<failOnMissingWebXml>true</failOnMissingWebXml> | ||
<warName>KinesisAutoscaling</warName> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.mycila</groupId> | ||
<artifactId>license-maven-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<header>${basedir}/license/asl/header.txt</header> | ||
<includes> | ||
<include>**/*.java</include> | ||
</includes> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>aws-java-sdk-core</artifactId> | ||
<version>1.9.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>aws-java-sdk-kinesis</artifactId> | ||
<version>1.9.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>aws-java-sdk-s3</artifactId> | ||
<version>1.9.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.amazonaws</groupId> | ||
<artifactId>aws-java-sdk-cloudwatch</artifactId> | ||
<version>1.9.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>javax.servlet-api</artifactId> | ||
<version>3.0.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>LATEST</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>LATEST</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>joda-time</groupId> | ||
<artifactId>joda-time</artifactId> | ||
<version>2.2</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://java.sun.com/xml/ns/javaee" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | ||
id="WebApp_ID" version="3.0"> | ||
<display-name>Kinesis Autoscaling</display-name> | ||
<welcome-file-list> | ||
<welcome-file>index.html</welcome-file> | ||
</welcome-file-list> | ||
<listener> | ||
<listener-class>com.amazonaws.services.kinesis.scaling.auto.app.KinesisAutoscalingBeanstalkApp</listener-class> | ||
</listener> | ||
</web-app> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Icons Copyright (c) Yusuke Kamiyamane. | ||
Licensed under a Creative Commons Attribution 3.0 license. | ||
|
||
http://p.yusukekamiyamane.com | ||
http://creativecommons.org/licenses/by/3.0/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>Kinesis Autoscaling</title> | ||
</head> | ||
<body> | ||
OK - Kinesis Autoscaling Online | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
/************************************* | ||
GENERAL | ||
*************************************/ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font: 12px/1.4em "Lucida Grande", Verdana, sans-serif; | ||
color: #333; | ||
overflow-y: scroll; | ||
text-rendering: optimizeLegibility; | ||
background-color: #d5e9ed; | ||
} | ||
|
||
h2 { | ||
font-size: 1.3em; | ||
line-height: 1.5em; | ||
font-weight: bold; | ||
margin: 20px 0 0 0; | ||
padding: 0; | ||
border-bottom: 3px solid #eee; | ||
|
||
/* icon setup */ | ||
padding: 0.2em 1em 0.2em 30px; | ||
background-position: 0 50%; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
|
||
/************************************* | ||
SECTIONS | ||
*************************************/ | ||
div#content { | ||
margin: 30px auto; | ||
padding: 0 30px 15px 30px; | ||
background-color: #fff; | ||
width: 940px; | ||
|
||
/* box-shadow */ | ||
-moz-box-shadow: 0 5px 10px #aaa; | ||
-webkit-box-shadow: 0 5px 10px #aaa; | ||
box-shadow: 0 5px 10px #aaa; | ||
|
||
/* bottom corners */ | ||
-webkit-border-bottom-right-radius: 7px; | ||
-webkit-border-bottom-left-radius: 7px; | ||
-moz-border-radius-bottomright: 7px; | ||
-moz-border-radius-bottomleft: 7px; | ||
border-bottom-right-radius: 7px; | ||
border-bottom-left-radius: 7px; | ||
} | ||
|
||
/*div#content div.section {}*/ | ||
|
||
div#content div.section ul { | ||
margin: 0; | ||
padding: 1em 0 0 2em; | ||
overflow: hidden; | ||
} | ||
|
||
div#content div.section ul li { | ||
list-style-type: square; | ||
white-space: nowrap; | ||
line-height: 1.5em; | ||
} | ||
|
||
/* Section titles */ | ||
div#content div.section.s3 h2 { | ||
background-image: url(../images/drive.png); | ||
} | ||
|
||
div#content div.section.ec2 h2 { | ||
background-image: url(../images/server.png); | ||
} | ||
|
||
div#content div.section.sdb h2 { | ||
background-image: url(../images/database.png); | ||
} | ||
|
||
|
||
/************************************* | ||
CONTAINERS | ||
*************************************/ | ||
.container { | ||
zoom: 1; | ||
} | ||
|
||
.container:after { | ||
content: "."; | ||
display: block; | ||
height: 0; | ||
clear: both; | ||
visibility: hidden; | ||
} | ||
|
||
|
||
/************************************* | ||
GRIDS | ||
*************************************/ | ||
.grid { float: left; margin-right: 20px; } | ||
.gridlast { margin-right: 0; } | ||
.grid5 { width: 300px; } | ||
.grid15 { width: 940px; } |
Oops, something went wrong.