logstash-input-jsqs 0.10.0-java → 5.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -0
  3. data/CONTRIBUTORS +10 -0
  4. data/Gemfile +1 -0
  5. data/LICENSE +0 -2
  6. data/README.md +7 -7
  7. data/lib/com/amazonaws/aws-java-sdk-acm/1.11.76/aws-java-sdk-acm-1.11.76.jar +0 -0
  8. data/lib/com/amazonaws/aws-java-sdk-api-gateway/1.11.76/aws-java-sdk-api-gateway-1.11.76.jar +0 -0
  9. data/lib/com/amazonaws/aws-java-sdk-applicationautoscaling/1.11.76/aws-java-sdk-applicationautoscaling-1.11.76.jar +0 -0
  10. data/lib/com/amazonaws/aws-java-sdk-appstream/1.11.76/aws-java-sdk-appstream-1.11.76.jar +0 -0
  11. data/lib/com/amazonaws/aws-java-sdk-autoscaling/1.11.76/aws-java-sdk-autoscaling-1.11.76.jar +0 -0
  12. data/lib/com/amazonaws/aws-java-sdk-batch/1.11.76/aws-java-sdk-batch-1.11.76.jar +0 -0
  13. data/lib/com/amazonaws/aws-java-sdk-budgets/1.11.76/aws-java-sdk-budgets-1.11.76.jar +0 -0
  14. data/lib/com/amazonaws/aws-java-sdk-cloudformation/1.11.76/aws-java-sdk-cloudformation-1.11.76.jar +0 -0
  15. data/lib/com/amazonaws/aws-java-sdk-cloudfront/1.11.76/aws-java-sdk-cloudfront-1.11.76.jar +0 -0
  16. data/lib/com/amazonaws/aws-java-sdk-cloudhsm/1.11.76/aws-java-sdk-cloudhsm-1.11.76.jar +0 -0
  17. data/lib/com/amazonaws/aws-java-sdk-cloudsearch/1.11.76/aws-java-sdk-cloudsearch-1.11.76.jar +0 -0
  18. data/lib/com/amazonaws/aws-java-sdk-cloudtrail/1.11.76/aws-java-sdk-cloudtrail-1.11.76.jar +0 -0
  19. data/lib/com/amazonaws/aws-java-sdk-cloudwatch/1.11.76/aws-java-sdk-cloudwatch-1.11.76.jar +0 -0
  20. data/lib/com/amazonaws/aws-java-sdk-cloudwatchmetrics/1.11.76/aws-java-sdk-cloudwatchmetrics-1.11.76.jar +0 -0
  21. data/lib/com/amazonaws/aws-java-sdk-codebuild/1.11.76/aws-java-sdk-codebuild-1.11.76.jar +0 -0
  22. data/lib/com/amazonaws/aws-java-sdk-codecommit/1.11.76/aws-java-sdk-codecommit-1.11.76.jar +0 -0
  23. data/lib/com/amazonaws/aws-java-sdk-codedeploy/1.11.76/aws-java-sdk-codedeploy-1.11.76.jar +0 -0
  24. data/lib/com/amazonaws/aws-java-sdk-codepipeline/1.11.76/aws-java-sdk-codepipeline-1.11.76.jar +0 -0
  25. data/lib/com/amazonaws/aws-java-sdk-cognitoidentity/1.11.76/aws-java-sdk-cognitoidentity-1.11.76.jar +0 -0
  26. data/lib/com/amazonaws/aws-java-sdk-cognitoidp/1.11.76/aws-java-sdk-cognitoidp-1.11.76.jar +0 -0
  27. data/lib/com/amazonaws/aws-java-sdk-cognitosync/1.11.76/aws-java-sdk-cognitosync-1.11.76.jar +0 -0
  28. data/lib/com/amazonaws/aws-java-sdk-config/1.11.76/aws-java-sdk-config-1.11.76.jar +0 -0
  29. data/lib/com/amazonaws/aws-java-sdk-core/1.11.76/aws-java-sdk-core-1.11.76.jar +0 -0
  30. data/lib/com/amazonaws/aws-java-sdk-datapipeline/1.11.76/aws-java-sdk-datapipeline-1.11.76.jar +0 -0
  31. data/lib/com/amazonaws/aws-java-sdk-devicefarm/1.11.76/aws-java-sdk-devicefarm-1.11.76.jar +0 -0
  32. data/lib/com/amazonaws/aws-java-sdk-directconnect/1.11.76/aws-java-sdk-directconnect-1.11.76.jar +0 -0
  33. data/lib/com/amazonaws/aws-java-sdk-directory/1.11.76/aws-java-sdk-directory-1.11.76.jar +0 -0
  34. data/lib/com/amazonaws/aws-java-sdk-discovery/1.11.76/aws-java-sdk-discovery-1.11.76.jar +0 -0
  35. data/lib/com/amazonaws/aws-java-sdk-dms/1.11.76/aws-java-sdk-dms-1.11.76.jar +0 -0
  36. data/lib/com/amazonaws/aws-java-sdk-dynamodb/1.11.76/aws-java-sdk-dynamodb-1.11.76.jar +0 -0
  37. data/lib/com/amazonaws/aws-java-sdk-ec2/1.11.76/aws-java-sdk-ec2-1.11.76.jar +0 -0
  38. data/lib/com/amazonaws/aws-java-sdk-ecr/1.11.76/aws-java-sdk-ecr-1.11.76.jar +0 -0
  39. data/lib/com/amazonaws/aws-java-sdk-ecs/1.11.76/aws-java-sdk-ecs-1.11.76.jar +0 -0
  40. data/lib/com/amazonaws/aws-java-sdk-efs/1.11.76/aws-java-sdk-efs-1.11.76.jar +0 -0
  41. data/lib/com/amazonaws/aws-java-sdk-elasticache/1.11.76/aws-java-sdk-elasticache-1.11.76.jar +0 -0
  42. data/lib/com/amazonaws/aws-java-sdk-elasticbeanstalk/1.11.76/aws-java-sdk-elasticbeanstalk-1.11.76.jar +0 -0
  43. data/lib/com/amazonaws/aws-java-sdk-elasticloadbalancing/1.11.76/aws-java-sdk-elasticloadbalancing-1.11.76.jar +0 -0
  44. data/lib/com/amazonaws/aws-java-sdk-elasticloadbalancingv2/1.11.76/aws-java-sdk-elasticloadbalancingv2-1.11.76.jar +0 -0
  45. data/lib/com/amazonaws/aws-java-sdk-elasticsearch/1.11.76/aws-java-sdk-elasticsearch-1.11.76.jar +0 -0
  46. data/lib/com/amazonaws/aws-java-sdk-elastictranscoder/1.11.76/aws-java-sdk-elastictranscoder-1.11.76.jar +0 -0
  47. data/lib/com/amazonaws/aws-java-sdk-emr/1.11.76/aws-java-sdk-emr-1.11.76.jar +0 -0
  48. data/lib/com/amazonaws/aws-java-sdk-events/1.11.76/aws-java-sdk-events-1.11.76.jar +0 -0
  49. data/lib/com/amazonaws/aws-java-sdk-gamelift/1.11.76/aws-java-sdk-gamelift-1.11.76.jar +0 -0
  50. data/lib/com/amazonaws/aws-java-sdk-glacier/1.11.76/aws-java-sdk-glacier-1.11.76.jar +0 -0
  51. data/lib/com/amazonaws/aws-java-sdk-health/1.11.76/aws-java-sdk-health-1.11.76.jar +0 -0
  52. data/lib/com/amazonaws/aws-java-sdk-iam/1.11.76/aws-java-sdk-iam-1.11.76.jar +0 -0
  53. data/lib/com/amazonaws/aws-java-sdk-importexport/1.11.76/aws-java-sdk-importexport-1.11.76.jar +0 -0
  54. data/lib/com/amazonaws/aws-java-sdk-inspector/1.11.76/aws-java-sdk-inspector-1.11.76.jar +0 -0
  55. data/lib/com/amazonaws/aws-java-sdk-iot/1.11.76/aws-java-sdk-iot-1.11.76.jar +0 -0
  56. data/lib/com/amazonaws/aws-java-sdk-kinesis/1.11.76/aws-java-sdk-kinesis-1.11.76.jar +0 -0
  57. data/lib/com/amazonaws/aws-java-sdk-kms/1.11.76/aws-java-sdk-kms-1.11.76.jar +0 -0
  58. data/lib/com/amazonaws/aws-java-sdk-lambda/1.11.76/aws-java-sdk-lambda-1.11.76.jar +0 -0
  59. data/lib/com/amazonaws/aws-java-sdk-lightsail/1.11.76/aws-java-sdk-lightsail-1.11.76.jar +0 -0
  60. data/lib/com/amazonaws/aws-java-sdk-logs/1.11.76/aws-java-sdk-logs-1.11.76.jar +0 -0
  61. data/lib/com/amazonaws/aws-java-sdk-machinelearning/1.11.76/aws-java-sdk-machinelearning-1.11.76.jar +0 -0
  62. data/lib/com/amazonaws/aws-java-sdk-marketplacecommerceanalytics/1.11.76/aws-java-sdk-marketplacecommerceanalytics-1.11.76.jar +0 -0
  63. data/lib/com/amazonaws/aws-java-sdk-marketplacemeteringservice/1.11.76/aws-java-sdk-marketplacemeteringservice-1.11.76.jar +0 -0
  64. data/{vendor/jar-dependencies/runtime-jars/aws-java-sdk-1.7.13.jar → lib/com/amazonaws/aws-java-sdk-models/1.11.76/aws-java-sdk-models-1.11.76.jar} +0 -0
  65. data/lib/com/amazonaws/aws-java-sdk-opsworks/1.11.76/aws-java-sdk-opsworks-1.11.76.jar +0 -0
  66. data/lib/com/amazonaws/aws-java-sdk-opsworkscm/1.11.76/aws-java-sdk-opsworkscm-1.11.76.jar +0 -0
  67. data/lib/com/amazonaws/aws-java-sdk-pinpoint/1.11.76/aws-java-sdk-pinpoint-1.11.76.jar +0 -0
  68. data/lib/com/amazonaws/aws-java-sdk-polly/1.11.76/aws-java-sdk-polly-1.11.76.jar +0 -0
  69. data/lib/com/amazonaws/aws-java-sdk-rds/1.11.76/aws-java-sdk-rds-1.11.76.jar +0 -0
  70. data/lib/com/amazonaws/aws-java-sdk-redshift/1.11.76/aws-java-sdk-redshift-1.11.76.jar +0 -0
  71. data/lib/com/amazonaws/aws-java-sdk-rekognition/1.11.76/aws-java-sdk-rekognition-1.11.76.jar +0 -0
  72. data/lib/com/amazonaws/aws-java-sdk-route53/1.11.76/aws-java-sdk-route53-1.11.76.jar +0 -0
  73. data/lib/com/amazonaws/aws-java-sdk-s3/1.11.76/aws-java-sdk-s3-1.11.76.jar +0 -0
  74. data/lib/com/amazonaws/aws-java-sdk-servermigration/1.11.76/aws-java-sdk-servermigration-1.11.76.jar +0 -0
  75. data/lib/com/amazonaws/aws-java-sdk-servicecatalog/1.11.76/aws-java-sdk-servicecatalog-1.11.76.jar +0 -0
  76. data/lib/com/amazonaws/aws-java-sdk-ses/1.11.76/aws-java-sdk-ses-1.11.76.jar +0 -0
  77. data/lib/com/amazonaws/aws-java-sdk-shield/1.11.76/aws-java-sdk-shield-1.11.76.jar +0 -0
  78. data/lib/com/amazonaws/aws-java-sdk-simpledb/1.11.76/aws-java-sdk-simpledb-1.11.76.jar +0 -0
  79. data/lib/com/amazonaws/aws-java-sdk-simpleworkflow/1.11.76/aws-java-sdk-simpleworkflow-1.11.76.jar +0 -0
  80. data/lib/com/amazonaws/aws-java-sdk-snowball/1.11.76/aws-java-sdk-snowball-1.11.76.jar +0 -0
  81. data/lib/com/amazonaws/aws-java-sdk-sns/1.11.76/aws-java-sdk-sns-1.11.76.jar +0 -0
  82. data/lib/com/amazonaws/aws-java-sdk-sqs/1.11.76/aws-java-sdk-sqs-1.11.76.jar +0 -0
  83. data/lib/com/amazonaws/aws-java-sdk-ssm/1.11.76/aws-java-sdk-ssm-1.11.76.jar +0 -0
  84. data/lib/com/amazonaws/aws-java-sdk-stepfunctions/1.11.76/aws-java-sdk-stepfunctions-1.11.76.jar +0 -0
  85. data/lib/com/amazonaws/aws-java-sdk-storagegateway/1.11.76/aws-java-sdk-storagegateway-1.11.76.jar +0 -0
  86. data/lib/com/amazonaws/aws-java-sdk-sts/1.11.76/aws-java-sdk-sts-1.11.76.jar +0 -0
  87. data/lib/com/amazonaws/aws-java-sdk-support/1.11.76/aws-java-sdk-support-1.11.76.jar +0 -0
  88. data/lib/com/amazonaws/aws-java-sdk-swf-libraries/1.11.22/aws-java-sdk-swf-libraries-1.11.22.jar +0 -0
  89. data/lib/com/amazonaws/aws-java-sdk-waf/1.11.76/aws-java-sdk-waf-1.11.76.jar +0 -0
  90. data/lib/com/amazonaws/aws-java-sdk-workspaces/1.11.76/aws-java-sdk-workspaces-1.11.76.jar +0 -0
  91. data/lib/com/amazonaws/aws-java-sdk-xray/1.11.76/aws-java-sdk-xray-1.11.76.jar +0 -0
  92. data/lib/com/amazonaws/aws-java-sdk/1.11.76/aws-java-sdk-1.11.76.jar +0 -0
  93. data/lib/com/amazonaws/jmespath-java/1.11.76/jmespath-java-1.11.76.jar +0 -0
  94. data/lib/com/fasterxml/jackson/core/jackson-annotations/2.6.0/jackson-annotations-2.6.0.jar +0 -0
  95. data/lib/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar +0 -0
  96. data/lib/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar +0 -0
  97. data/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.6/jackson-dataformat-cbor-2.6.6.jar +0 -0
  98. data/lib/commons-codec/commons-codec/1.9/commons-codec-1.9.jar +0 -0
  99. data/{vendor/jar-dependencies/runtime-jars → lib/commons-logging/commons-logging/1.2}/commons-logging-1.2.jar +0 -0
  100. data/lib/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar +0 -0
  101. data/lib/logstash-input-jsqs_jars.rb +201 -15
  102. data/lib/logstash/inputs/jsqs.rb +27 -72
  103. data/{vendor/jar-dependencies/runtime-jars/httpclient-4.4.1.jar → lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar} +0 -0
  104. data/lib/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar +0 -0
  105. data/lib/software/amazon/ion/ion-java/1.0.1/ion-java-1.0.1.jar +0 -0
  106. data/logstash-input-jsqs.gemspec +20 -12
  107. data/spec/inputs/jsqs_spec.rb +11 -0
  108. metadata +145 -27
  109. data/.gitignore +0 -4
  110. data/Rakefile +0 -1
  111. data/spec/inputs/example_spec.rb +0 -1
  112. data/vendor/jar-dependencies/runtime-jars/httpcore-4.4.1.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 666a51b3b362150191760150bfd6cbf65e2f5d56
