Skip to content

Commit 4d44e79

Browse files
Juan Pablo Diaz-VazJuan Pablo Diaz-Vaz
authored andcommitted
SUMOK-5 Transmit to Sumologic through HTTP Request
1 parent f03d14f commit 4d44e79

21 files changed

Lines changed: 130 additions & 143 deletions

build.xml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<property name="external.dir" location="${basedir}/external/" />
77
<dirset dir="${external.dir}/" includes="aws-java-sdk*" id="aws-sdk"/>
88
<pathconvert property="aws-sdk-dir" refid="aws-sdk" />
9+
910
<path id="sumologic.classpath">
1011
<fileset dir="${aws-sdk-dir}/third-party" includes="**/*.jar" />
1112
<fileset dir="${aws-sdk-dir}/lib" includes="**/*.jar" />
@@ -20,7 +21,6 @@
2021
<delete includeEmptyDirs="true" failOnError="false">
2122
<fileset dir="." includes="**/*.class" />
2223
<fileset dir="${basedir}/build"/>
23-
<fileset dir="${external.dir}"/>
2424
<fileset dir="${aws-sdk-dir}" />
2525
</delete>
2626
</target>
@@ -35,12 +35,19 @@
3535
<get src= "http://sdk-for-java.amazonwebservices.com/latest/aws-java-sdk.zip" dest="${src.dir}" usetimestamp="true" verbose="true" />
3636
</target>
3737

38-
<!-- Import setup and unzip targets -->
39-
<import file="${basedir}/shared-build.xml"/>
38+
<target name="unzip">
39+
<unzip src= "${src.dir}/aws-java-sdk.zip" dest="${src.dir}" />
40+
<delete file= "${src.dir}/aws-java-sdk.zip" />
41+
</target>
42+
43+
<target name="setup">
44+
<antcall target="download"/>
45+
<antcall target="unzip"/>
46+
</target>
4047

4148
<target name="run">
4249
<mkdir dir="${basedir}/build"/>
4350
<javac srcdir="${src.dir}/" destdir="${basedir}/build" classpathref="sumologic.classpath" />
4451
<java classname="com.mcplusa.sumologic.SumologicExecutor" classpathref="sumologic.classpath" fork="true" />
4552
</target>
46-
</project>
53+
</project>
-33.2 MB
Binary file not shown.
-15.9 MB
Binary file not shown.
-18.1 MB
Binary file not shown.
-55.5 KB
Binary file not shown.

external/lib/log4j-1.2.17.jar

-478 KB
Binary file not shown.
-19.7 KB
Binary file not shown.

log4j.properties

Lines changed: 0 additions & 47 deletions
This file was deleted.

shared-build.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/com/mcplusa/kinesis/BatchedStreamSource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.commons.logging.LogFactory;
3030

3131
import com.amazonaws.services.kinesis.connectors.KinesisConnectorConfiguration;
32+
3233
import com.amazonaws.services.kinesis.model.PutRecordRequest;
3334

3435
/**

0 commit comments

Comments
 (0)