Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit 4e0fd92

Browse files
author
Larry Ogrodnek
committed
initial
0 parents  commit 4e0fd92

File tree

18 files changed

+4018
-0
lines changed

18 files changed

+4018
-0
lines changed

.classpath

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src/test/java" output="target/test-classes" including="**/*.java"/>
4+
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
5+
<classpathentry kind="output" path="target/classes"/>
6+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
7+
<classpathentry kind="var" path="M2_REPO/commons-io/commons-io/2.4/commons-io-2.4.jar"/>
8+
<classpathentry kind="var" path="M2_REPO/com/amazonaws/aws-java-sdk/1.6.4/aws-java-sdk-1.6.4.jar"/>
9+
<classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
10+
<classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpclient/4.2/httpclient-4.2.jar"/>
11+
<classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.2/httpcore-4.2.jar"/>
12+
<classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/>
13+
<classpathentry kind="var" path="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.1.1/jackson-core-2.1.1.jar"/>
14+
<classpathentry kind="var" path="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.1.1/jackson-databind-2.1.1.jar"/>
15+
<classpathentry kind="var" path="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.1.1/jackson-annotations-2.1.1.jar"/>
16+
<classpathentry kind="var" path="M2_REPO/junit/junit/4.11/junit-4.11.jar"/>
17+
<classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
18+
</classpath>

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# /
3+
/lib
4+
/tools
5+
/target
6+
/.git
7+
/build.properties

.project

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>aws-java-sdk-stubs</name>
4+
<comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
5+
<projects/>
6+
<buildSpec>
7+
<buildCommand>
8+
<name>org.eclipse.jdt.core.javabuilder</name>
9+
</buildCommand>
10+
</buildSpec>
11+
<natures>
12+
<nature>org.eclipse.jdt.core.javanature</nature>
13+
</natures>
14+
</projectDescription>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Tue Jan 21 16:55:35 PST 2014
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
eclipse.preferences.version=1
4+
encoding/src/main/java=UTF-8
5+
org.eclipse.jdt.core.compiler.source=1.6
6+
encoding/src/test/resources=UTF-8
7+
encoding/src/main/resources=UTF-8
8+
encoding/src/test/java=UTF-8
9+
org.eclipse.jdt.core.compiler.compliance=1.6

pom.xml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.bizo</groupId>
5+
<artifactId>aws-java-sdk-stubs</artifactId>
6+
<version>1.2.0</version>
7+
<dependencies>
8+
<dependency>
9+
<groupId>commons-io</groupId>
10+
<artifactId>commons-io</artifactId>
11+
<version>2.4</version>
12+
</dependency>
13+
<dependency>
14+
<groupId>com.amazonaws</groupId>
15+
<artifactId>aws-java-sdk</artifactId>
16+
<version>1.6.4</version>
17+
</dependency>
18+
<dependency>
19+
<groupId>junit</groupId>
20+
<artifactId>junit</artifactId>
21+
<version>4.11</version>
22+
<scope>test</scope>
23+
</dependency>
24+
</dependencies>
25+
<properties>
26+
<!-- use UTF-8 for everything -->
27+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
29+
</properties>
30+
<build>
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-compiler-plugin</artifactId>
35+
<version>3.1</version>
36+
<configuration>
37+
<source>1.6</source>
38+
<target>1.6</target>
39+
<encoding>UTF-8</encoding>
40+
</configuration>
41+
</plugin>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-site-plugin</artifactId>
45+
<version>3.0</version>
46+
<configuration>
47+
<reportPlugins>
48+
<plugin>
49+
<groupId>org.codehaus.mojo</groupId>
50+
<artifactId>cobertura-maven-plugin</artifactId>
51+
<version>2.5.1</version>
52+
<configuration>
53+
<formats>
54+
<format>html</format>
55+
<format>xml</format>
56+
</formats>
57+
</configuration>
58+
</plugin>
59+
</reportPlugins>
60+
</configuration>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
</project>

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Stub classes for the [aws-sdk-java](https://github.com/aws/aws-sdk-java) services to make writing tests easier.
Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
package com.bizo.awsstubs.services.autoscaling;
2+
3+
import com.amazonaws.AmazonWebServiceRequest;
4+
import com.amazonaws.ResponseMetadata;
5+
import com.amazonaws.regions.Region;
6+
import com.amazonaws.services.autoscaling.AmazonAutoScaling;
7+
import com.amazonaws.services.autoscaling.model.*;
8+
9+
public class AmazonAutoScalingStub implements AmazonAutoScaling {
10+
@Override
11+
public void shutdown() {
12+
throw new UnsupportedOperationException();
13+
}
14+
15+
@Override
16+
public void setEndpoint(final String arg0) {
17+
throw new UnsupportedOperationException();
18+
}
19+
20+
@Override
21+
public void setRegion(final Region arg0) {
22+
throw new UnsupportedOperationException();
23+
}
24+
25+
@Override
26+
public DescribeAutoScalingGroupsResult describeAutoScalingGroups(final DescribeAutoScalingGroupsRequest arg0) {
27+
throw new UnsupportedOperationException();
28+
}
29+
30+
@Override
31+
public DescribeAutoScalingGroupsResult describeAutoScalingGroups() {
32+
throw new UnsupportedOperationException();
33+
}
34+
35+
@Override
36+
public void enableMetricsCollection(final EnableMetricsCollectionRequest arg0) {
37+
throw new UnsupportedOperationException();
38+
}
39+
40+
@Override
41+
public void resumeProcesses(final ResumeProcessesRequest arg0) {
42+
throw new UnsupportedOperationException();
43+
}
44+
45+
@Override
46+
public void deleteLaunchConfiguration(final DeleteLaunchConfigurationRequest arg0) {
47+
throw new UnsupportedOperationException();
48+
}
49+
50+
@Override
51+
public DescribePoliciesResult describePolicies(final DescribePoliciesRequest arg0) {
52+
throw new UnsupportedOperationException();
53+
}
54+
55+
@Override
56+
public DescribePoliciesResult describePolicies() {
57+
throw new UnsupportedOperationException();
58+
}
59+
60+
@Override
61+
public DescribeScalingProcessTypesResult describeScalingProcessTypes() {
62+
throw new UnsupportedOperationException();
63+
}
64+
65+
@Override
66+
public DescribeScalingProcessTypesResult describeScalingProcessTypes(final DescribeScalingProcessTypesRequest arg0) {
67+
throw new UnsupportedOperationException();
68+
}
69+
70+
@Override
71+
public void createAutoScalingGroup(final CreateAutoScalingGroupRequest arg0) {
72+
throw new UnsupportedOperationException();
73+
}
74+
75+
@Override
76+
public DescribeScalingActivitiesResult describeScalingActivities(final DescribeScalingActivitiesRequest arg0) {
77+
throw new UnsupportedOperationException();
78+
}
79+
80+
@Override
81+
public DescribeScalingActivitiesResult describeScalingActivities() {
82+
throw new UnsupportedOperationException();
83+
}
84+
85+
@Override
86+
public DescribeNotificationConfigurationsResult describeNotificationConfigurations() {
87+
throw new UnsupportedOperationException();
88+
}
89+
90+
@Override
91+
public DescribeNotificationConfigurationsResult describeNotificationConfigurations(
92+
final DescribeNotificationConfigurationsRequest arg0) {
93+
throw new UnsupportedOperationException();
94+
}
95+
96+
@Override
97+
public DescribeTerminationPolicyTypesResult describeTerminationPolicyTypes(
98+
final DescribeTerminationPolicyTypesRequest arg0) {
99+
throw new UnsupportedOperationException();
100+
}
101+
102+
@Override
103+
public DescribeTerminationPolicyTypesResult describeTerminationPolicyTypes() {
104+
throw new UnsupportedOperationException();
105+
}
106+
107+
@Override
108+
public DescribeTagsResult describeTags(final DescribeTagsRequest arg0) {
109+
throw new UnsupportedOperationException();
110+
}
111+
112+
@Override
113+
public DescribeTagsResult describeTags() {
114+
throw new UnsupportedOperationException();
115+
}
116+
117+
@Override
118+
public void executePolicy(final ExecutePolicyRequest arg0) {
119+
throw new UnsupportedOperationException();
120+
}
121+
122+
@Override
123+
public void deleteTags(final DeleteTagsRequest arg0) {
124+
throw new UnsupportedOperationException();
125+
}
126+
127+
@Override
128+
public PutScalingPolicyResult putScalingPolicy(final PutScalingPolicyRequest arg0) {
129+
throw new UnsupportedOperationException();
130+
}
131+
132+
@Override
133+
public void putNotificationConfiguration(final PutNotificationConfigurationRequest arg0) {
134+
throw new UnsupportedOperationException();
135+
}
136+
137+
@Override
138+
public void deletePolicy(final DeletePolicyRequest arg0) {
139+
throw new UnsupportedOperationException();
140+
}
141+
142+
@Override
143+
public void deleteNotificationConfiguration(final DeleteNotificationConfigurationRequest arg0) {
144+
throw new UnsupportedOperationException();
145+
}
146+
147+
@Override
148+
public void deleteScheduledAction(final DeleteScheduledActionRequest arg0) {
149+
throw new UnsupportedOperationException();
150+
}
151+
152+
@Override
153+
public void setInstanceHealth(final SetInstanceHealthRequest arg0) {
154+
throw new UnsupportedOperationException();
155+
}
156+
157+
@Override
158+
public DescribeAutoScalingNotificationTypesResult describeAutoScalingNotificationTypes() {
159+
throw new UnsupportedOperationException();
160+
}
161+
162+
@Override
163+
public DescribeAutoScalingNotificationTypesResult describeAutoScalingNotificationTypes(
164+
final DescribeAutoScalingNotificationTypesRequest arg0) {
165+
throw new UnsupportedOperationException();
166+
}
167+
168+
@Override
169+
public void createOrUpdateTags(final CreateOrUpdateTagsRequest arg0) {
170+
throw new UnsupportedOperationException();
171+
}
172+
173+
@Override
174+
public void suspendProcesses(final SuspendProcessesRequest arg0) {
175+
throw new UnsupportedOperationException();
176+
}
177+
178+
@Override
179+
public DescribeAutoScalingInstancesResult describeAutoScalingInstances() {
180+
throw new UnsupportedOperationException();
181+
}
182+
183+
@Override
184+
public DescribeAutoScalingInstancesResult describeAutoScalingInstances(final DescribeAutoScalingInstancesRequest arg0) {
185+
throw new UnsupportedOperationException();
186+
}
187+
188+
@Override
189+
public void createLaunchConfiguration(final CreateLaunchConfigurationRequest arg0) {
190+
throw new UnsupportedOperationException();
191+
}
192+
193+
@Override
194+
public void deleteAutoScalingGroup(final DeleteAutoScalingGroupRequest arg0) {
195+
throw new UnsupportedOperationException();
196+
}
197+
198+
@Override
199+
public void disableMetricsCollection(final DisableMetricsCollectionRequest arg0) {
200+
throw new UnsupportedOperationException();
201+
}
202+
203+
@Override
204+
public void updateAutoScalingGroup(final UpdateAutoScalingGroupRequest arg0) {
205+
throw new UnsupportedOperationException();
206+
}
207+
208+
@Override
209+
public DescribeLaunchConfigurationsResult describeLaunchConfigurations(final DescribeLaunchConfigurationsRequest arg0) {
210+
throw new UnsupportedOperationException();
211+
}
212+
213+
@Override
214+
public DescribeLaunchConfigurationsResult describeLaunchConfigurations() {
215+
throw new UnsupportedOperationException();
216+
}
217+
218+
@Override
219+
public DescribeAdjustmentTypesResult describeAdjustmentTypes(final DescribeAdjustmentTypesRequest arg0) {
220+
throw new UnsupportedOperationException();
221+
}
222+
223+
@Override
224+
public DescribeAdjustmentTypesResult describeAdjustmentTypes() {
225+
throw new UnsupportedOperationException();
226+
}
227+
228+
@Override
229+
public DescribeScheduledActionsResult describeScheduledActions(final DescribeScheduledActionsRequest arg0) {
230+
throw new UnsupportedOperationException();
231+
}
232+
233+
@Override
234+
public DescribeScheduledActionsResult describeScheduledActions() {
235+
throw new UnsupportedOperationException();
236+
}
237+
238+
@Override
239+
public void putScheduledUpdateGroupAction(final PutScheduledUpdateGroupActionRequest arg0) {
240+
throw new UnsupportedOperationException();
241+
}
242+
243+
@Override
244+
public DescribeMetricCollectionTypesResult describeMetricCollectionTypes() {
245+
throw new UnsupportedOperationException();
246+
}
247+
248+
@Override
249+
public DescribeMetricCollectionTypesResult describeMetricCollectionTypes(
250+
final DescribeMetricCollectionTypesRequest arg0) {
251+
throw new UnsupportedOperationException();
252+
}
253+
254+
@Override
255+
public void setDesiredCapacity(final SetDesiredCapacityRequest arg0) {
256+
throw new UnsupportedOperationException();
257+
}
258+
259+
@Override
260+
public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingGroup(
261+
final TerminateInstanceInAutoScalingGroupRequest arg0) {
262+
throw new UnsupportedOperationException();
263+
}
264+
265+
@Override
266+
public ResponseMetadata getCachedResponseMetadata(final AmazonWebServiceRequest arg0) {
267+
throw new UnsupportedOperationException();
268+
}
269+
}

0 commit comments

Comments
 (0)