4
- data.tar.gz: 5c79d19c024ec1abe020bb996aa525a1cbbc7dd3
3
+ metadata.gz: d9f96b79b3a5bcc4263bd2575b751540e6dca442
4
+ data.tar.gz: 3d89e49e781a3184c46a1648d77f923e8fa6c6f1
5
5
  SHA512:
6
- metadata.gz: 6edeb9bc0237b0d14e84ef400d98355f8d38b52c6154aaf1f3ac6649b280d7622cadf358b073f0454c50e9af39e25c3af1f2f2d89f6bb14413fc03fba0089a1f
7
- data.tar.gz: 74abb5cc090f3c4c73a26bba82cbdee43024a238a02536bf29b49a1177fc4baece9f5619b45b92cf4d71342047dac5fe7be7fea9295cac4bcae598c659800aa8
6
+ metadata.gz: 4115f337f907ffd55207b5cb9d6a96e8ffe988115963761c27a8688af83e86c2b59e5a1059c9e1d747f3a52a5a7261ebf82fe23c552445ff907d6f9dd2db6d74
7
+ data.tar.gz: b0277c66696d8594cc33fda8e93ef21b259597234018cfa226b055d6b93d9abf72520360412bcc270576753310771654d54ba0e5d15ebe5613c3a1fab8896ad5
@@ -0,0 +1,2 @@
1
+ ## 0.1.0
2
+ - Plugin created with the logstash plugin generator
@@ -0,0 +1,10 @@
1
+ The following is a list of people who have contributed ideas, code, bug
2
+ reports, or in general have helped logstash along its way.
3
+
4
+ Contributors:
5
+ * JamieCressey89 - jamiecressey89@gmail.com
6
+
7
+ Note: If you've sent us patches, bug reports, or otherwise contributed to
8
+ Logstash, and you aren't on the list above and want to be, please let us know
9
+ and we'll make sure you're here. Contributions from folks like you are what make
10
+ open source awesome.
data/Gemfile CHANGED
@@ -1,2 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
+
data/LICENSE CHANGED
@@ -1,5 +1,3 @@
1
- Copyright (c) 2015 Jamie Cressey <jamiecressey89@gmail.com>
2
-
3
1
  Licensed under the Apache License, Version 2.0 (the "License");
4
2
  you may not use this file except in compliance with the License.
5
3
  You may obtain a copy of the License at
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
6
6
 
7
7
  ## Documentation
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
9
+ Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
@@ -53,11 +53,11 @@ gem "logstash-input-jsqs", :path => "/your/local/logstash-input-jsqs"
53
53
  ```
54
54
  - Install plugin
55
55
  ```sh
56
- bin/plugin install --no-verify
56
+ bin/logstash-plugin install --no-verify
57
57
  ```
58
58
  - Run Logstash with your plugin
59
59
  ```sh
60
- bin/logstash -e 'input {jsqs {queueUrl => "https://sqs.eu-west-1.amazonaws.com/xxxxxxxxxxxx/logstash-queue"}}'
60
+ bin/logstash -e 'input {jsqs {}}'
61
61
  ```
62
62
  At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
63
63
 
@@ -71,7 +71,7 @@ gem build logstash-input-jsqs.gemspec
71
71
  ```
72
72
  - Install the plugin from the Logstash home
73
73
  ```sh
74
- bin/plugin install /your/local/plugin/logstash-input-jsqs.gem
74
+ bin/logstash-plugin install /your/local/plugin/logstash-input-jsqs.gem
75
75
  ```
76
76
  - Start Logstash and proceed to test the plugin
77
77
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -1,16 +1,202 @@
1
- # encoding: utf-8
2
- require 'logstash/environment'
1
+ # this is a generated file, to avoid over-writing it just delete this comment
2
+ begin
3
+ require 'jar_dependencies'
4
+ rescue LoadError
5
+ require 'com/amazonaws/aws-java-sdk-pinpoint/1.11.76/aws-java-sdk-pinpoint-1.11.76.jar'
6
+ require 'com/amazonaws/aws-java-sdk-events/1.11.76/aws-java-sdk-events-1.11.76.jar'
7
+ require 'com/amazonaws/aws-java-sdk-discovery/1.11.76/aws-java-sdk-discovery-1.11.76.jar'
8
+ require 'com/amazonaws/aws-java-sdk-elasticsearch/1.11.76/aws-java-sdk-elasticsearch-1.11.76.jar'
9
+ require 'com/amazonaws/aws-java-sdk-efs/1.11.76/aws-java-sdk-efs-1.11.76.jar'
10
+ require 'com/amazonaws/jmespath-java/1.11.76/jmespath-java-1.11.76.jar'
11
+ require 'com/amazonaws/aws-java-sdk-snowball/1.11.76/aws-java-sdk-snowball-1.11.76.jar'
12
+ require 'com/amazonaws/aws-java-sdk/1.11.76/aws-java-sdk-1.11.76.jar'
13
+ require 'com/amazonaws/aws-java-sdk-opsworkscm/1.11.76/aws-java-sdk-opsworkscm-1.11.76.jar'
14
+ require 'com/amazonaws/aws-java-sdk-elasticache/1.11.76/aws-java-sdk-elasticache-1.11.76.jar'
15
+ require 'com/amazonaws/aws-java-sdk-dms/1.11.76/aws-java-sdk-dms-1.11.76.jar'
16
+ require 'joda-time/joda-time/2.8.1/joda-time-2.8.1.jar'
17
+ require 'com/amazonaws/aws-java-sdk-ec2/1.11.76/aws-java-sdk-ec2-1.11.76.jar'
18
+ require 'com/amazonaws/aws-java-sdk-codebuild/1.11.76/aws-java-sdk-codebuild-1.11.76.jar'
19
+ require 'com/amazonaws/aws-java-sdk-polly/1.11.76/aws-java-sdk-polly-1.11.76.jar'
20
+ require 'org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar'
21
+ require 'com/amazonaws/aws-java-sdk-acm/1.11.76/aws-java-sdk-acm-1.11.76.jar'
22
+ require 'com/amazonaws/aws-java-sdk-ecs/1.11.76/aws-java-sdk-ecs-1.11.76.jar'
23
+ require 'com/amazonaws/aws-java-sdk-autoscaling/1.11.76/aws-java-sdk-autoscaling-1.11.76.jar'
24
+ require 'com/amazonaws/aws-java-sdk-core/1.11.76/aws-java-sdk-core-1.11.76.jar'
25
+ require 'com/amazonaws/aws-java-sdk-simpledb/1.11.76/aws-java-sdk-simpledb-1.11.76.jar'
26
+ require 'com/amazonaws/aws-java-sdk-s3/1.11.76/aws-java-sdk-s3-1.11.76.jar'
27
+ require 'com/amazonaws/aws-java-sdk-cognitoidp/1.11.76/aws-java-sdk-cognitoidp-1.11.76.jar'
28
+ require 'commons-codec/commons-codec/1.9/commons-codec-1.9.jar'
29
+ require 'com/amazonaws/aws-java-sdk-rekognition/1.11.76/aws-java-sdk-rekognition-1.11.76.jar'
30
+ require 'commons-logging/commons-logging/1.2/commons-logging-1.2.jar'
31
+ require 'com/amazonaws/aws-java-sdk-inspector/1.11.76/aws-java-sdk-inspector-1.11.76.jar'
32
+ require 'com/amazonaws/aws-java-sdk-opsworks/1.11.76/aws-java-sdk-opsworks-1.11.76.jar'
33
+ require 'com/amazonaws/aws-java-sdk-cloudwatchmetrics/1.11.76/aws-java-sdk-cloudwatchmetrics-1.11.76.jar'
34
+ require 'com/amazonaws/aws-java-sdk-lightsail/1.11.76/aws-java-sdk-lightsail-1.11.76.jar'
35
+ require 'com/amazonaws/aws-java-sdk-machinelearning/1.11.76/aws-java-sdk-machinelearning-1.11.76.jar'
36
+ require 'com/amazonaws/aws-java-sdk-simpleworkflow/1.11.76/aws-java-sdk-simpleworkflow-1.11.76.jar'
37
+ require 'com/amazonaws/aws-java-sdk-sts/1.11.76/aws-java-sdk-sts-1.11.76.jar'
38
+ require 'com/amazonaws/aws-java-sdk-emr/1.11.76/aws-java-sdk-emr-1.11.76.jar'
39
+ require 'com/amazonaws/aws-java-sdk-codepipeline/1.11.76/aws-java-sdk-codepipeline-1.11.76.jar'
40
+ require 'com/amazonaws/aws-java-sdk-budgets/1.11.76/aws-java-sdk-budgets-1.11.76.jar'
41
+ require 'com/amazonaws/aws-java-sdk-swf-libraries/1.11.22/aws-java-sdk-swf-libraries-1.11.22.jar'
42
+ require 'com/amazonaws/aws-java-sdk-gamelift/1.11.76/aws-java-sdk-gamelift-1.11.76.jar'
43
+ require 'com/amazonaws/aws-java-sdk-rds/1.11.76/aws-java-sdk-rds-1.11.76.jar'
44
+ require 'com/amazonaws/aws-java-sdk-cognitosync/1.11.76/aws-java-sdk-cognitosync-1.11.76.jar'
45
+ require 'com/amazonaws/aws-java-sdk-applicationautoscaling/1.11.76/aws-java-sdk-applicationautoscaling-1.11.76.jar'
46
+ require 'com/amazonaws/aws-java-sdk-kms/1.11.76/aws-java-sdk-kms-1.11.76.jar'
47
+ require 'com/amazonaws/aws-java-sdk-elasticloadbalancingv2/1.11.76/aws-java-sdk-elasticloadbalancingv2-1.11.76.jar'
48
+ require 'com/amazonaws/aws-java-sdk-health/1.11.76/aws-java-sdk-health-1.11.76.jar'
49
+ require 'com/amazonaws/aws-java-sdk-servermigration/1.11.76/aws-java-sdk-servermigration-1.11.76.jar'
50
+ require 'com/amazonaws/aws-java-sdk-sns/1.11.76/aws-java-sdk-sns-1.11.76.jar'
51
+ require 'com/amazonaws/aws-java-sdk-importexport/1.11.76/aws-java-sdk-importexport-1.11.76.jar'
52
+ require 'com/amazonaws/aws-java-sdk-batch/1.11.76/aws-java-sdk-batch-1.11.76.jar'
53
+ require 'com/amazonaws/aws-java-sdk-ssm/1.11.76/aws-java-sdk-ssm-1.11.76.jar'
54
+ require 'com/amazonaws/aws-java-sdk-logs/1.11.76/aws-java-sdk-logs-1.11.76.jar'
55
+ require 'com/amazonaws/aws-java-sdk-config/1.11.76/aws-java-sdk-config-1.11.76.jar'
56
+ require 'com/amazonaws/aws-java-sdk-storagegateway/1.11.76/aws-java-sdk-storagegateway-1.11.76.jar'
57
+ require 'com/amazonaws/aws-java-sdk-appstream/1.11.76/aws-java-sdk-appstream-1.11.76.jar'
58
+ require 'org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar'
59
+ require 'com/amazonaws/aws-java-sdk-workspaces/1.11.76/aws-java-sdk-workspaces-1.11.76.jar'
60
+ require 'com/amazonaws/aws-java-sdk-dynamodb/1.11.76/aws-java-sdk-dynamodb-1.11.76.jar'
61
+ require 'com/amazonaws/aws-java-sdk-elasticloadbalancing/1.11.76/aws-java-sdk-elasticloadbalancing-1.11.76.jar'
62
+ require 'com/amazonaws/aws-java-sdk-stepfunctions/1.11.76/aws-java-sdk-stepfunctions-1.11.76.jar'
63
+ require 'com/amazonaws/aws-java-sdk-api-gateway/1.11.76/aws-java-sdk-api-gateway-1.11.76.jar'
64
+ require 'com/amazonaws/aws-java-sdk-cognitoidentity/1.11.76/aws-java-sdk-cognitoidentity-1.11.76.jar'
65
+ require 'com/amazonaws/aws-java-sdk-marketplacemeteringservice/1.11.76/aws-java-sdk-marketplacemeteringservice-1.11.76.jar'
66
+ require 'com/amazonaws/aws-java-sdk-datapipeline/1.11.76/aws-java-sdk-datapipeline-1.11.76.jar'
67
+ require 'com/amazonaws/aws-java-sdk-cloudhsm/1.11.76/aws-java-sdk-cloudhsm-1.11.76.jar'
68
+ require 'com/amazonaws/aws-java-sdk-cloudwatch/1.11.76/aws-java-sdk-cloudwatch-1.11.76.jar'
69
+ require 'com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar'
70
+ require 'com/amazonaws/aws-java-sdk-codedeploy/1.11.76/aws-java-sdk-codedeploy-1.11.76.jar'
71
+ require 'com/amazonaws/aws-java-sdk-cloudfront/1.11.76/aws-java-sdk-cloudfront-1.11.76.jar'
72
+ require 'com/amazonaws/aws-java-sdk-directconnect/1.11.76/aws-java-sdk-directconnect-1.11.76.jar'
73
+ require 'com/amazonaws/aws-java-sdk-cloudsearch/1.11.76/aws-java-sdk-cloudsearch-1.11.76.jar'
74
+ require 'com/amazonaws/aws-java-sdk-xray/1.11.76/aws-java-sdk-xray-1.11.76.jar'
75
+ require 'com/amazonaws/aws-java-sdk-elastictranscoder/1.11.76/aws-java-sdk-elastictranscoder-1.11.76.jar'
76
+ require 'com/amazonaws/aws-java-sdk-kinesis/1.11.76/aws-java-sdk-kinesis-1.11.76.jar'
77
+ require 'com/amazonaws/aws-java-sdk-shield/1.11.76/aws-java-sdk-shield-1.11.76.jar'
78
+ require 'com/amazonaws/aws-java-sdk-directory/1.11.76/aws-java-sdk-directory-1.11.76.jar'
79
+ require 'com/amazonaws/aws-java-sdk-route53/1.11.76/aws-java-sdk-route53-1.11.76.jar'
80
+ require 'com/amazonaws/aws-java-sdk-elasticbeanstalk/1.11.76/aws-java-sdk-elasticbeanstalk-1.11.76.jar'
81
+ require 'com/amazonaws/aws-java-sdk-ses/1.11.76/aws-java-sdk-ses-1.11.76.jar'
82
+ require 'com/amazonaws/aws-java-sdk-waf/1.11.76/aws-java-sdk-waf-1.11.76.jar'
83
+ require 'com/amazonaws/aws-java-sdk-iot/1.11.76/aws-java-sdk-iot-1.11.76.jar'
84
+ require 'com/amazonaws/aws-java-sdk-sqs/1.11.76/aws-java-sdk-sqs-1.11.76.jar'
85
+ require 'com/amazonaws/aws-java-sdk-cloudformation/1.11.76/aws-java-sdk-cloudformation-1.11.76.jar'
86
+ require 'com/amazonaws/aws-java-sdk-support/1.11.76/aws-java-sdk-support-1.11.76.jar'
87
+ require 'com/amazonaws/aws-java-sdk-redshift/1.11.76/aws-java-sdk-redshift-1.11.76.jar'
88
+ require 'software/amazon/ion/ion-java/1.0.1/ion-java-1.0.1.jar'
89
+ require 'com/amazonaws/aws-java-sdk-devicefarm/1.11.76/aws-java-sdk-devicefarm-1.11.76.jar'
90
+ require 'com/fasterxml/jackson/core/jackson-annotations/2.6.0/jackson-annotations-2.6.0.jar'
91
+ require 'com/amazonaws/aws-java-sdk-marketplacecommerceanalytics/1.11.76/aws-java-sdk-marketplacecommerceanalytics-1.11.76.jar'
92
+ require 'com/amazonaws/aws-java-sdk-ecr/1.11.76/aws-java-sdk-ecr-1.11.76.jar'
93
+ require 'com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar'
94
+ require 'com/amazonaws/aws-java-sdk-lambda/1.11.76/aws-java-sdk-lambda-1.11.76.jar'
95
+ require 'com/amazonaws/aws-java-sdk-codecommit/1.11.76/aws-java-sdk-codecommit-1.11.76.jar'
96
+ require 'com/amazonaws/aws-java-sdk-glacier/1.11.76/aws-java-sdk-glacier-1.11.76.jar'
97
+ require 'com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.6/jackson-dataformat-cbor-2.6.6.jar'
98
+ require 'com/amazonaws/aws-java-sdk-cloudtrail/1.11.76/aws-java-sdk-cloudtrail-1.11.76.jar'
99
+ require 'com/amazonaws/aws-java-sdk-models/1.11.76/aws-java-sdk-models-1.11.76.jar'
100
+ require 'com/amazonaws/aws-java-sdk-iam/1.11.76/aws-java-sdk-iam-1.11.76.jar'
101
+ require 'com/amazonaws/aws-java-sdk-servicecatalog/1.11.76/aws-java-sdk-servicecatalog-1.11.76.jar'
102
+ end
3
103
 
4
- root_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
5
- LogStash::Environment.load_runtime_jars! File.join(root_dir, "vendor")
6
-
7
- java_import "com.amazonaws.services.sqs.model.DeleteMessageBatchRequestEntry"
8
- java_import "java.util.concurrent.Executors"
9
- java_import "java.util.concurrent.atomic.AtomicInteger"
10
- java_import "com.amazonaws.ClientConfiguration"
11
- java_import "com.amazonaws.auth.profile.ProfileCredentialsProvider"
12
- java_import "com.amazonaws.services.sqs.AmazonSQSAsyncClient"
13
- java_import "com.amazonaws.services.sqs.buffered.AmazonSQSBufferedAsyncClient"
14
- java_import "com.amazonaws.services.sqs.buffered.QueueBufferConfig"
15
- java_import "com.amazonaws.services.sqs.model.ReceiveMessageRequest"
16
- java_import "com.amazonaws.services.sqs.model.DeleteMessageBatchRequest"
104
+ if defined? Jars
105
+ require_jar( 'com.amazonaws', 'aws-java-sdk-pinpoint', '1.11.76' )
106
+ require_jar( 'com.amazonaws', 'aws-java-sdk-events', '1.11.76' )
107
+ require_jar( 'com.amazonaws', 'aws-java-sdk-discovery', '1.11.76' )
108
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elasticsearch', '1.11.76' )
109
+ require_jar( 'com.amazonaws', 'aws-java-sdk-efs', '1.11.76' )
110
+ require_jar( 'com.amazonaws', 'jmespath-java', '1.11.76' )
111
+ require_jar( 'com.amazonaws', 'aws-java-sdk-snowball', '1.11.76' )
112
+ require_jar( 'com.amazonaws', 'aws-java-sdk', '1.11.76' )
113
+ require_jar( 'com.amazonaws', 'aws-java-sdk-opsworkscm', '1.11.76' )
114
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elasticache', '1.11.76' )
115
+ require_jar( 'com.amazonaws', 'aws-java-sdk-dms', '1.11.76' )
116
+ require_jar( 'joda-time', 'joda-time', '2.8.1' )
117
+ require_jar( 'com.amazonaws', 'aws-java-sdk-ec2', '1.11.76' )
118
+ require_jar( 'com.amazonaws', 'aws-java-sdk-codebuild', '1.11.76' )
119
+ require_jar( 'com.amazonaws', 'aws-java-sdk-polly', '1.11.76' )
120
+ require_jar( 'org.apache.httpcomponents', 'httpcore', '4.4.5' )
121
+ require_jar( 'com.amazonaws', 'aws-java-sdk-acm', '1.11.76' )
122
+ require_jar( 'com.amazonaws', 'aws-java-sdk-ecs', '1.11.76' )
123
+ require_jar( 'com.amazonaws', 'aws-java-sdk-autoscaling', '1.11.76' )
124
+ require_jar( 'com.amazonaws', 'aws-java-sdk-core', '1.11.76' )
125
+ require_jar( 'com.amazonaws', 'aws-java-sdk-simpledb', '1.11.76' )
126
+ require_jar( 'com.amazonaws', 'aws-java-sdk-s3', '1.11.76' )
127
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cognitoidp', '1.11.76' )
128
+ require_jar( 'commons-codec', 'commons-codec', '1.9' )
129
+ require_jar( 'com.amazonaws', 'aws-java-sdk-rekognition', '1.11.76' )
130
+ require_jar( 'commons-logging', 'commons-logging', '1.2' )
131
+ require_jar( 'com.amazonaws', 'aws-java-sdk-inspector', '1.11.76' )
132
+ require_jar( 'com.amazonaws', 'aws-java-sdk-opsworks', '1.11.76' )
133
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudwatchmetrics', '1.11.76' )
134
+ require_jar( 'com.amazonaws', 'aws-java-sdk-lightsail', '1.11.76' )
135
+ require_jar( 'com.amazonaws', 'aws-java-sdk-machinelearning', '1.11.76' )
136
+ require_jar( 'com.amazonaws', 'aws-java-sdk-simpleworkflow', '1.11.76' )
137
+ require_jar( 'com.amazonaws', 'aws-java-sdk-sts', '1.11.76' )
138
+ require_jar( 'com.amazonaws', 'aws-java-sdk-emr', '1.11.76' )
139
+ require_jar( 'com.amazonaws', 'aws-java-sdk-codepipeline', '1.11.76' )
140
+ require_jar( 'com.amazonaws', 'aws-java-sdk-budgets', '1.11.76' )
141
+ require_jar( 'com.amazonaws', 'aws-java-sdk-swf-libraries', '1.11.22' )
142
+ require_jar( 'com.amazonaws', 'aws-java-sdk-gamelift', '1.11.76' )
143
+ require_jar( 'com.amazonaws', 'aws-java-sdk-rds', '1.11.76' )
144
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cognitosync', '1.11.76' )
145
+ require_jar( 'com.amazonaws', 'aws-java-sdk-applicationautoscaling', '1.11.76' )
146
+ require_jar( 'com.amazonaws', 'aws-java-sdk-kms', '1.11.76' )
147
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elasticloadbalancingv2', '1.11.76' )
148
+ require_jar( 'com.amazonaws', 'aws-java-sdk-health', '1.11.76' )
149
+ require_jar( 'com.amazonaws', 'aws-java-sdk-servermigration', '1.11.76' )
150
+ require_jar( 'com.amazonaws', 'aws-java-sdk-sns', '1.11.76' )
151
+ require_jar( 'com.amazonaws', 'aws-java-sdk-importexport', '1.11.76' )
152
+ require_jar( 'com.amazonaws', 'aws-java-sdk-batch', '1.11.76' )
153
+ require_jar( 'com.amazonaws', 'aws-java-sdk-ssm', '1.11.76' )
154
+ require_jar( 'com.amazonaws', 'aws-java-sdk-logs', '1.11.76' )
155
+ require_jar( 'com.amazonaws', 'aws-java-sdk-config', '1.11.76' )
156
+ require_jar( 'com.amazonaws', 'aws-java-sdk-storagegateway', '1.11.76' )
157
+ require_jar( 'com.amazonaws', 'aws-java-sdk-appstream', '1.11.76' )
158
+ require_jar( 'org.apache.httpcomponents', 'httpclient', '4.5.2' )
159
+ require_jar( 'com.amazonaws', 'aws-java-sdk-workspaces', '1.11.76' )
160
+ require_jar( 'com.amazonaws', 'aws-java-sdk-dynamodb', '1.11.76' )
161
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elasticloadbalancing', '1.11.76' )
162
+ require_jar( 'com.amazonaws', 'aws-java-sdk-stepfunctions', '1.11.76' )
163
+ require_jar( 'com.amazonaws', 'aws-java-sdk-api-gateway', '1.11.76' )
164
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cognitoidentity', '1.11.76' )
165
+ require_jar( 'com.amazonaws', 'aws-java-sdk-marketplacemeteringservice', '1.11.76' )
166
+ require_jar( 'com.amazonaws', 'aws-java-sdk-datapipeline', '1.11.76' )
167
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudhsm', '1.11.76' )
168
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudwatch', '1.11.76' )
169
+ require_jar( 'com.fasterxml.jackson.core', 'jackson-core', '2.6.6' )
170
+ require_jar( 'com.amazonaws', 'aws-java-sdk-codedeploy', '1.11.76' )
171
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudfront', '1.11.76' )
172
+ require_jar( 'com.amazonaws', 'aws-java-sdk-directconnect', '1.11.76' )
173
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudsearch', '1.11.76' )
174
+ require_jar( 'com.amazonaws', 'aws-java-sdk-xray', '1.11.76' )
175
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elastictranscoder', '1.11.76' )
176
+ require_jar( 'com.amazonaws', 'aws-java-sdk-kinesis', '1.11.76' )
177
+ require_jar( 'com.amazonaws', 'aws-java-sdk-shield', '1.11.76' )
178
+ require_jar( 'com.amazonaws', 'aws-java-sdk-directory', '1.11.76' )
179
+ require_jar( 'com.amazonaws', 'aws-java-sdk-route53', '1.11.76' )
180
+ require_jar( 'com.amazonaws', 'aws-java-sdk-elasticbeanstalk', '1.11.76' )
181
+ require_jar( 'com.amazonaws', 'aws-java-sdk-ses', '1.11.76' )
182
+ require_jar( 'com.amazonaws', 'aws-java-sdk-waf', '1.11.76' )
183
+ require_jar( 'com.amazonaws', 'aws-java-sdk-iot', '1.11.76' )
184
+ require_jar( 'com.amazonaws', 'aws-java-sdk-sqs', '1.11.76' )
185
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudformation', '1.11.76' )
186
+ require_jar( 'com.amazonaws', 'aws-java-sdk-support', '1.11.76' )
187
+ require_jar( 'com.amazonaws', 'aws-java-sdk-redshift', '1.11.76' )
188
+ require_jar( 'software.amazon.ion', 'ion-java', '1.0.1' )
189
+ require_jar( 'com.amazonaws', 'aws-java-sdk-devicefarm', '1.11.76' )
190
+ require_jar( 'com.fasterxml.jackson.core', 'jackson-annotations', '2.6.0' )
191
+ require_jar( 'com.amazonaws', 'aws-java-sdk-marketplacecommerceanalytics', '1.11.76' )
192
+ require_jar( 'com.amazonaws', 'aws-java-sdk-ecr', '1.11.76' )
193
+ require_jar( 'com.fasterxml.jackson.core', 'jackson-databind', '2.6.6' )
194
+ require_jar( 'com.amazonaws', 'aws-java-sdk-lambda', '1.11.76' )
195
+ require_jar( 'com.amazonaws', 'aws-java-sdk-codecommit', '1.11.76' )
196
+ require_jar( 'com.amazonaws', 'aws-java-sdk-glacier', '1.11.76' )
197
+ require_jar( 'com.fasterxml.jackson.dataformat', 'jackson-dataformat-cbor', '2.6.6' )
198
+ require_jar( 'com.amazonaws', 'aws-java-sdk-cloudtrail', '1.11.76' )
199
+ require_jar( 'com.amazonaws', 'aws-java-sdk-models', '1.11.76' )
200
+ require_jar( 'com.amazonaws', 'aws-java-sdk-iam', '1.11.76' )
201
+ require_jar( 'com.amazonaws', 'aws-java-sdk-servicecatalog', '1.11.76' )
202
+ end
@@ -1,66 +1,24 @@
1
1
  # encoding: utf-8
2
2
  # Original plugin by Al Belsky (https://logstash.jira.com/browse/LOGSTASH-1968)
3
-
4
3
  require "logstash/inputs/threadable"
4
+ require "logstash/namespace"
5
5
  require 'logstash-input-jsqs_jars.rb'
6
6
 
7
- # Pull events from an Amazon Web Services Simple Queue Service (SQS) queue.
8
- #
9
- # SQS is a simple, scalable queue system that is part of the
10
- # Amazon Web Services suite of tools.
11
- #
12
- # Although SQS is similar to other queuing systems like AMQP, it
13
- # uses a custom API and requires that you have an AWS account.
14
- # See http://aws.amazon.com/sqs/ for more details on how SQS works,
15
- # what the pricing schedule looks like and how to setup a queue.
16
- #
17
- # To use this plugin, you *must*:
18
- #
19
- # * Have an AWS account
20
- # * Setup an SQS queue
21
- # * Create an identify that has access to consume messages from the queue.
22
- #
23
- # The "consumer" identity must have the following permissions on the queue:
24
- #
25
- # * sqs:ChangeMessageVisibility
26
- # * sqs:ChangeMessageVisibilityBatch
27
- # * sqs:DeleteMessage
28
- # * sqs:DeleteMessageBatch
29
- # * sqs:GetQueueAttributes
30
- # * sqs:GetQueueUrl
31
- # * sqs:ListQueues
32
- # * sqs:ReceiveMessage
33
- #
34
- # Typically, you should setup an IAM policy, create a user and apply the IAM policy to the user.
35
- # A sample policy is as follows:
36
- #
37
- # {
38
- # "Statement": [
39
- # {
40
- # "Action": [
41
- # "sqs:ChangeMessageVisibility",
42
- # "sqs:ChangeMessageVisibilityBatch",
43
- # "sqs:GetQueueAttributes",
44
- # "sqs:GetQueueUrl",
45
- # "sqs:ListQueues",
46
- # "sqs:SendMessage",
47
- # "sqs:SendMessageBatch"
48
- # ],
49
- # "Effect": "Allow",
50
- # "Resource": [
51
- # "arn:aws:sqs:us-east-1:123456789012:Logstash"
52
- # ]
53
- # }
54
- # ]
55
- # }
56
- #
57
- # See http://aws.amazon.com/iam/ for more details on setting up AWS identities.
58
- #
59
-
60
- class LogStash::Inputs::JSQS < LogStash::Inputs::Threadable
61
-
7
+ java_import "java.util.concurrent.Executors"
8
+ java_import "java.util.concurrent.atomic.AtomicInteger"
9
+ java_import "com.amazonaws.ClientConfiguration"
10
+ java_import "com.amazonaws.auth.profile.ProfileCredentialsProvider"
11
+ java_import "com.amazonaws.services.sqs.AmazonSQSAsyncClient"
12
+ java_import "com.amazonaws.services.sqs.buffered.AmazonSQSBufferedAsyncClient"
13
+ java_import "com.amazonaws.services.sqs.buffered.QueueBufferConfig"
14
+ java_import "com.amazonaws.services.sqs.model.ReceiveMessageRequest"
15
+ java_import "com.amazonaws.services.sqs.model.DeleteMessageBatchRequest"
16
+ java_import "com.amazonaws.services.sqs.model.DeleteMessageBatchRequestEntry"
17
+
18
+ class LogStash::Inputs::Jsqs < LogStash::Inputs::Threadable
62
19
  config_name "jsqs"
63
20
 
21
+ # If undefined, Logstash will complain, even if codec is unused.
64
22
  default :codec, "json"
65
23
 
66
24
  # Name of the SQS Queue name to pull messages from. Note that this is just the name of the queue, not the URL or ARN.
@@ -77,22 +35,21 @@ class LogStash::Inputs::JSQS < LogStash::Inputs::Threadable
77
35
 
78
36
  public
79
37
  def register
80
- @logger.info("Registering SQS input", :queue => @queue)
38
+ @logger.info("Registering SQS input")
81
39
 
82
40
  # Client config
83
- @logger.debug("Creating AWS SQS queue client", :queue => @queue)
84
- sqsClientConfig = ClientConfiguration.new.withMaxConnections(@max_connections)
85
- ## TODO: This should be more flexible to support multiple auth methods
86
- awsCredentials = ProfileCredentialsProvider.new(@aws_profile)
41
+ @logger.debug("Creating AWS SQS queue client")
42
+ clientConfig = ClientConfiguration.new.withMaxConnections(@max_connections)
43
+ credentials = ProfileCredentialsProvider.new(@aws_profile)
87
44
 
88
45
  # SQS client
89
- @sqs = AmazonSQSAsyncClient.new(awsCredentials, sqsClientConfig)
46
+ @sqs = AmazonSQSAsyncClient.new(credentials, clientConfig)
90
47
  @logger.debug("Amazon SQS Client created")
91
48
 
92
49
  # Buffered client config
93
- sqsBufferConfig = QueueBufferConfig.new.withMaxBatchOpenMs(@max_batch_open_ms).withMaxInflightReceiveBatches(@max_inflight_receive_batches).withMaxDoneReceiveBatches(@max_done_receive_batches)
50
+ queueBufferConfig = QueueBufferConfig.new.withMaxBatchOpenMs(@max_batch_open_ms).withMaxInflightReceiveBatches(@max_inflight_receive_batches).withMaxDoneReceiveBatches(@max_done_receive_batches)
94
51
 
95
- @bufferedSqs = AmazonSQSBufferedAsyncClient.new(@sqs, sqsBufferConfig);
52
+ @bufferedSqs = AmazonSQSBufferedAsyncClient.new(@sqs, queueBufferConfig);
96
53
  @logger.info("Connected to AWS SQS queue successfully.", :queue => @queue)
97
54
 
98
55
  @receiveRequest = ReceiveMessageRequest.new(@queueUrl).withMaxNumberOfMessages(@max_number_of_messages)
@@ -103,7 +60,7 @@ class LogStash::Inputs::JSQS < LogStash::Inputs::Threadable
103
60
  def run(output_queue)
104
61
  @logger.debug("Polling SQS queue", :queue => @queue)
105
62
 
106
- while running?
63
+ while !stop?
107
64
  begin
108
65
  result = @bufferedSqs.receiveMessage(@receiveRequest)
109
66
  deleteEntries = []
@@ -136,17 +93,15 @@ class LogStash::Inputs::JSQS < LogStash::Inputs::Threadable
136
93
  sleep(10)
137
94
  retry
138
95
  else
139
- @logger.error("Unable to access SQS queue. Aborting.", :error => e.to_s, :queue => @queue)
140
- teardown
96
+ @logger.error("Unable to access SQS queue. Aborting.", :error => e.to_s, :queue => @queue)
97
+ stop
141
98
  end # if
142
99
  end # begin
143
100
  end # polling loop
144
101
  end # def run
145
102
 
146
- def teardown
103
+ def stop
147
104
  @sqs = nil
148
105
  @bufferedSqs = nil
149
- finished
150
- end # def teardown
151
-
152
- end # class LogStash::Inputs::SQS
106
+ end
107
+ end # class LogStash::Inputs::Jsqs
@@ -1,16 +1,17 @@
1
1
  Gem::Specification.new do |s|
2
- s.platform = RUBY_PLATFORM
3
- s.name = 'logstash-input-jsqs'
4
- s.version = '0.10.0'
5
- s.licenses = ['Apache License (2.0)']
6
- s.summary = "SQS input plugin using the AWS Java SDK"
7
- s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install logstash-input-jsqs. This gem is not a stand-alone program"
8
- s.authors = ["Jamie Cressey"]
9
- s.email = 'jamiecressey89@gmail.com'
10
- s.require_paths = ["lib"]
2
+ s.name = 'logstash-input-jsqs'
3
+ s.version = '5.0.0'
4
+ s.homepage = 'https://github.com/JamieCressey/logstash-input-jsqs'
5
+ s.licenses = ['Apache-2.0']
6
+ s.summary = "SQS input plugin using the AWS Java SDK"
7
+ s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install logstash-input-jsqs. This gem is not a stand-alone program"
8
+ s.authors = ["Jamie Cressey"]
9
+ s.email = 'jamiecressey89@gmail.com'
10
+ s.require_paths = ['lib']
11
+ s.platform = RUBY_PLATFORM
11
12
 
12
13
  # Files
13
- s.files = `git ls-files`.split($\)
14
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
15
  # Tests
15
16
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
16
17
 
@@ -18,7 +19,14 @@ Gem::Specification.new do |s|
18
19
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
19
20
 
20
21
  # Gem dependencies
21
- s.add_runtime_dependency 'logstash-core', '>= 1.4.0', '< 2.0.0'
22
- s.add_development_dependency 'logstash-devutils'
22
+ s.requirements << "jar 'com.amazonaws:aws-java-sdk', '1.11.76'"
23
+ s.requirements << "jar 'commons-logging:commons-logging', '1.2'"
24
+ s.requirements << "jar 'org.apache.httpcomponents:httpclient', '4.5.2'"
25
+ s.requirements << "jar 'org.apache.httpcomponents:httpcore', '4.4.5'"
26
+
27
+ s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
28
+ s.add_runtime_dependency 'logstash-codec-json'
29
+ s.add_runtime_dependency 'jar-dependencies'
23
30
 
31
+ s.add_development_dependency 'logstash-devutils'
24
32
  end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+ require "logstash/devutils/rspec/spec_helper"
3
+ require "logstash/inputs/jsqs"
4
+
5
+ describe LogStash::Inputs::Jsqs do
6
+
7
+ it_behaves_like "an interruptible input plugin" do
8
+ let(:config) { { "interval" => 100 } }
9
+ end
10
+
11
+ end
metadata CHANGED
@@ -1,39 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-jsqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 5.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - Jamie Cressey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-10 00:00:00.000000000 Z
11
+ date: 2017-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - '>='
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 1.4.0
19
- - - <
18
+ version: '2.0'
19
+ name: logstash-core-plugin-api
20
+ prerelease: false
21
+ type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
20
31
  - !ruby/object:Gem::Version
21
- version: 2.0.0
22
- name: logstash-core
32
+ version: '0'
33
+ name: logstash-codec-json
23
34
  prerelease: false
24
35
  type: :runtime
25
36
  version_requirements: !ruby/object:Gem::Requirement
26
37
  requirements:
27
- - - '>='
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
28
45
  - !ruby/object:Gem::Version
29
- version: 1.4.0
30
- - - <
46
+ version: '0'
47
+ name: jar-dependencies
48
+ prerelease: false
49
+ type: :runtime
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
31
53
  - !ruby/object:Gem::Version
32
- version: 2.0.0
54
+ version: '0'
33
55
  - !ruby/object:Gem::Dependency
34
56
  requirement: !ruby/object:Gem::Requirement
35
57
  requirements:
36
- - - '>='
58
+ - - ">="
37
59
  - !ruby/object:Gem::Version
38
60
  version: '0'
39
61
  name: logstash-devutils
@@ -41,7 +63,7 @@ dependencies:
41
63
  type: :development
42
64
  version_requirements: !ruby/object:Gem::Requirement
43
65
  requirements:
44
- - - '>='
66
+ - - ">="
45
67
  - !ruby/object:Gem::Version
46
68
  version: '0'
47
69
  description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install logstash-input-jsqs. This gem is not a stand-alone program
@@ -50,24 +72,116 @@ executables: []
50
72
  extensions: []
51
73
  extra_rdoc_files: []
52
74
  files:
53
- - .gitignore
54
75
  - CHANGELOG.md
76
+ - CONTRIBUTORS
55
77
  - DEVELOPER.md
56
78
  - Gemfile
57
79
  - LICENSE
58
80
  - README.md
59
- - Rakefile
81
+ - lib/com/amazonaws/aws-java-sdk-acm/1.11.76/aws-java-sdk-acm-1.11.76.jar
82
+ - lib/com/amazonaws/aws-java-sdk-api-gateway/1.11.76/aws-java-sdk-api-gateway-1.11.76.jar
83
+ - lib/com/amazonaws/aws-java-sdk-applicationautoscaling/1.11.76/aws-java-sdk-applicationautoscaling-1.11.76.jar
84
+ - lib/com/amazonaws/aws-java-sdk-appstream/1.11.76/aws-java-sdk-appstream-1.11.76.jar
85
+ - lib/com/amazonaws/aws-java-sdk-autoscaling/1.11.76/aws-java-sdk-autoscaling-1.11.76.jar
86
+ - lib/com/amazonaws/aws-java-sdk-batch/1.11.76/aws-java-sdk-batch-1.11.76.jar
87
+ - lib/com/amazonaws/aws-java-sdk-budgets/1.11.76/aws-java-sdk-budgets-1.11.76.jar
88
+ - lib/com/amazonaws/aws-java-sdk-cloudformation/1.11.76/aws-java-sdk-cloudformation-1.11.76.jar
89
+ - lib/com/amazonaws/aws-java-sdk-cloudfront/1.11.76/aws-java-sdk-cloudfront-1.11.76.jar
90
+ - lib/com/amazonaws/aws-java-sdk-cloudhsm/1.11.76/aws-java-sdk-cloudhsm-1.11.76.jar
91
+ - lib/com/amazonaws/aws-java-sdk-cloudsearch/1.11.76/aws-java-sdk-cloudsearch-1.11.76.jar
92
+ - lib/com/amazonaws/aws-java-sdk-cloudtrail/1.11.76/aws-java-sdk-cloudtrail-1.11.76.jar
93
+ - lib/com/amazonaws/aws-java-sdk-cloudwatch/1.11.76/aws-java-sdk-cloudwatch-1.11.76.jar
94
+ - lib/com/amazonaws/aws-java-sdk-cloudwatchmetrics/1.11.76/aws-java-sdk-cloudwatchmetrics-1.11.76.jar
95
+ - lib/com/amazonaws/aws-java-sdk-codebuild/1.11.76/aws-java-sdk-codebuild-1.11.76.jar
96
+ - lib/com/amazonaws/aws-java-sdk-codecommit/1.11.76/aws-java-sdk-codecommit-1.11.76.jar
97
+ - lib/com/amazonaws/aws-java-sdk-codedeploy/1.11.76/aws-java-sdk-codedeploy-1.11.76.jar
98
+ - lib/com/amazonaws/aws-java-sdk-codepipeline/1.11.76/aws-java-sdk-codepipeline-1.11.76.jar
99
+ - lib/com/amazonaws/aws-java-sdk-cognitoidentity/1.11.76/aws-java-sdk-cognitoidentity-1.11.76.jar
100
+ - lib/com/amazonaws/aws-java-sdk-cognitoidp/1.11.76/aws-java-sdk-cognitoidp-1.11.76.jar
101
+ - lib/com/amazonaws/aws-java-sdk-cognitosync/1.11.76/aws-java-sdk-cognitosync-1.11.76.jar
102
+ - lib/com/amazonaws/aws-java-sdk-config/1.11.76/aws-java-sdk-config-1.11.76.jar
103
+ - lib/com/amazonaws/aws-java-sdk-core/1.11.76/aws-java-sdk-core-1.11.76.jar
104
+ - lib/com/amazonaws/aws-java-sdk-datapipeline/1.11.76/aws-java-sdk-datapipeline-1.11.76.jar
105
+ - lib/com/amazonaws/aws-java-sdk-devicefarm/1.11.76/aws-java-sdk-devicefarm-1.11.76.jar
106
+ - lib/com/amazonaws/aws-java-sdk-directconnect/1.11.76/aws-java-sdk-directconnect-1.11.76.jar
107
+ - lib/com/amazonaws/aws-java-sdk-directory/1.11.76/aws-java-sdk-directory-1.11.76.jar
108
+ - lib/com/amazonaws/aws-java-sdk-discovery/1.11.76/aws-java-sdk-discovery-1.11.76.jar
109
+ - lib/com/amazonaws/aws-java-sdk-dms/1.11.76/aws-java-sdk-dms-1.11.76.jar
110
+ - lib/com/amazonaws/aws-java-sdk-dynamodb/1.11.76/aws-java-sdk-dynamodb-1.11.76.jar
111
+ - lib/com/amazonaws/aws-java-sdk-ec2/1.11.76/aws-java-sdk-ec2-1.11.76.jar
112
+ - lib/com/amazonaws/aws-java-sdk-ecr/1.11.76/aws-java-sdk-ecr-1.11.76.jar
113
+ - lib/com/amazonaws/aws-java-sdk-ecs/1.11.76/aws-java-sdk-ecs-1.11.76.jar
114
+ - lib/com/amazonaws/aws-java-sdk-efs/1.11.76/aws-java-sdk-efs-1.11.76.jar
115
+ - lib/com/amazonaws/aws-java-sdk-elasticache/1.11.76/aws-java-sdk-elasticache-1.11.76.jar
116
+ - lib/com/amazonaws/aws-java-sdk-elasticbeanstalk/1.11.76/aws-java-sdk-elasticbeanstalk-1.11.76.jar
117
+ - lib/com/amazonaws/aws-java-sdk-elasticloadbalancing/1.11.76/aws-java-sdk-elasticloadbalancing-1.11.76.jar
118
+ - lib/com/amazonaws/aws-java-sdk-elasticloadbalancingv2/1.11.76/aws-java-sdk-elasticloadbalancingv2-1.11.76.jar
119
+ - lib/com/amazonaws/aws-java-sdk-elasticsearch/1.11.76/aws-java-sdk-elasticsearch-1.11.76.jar
120
+ - lib/com/amazonaws/aws-java-sdk-elastictranscoder/1.11.76/aws-java-sdk-elastictranscoder-1.11.76.jar
121
+ - lib/com/amazonaws/aws-java-sdk-emr/1.11.76/aws-java-sdk-emr-1.11.76.jar
122
+ - lib/com/amazonaws/aws-java-sdk-events/1.11.76/aws-java-sdk-events-1.11.76.jar
123
+ - lib/com/amazonaws/aws-java-sdk-gamelift/1.11.76/aws-java-sdk-gamelift-1.11.76.jar
124
+ - lib/com/amazonaws/aws-java-sdk-glacier/1.11.76/aws-java-sdk-glacier-1.11.76.jar
125
+ - lib/com/amazonaws/aws-java-sdk-health/1.11.76/aws-java-sdk-health-1.11.76.jar
126
+ - lib/com/amazonaws/aws-java-sdk-iam/1.11.76/aws-java-sdk-iam-1.11.76.jar
127
+ - lib/com/amazonaws/aws-java-sdk-importexport/1.11.76/aws-java-sdk-importexport-1.11.76.jar
128
+ - lib/com/amazonaws/aws-java-sdk-inspector/1.11.76/aws-java-sdk-inspector-1.11.76.jar
129
+ - lib/com/amazonaws/aws-java-sdk-iot/1.11.76/aws-java-sdk-iot-1.11.76.jar
130
+ - lib/com/amazonaws/aws-java-sdk-kinesis/1.11.76/aws-java-sdk-kinesis-1.11.76.jar
131
+ - lib/com/amazonaws/aws-java-sdk-kms/1.11.76/aws-java-sdk-kms-1.11.76.jar
132
+ - lib/com/amazonaws/aws-java-sdk-lambda/1.11.76/aws-java-sdk-lambda-1.11.76.jar
133
+ - lib/com/amazonaws/aws-java-sdk-lightsail/1.11.76/aws-java-sdk-lightsail-1.11.76.jar
134
+ - lib/com/amazonaws/aws-java-sdk-logs/1.11.76/aws-java-sdk-logs-1.11.76.jar
135
+ - lib/com/amazonaws/aws-java-sdk-machinelearning/1.11.76/aws-java-sdk-machinelearning-1.11.76.jar
136
+ - lib/com/amazonaws/aws-java-sdk-marketplacecommerceanalytics/1.11.76/aws-java-sdk-marketplacecommerceanalytics-1.11.76.jar
137
+ - lib/com/amazonaws/aws-java-sdk-marketplacemeteringservice/1.11.76/aws-java-sdk-marketplacemeteringservice-1.11.76.jar
138
+ - lib/com/amazonaws/aws-java-sdk-models/1.11.76/aws-java-sdk-models-1.11.76.jar
139
+ - lib/com/amazonaws/aws-java-sdk-opsworks/1.11.76/aws-java-sdk-opsworks-1.11.76.jar
140
+ - lib/com/amazonaws/aws-java-sdk-opsworkscm/1.11.76/aws-java-sdk-opsworkscm-1.11.76.jar
141
+ - lib/com/amazonaws/aws-java-sdk-pinpoint/1.11.76/aws-java-sdk-pinpoint-1.11.76.jar
142
+ - lib/com/amazonaws/aws-java-sdk-polly/1.11.76/aws-java-sdk-polly-1.11.76.jar
143
+ - lib/com/amazonaws/aws-java-sdk-rds/1.11.76/aws-java-sdk-rds-1.11.76.jar
144
+ - lib/com/amazonaws/aws-java-sdk-redshift/1.11.76/aws-java-sdk-redshift-1.11.76.jar
145
+ - lib/com/amazonaws/aws-java-sdk-rekognition/1.11.76/aws-java-sdk-rekognition-1.11.76.jar
146
+ - lib/com/amazonaws/aws-java-sdk-route53/1.11.76/aws-java-sdk-route53-1.11.76.jar
147
+ - lib/com/amazonaws/aws-java-sdk-s3/1.11.76/aws-java-sdk-s3-1.11.76.jar
148
+ - lib/com/amazonaws/aws-java-sdk-servermigration/1.11.76/aws-java-sdk-servermigration-1.11.76.jar
149
+ - lib/com/amazonaws/aws-java-sdk-servicecatalog/1.11.76/aws-java-sdk-servicecatalog-1.11.76.jar
150
+ - lib/com/amazonaws/aws-java-sdk-ses/1.11.76/aws-java-sdk-ses-1.11.76.jar
151
+ - lib/com/amazonaws/aws-java-sdk-shield/1.11.76/aws-java-sdk-shield-1.11.76.jar
152
+ - lib/com/amazonaws/aws-java-sdk-simpledb/1.11.76/aws-java-sdk-simpledb-1.11.76.jar
153
+ - lib/com/amazonaws/aws-java-sdk-simpleworkflow/1.11.76/aws-java-sdk-simpleworkflow-1.11.76.jar
154
+ - lib/com/amazonaws/aws-java-sdk-snowball/1.11.76/aws-java-sdk-snowball-1.11.76.jar
155
+ - lib/com/amazonaws/aws-java-sdk-sns/1.11.76/aws-java-sdk-sns-1.11.76.jar
156
+ - lib/com/amazonaws/aws-java-sdk-sqs/1.11.76/aws-java-sdk-sqs-1.11.76.jar
157
+ - lib/com/amazonaws/aws-java-sdk-ssm/1.11.76/aws-java-sdk-ssm-1.11.76.jar
158
+ - lib/com/amazonaws/aws-java-sdk-stepfunctions/1.11.76/aws-java-sdk-stepfunctions-1.11.76.jar
159
+ - lib/com/amazonaws/aws-java-sdk-storagegateway/1.11.76/aws-java-sdk-storagegateway-1.11.76.jar
160
+ - lib/com/amazonaws/aws-java-sdk-sts/1.11.76/aws-java-sdk-sts-1.11.76.jar
161
+ - lib/com/amazonaws/aws-java-sdk-support/1.11.76/aws-java-sdk-support-1.11.76.jar
162
+ - lib/com/amazonaws/aws-java-sdk-swf-libraries/1.11.22/aws-java-sdk-swf-libraries-1.11.22.jar
163
+ - lib/com/amazonaws/aws-java-sdk-waf/1.11.76/aws-java-sdk-waf-1.11.76.jar
164
+ - lib/com/amazonaws/aws-java-sdk-workspaces/1.11.76/aws-java-sdk-workspaces-1.11.76.jar
165
+ - lib/com/amazonaws/aws-java-sdk-xray/1.11.76/aws-java-sdk-xray-1.11.76.jar
166
+ - lib/com/amazonaws/aws-java-sdk/1.11.76/aws-java-sdk-1.11.76.jar
167
+ - lib/com/amazonaws/jmespath-java/1.11.76/jmespath-java-1.11.76.jar
168
+ - lib/com/fasterxml/jackson/core/jackson-annotations/2.6.0/jackson-annotations-2.6.0.jar
169
+ - lib/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar
170
+ - lib/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar
171
+ - lib/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.6.6/jackson-dataformat-cbor-2.6.6.jar
172
+ - lib/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
173
+ - lib/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
174
+ - lib/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar
60
175
  - lib/logstash-input-jsqs_jars.rb
61
176
  - lib/logstash/inputs/jsqs.rb
177
+ - lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
178
+ - lib/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar
179
+ - lib/software/amazon/ion/ion-java/1.0.1/ion-java-1.0.1.jar
62
180
  - logstash-input-jsqs.gemspec
63
- - spec/inputs/example_spec.rb
64
- - vendor/jar-dependencies/runtime-jars/aws-java-sdk-1.7.13.jar
65
- - vendor/jar-dependencies/runtime-jars/commons-logging-1.2.jar
66
- - vendor/jar-dependencies/runtime-jars/httpclient-4.4.1.jar
67
- - vendor/jar-dependencies/runtime-jars/httpcore-4.4.1.jar
68
- homepage:
181
+ - spec/inputs/jsqs_spec.rb
182
+ homepage: https://github.com/JamieCressey/logstash-input-jsqs
69
183
  licenses:
70
- - Apache License (2.0)
184
+ - Apache-2.0
71
185
  metadata:
72
186
  logstash_plugin: 'true'
73
187
  logstash_group: input
@@ -77,19 +191,23 @@ require_paths:
77
191
  - lib
78
192
  required_ruby_version: !ruby/object:Gem::Requirement
79
193
  requirements:
80
- - - '>='
194
+ - - ">="
81
195
  - !ruby/object:Gem::Version
82
196
  version: '0'
83
197
  required_rubygems_version: !ruby/object:Gem::Requirement
84
198
  requirements:
85
- - - '>='
199
+ - - ">="
86
200
  - !ruby/object:Gem::Version
87
201
  version: '0'
88
- requirements: []
202
+ requirements:
203
+ - jar 'com.amazonaws:aws-java-sdk', '1.11.76'
204
+ - jar 'commons-logging:commons-logging', '1.2'
205
+ - jar 'org.apache.httpcomponents:httpclient', '4.5.2'
206
+ - jar 'org.apache.httpcomponents:httpcore', '4.4.5'
89
207
  rubyforge_project:
90
- rubygems_version: 2.4.8
208
+ rubygems_version: 2.6.8
91
209
  signing_key:
92
210
  specification_version: 4
93
211
  summary: SQS input plugin using the AWS Java SDK
94
212
  test_files:
95
- - spec/inputs/example_spec.rb
213
+ - spec/inputs/jsqs_spec.rb
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- Gemfile.bak
4
- .bundle
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "logstash/devutils/rake"
@@ -1 +0,0 @@
1
- require "logstash/devutils/rspec/spec_helper"