logstash-input-sfdc_elf_schneider 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +0 -0
  3. data/.rubocop.yml +0 -0
  4. data/Gemfile +0 -0
  5. data/MIT-LICENSE +0 -0
  6. data/README.md +0 -0
  7. data/Rakefile +0 -0
  8. data/lib/logstash/inputs/sfdc_elf/client_with_streaming_support.rb +0 -0
  9. data/lib/logstash/inputs/sfdc_elf/queue_util.rb +0 -0
  10. data/lib/logstash/inputs/sfdc_elf/scheduler.rb +0 -0
  11. data/lib/logstash/inputs/sfdc_elf/state_persistor.rb +0 -0
  12. data/lib/logstash/inputs/sfdc_elf.rb +2 -2
  13. data/logstash-input-sfdc_elf_schneider.gemspec +1 -1
  14. data/spec/fixtures/auth_success_response.json +0 -0
  15. data/spec/fixtures/describe.json +0 -0
  16. data/spec/fixtures/org_query_response.json +0 -0
  17. data/spec/fixtures/queue_util/create_event_ELF_list1.json +0 -0
  18. data/spec/fixtures/queue_util/create_event_ELF_list2.json +0 -0
  19. data/spec/fixtures/queue_util/create_event_ELF_list3.json +0 -0
  20. data/spec/fixtures/queue_util/create_event_sampledata1.csv +0 -0
  21. data/spec/fixtures/queue_util/create_event_sampledata2.csv +0 -0
  22. data/spec/fixtures/queue_util/create_event_sampledata3.csv +0 -0
  23. data/spec/fixtures/queue_util/eventlogfile_describe.json +0 -0
  24. data/spec/fixtures/queue_util/eventlogfile_list.json +0 -0
  25. data/spec/fixtures/queue_util/sample_data1.csv +0 -0
  26. data/spec/fixtures/queue_util/sample_data2.csv +0 -0
  27. data/spec/fixtures/queue_util/sample_data3.csv +0 -0
  28. data/spec/fixtures/queue_util/sample_data4.csv +0 -0
  29. data/spec/fixtures/queue_util/sample_data5.csv +0 -0
  30. data/spec/inputs/sfdc_elf/queue_util_spec.rb +0 -0
  31. data/spec/inputs/sfdc_elf/scheduler_spec.rb +0 -0
  32. data/spec/inputs/sfdc_elf/state_persistor_spec.rb +0 -0
  33. data/spec/inputs/sfdc_elf_spec.rb +0 -0
  34. data/spec/spec_helper.rb +0 -0
  35. metadata +17 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 152dbc61c42b31c6dae7a176404074ca2614d8717006d5d7c101a4b7b45efdd7
4
- data.tar.gz: d1d649228b720404964e7cccc34c49ce409e7e2dd786adbfdc7376972f270003
2
+ SHA1:
3
+ metadata.gz: 4b92e3566a7fe329df6e6969fb8d6d9861ec2df8
4
+ data.tar.gz: dd888c9f32361d9bc40df97c799821a0287eded5
5
5
  SHA512:
6
- metadata.gz: 4fe45fe63f01fe4d93d1f42383613c55372a88d668a05bad355ec37c253f011182608580bc0d8079af50ca22aa286f6bde543d2d75f535e7151af3a247f891f1
7
- data.tar.gz: c56974381aae6b844f113b5f417f8e427c1c2e34bde92bad52a80ddf52dc2e7c1f9d7f629d23cd7b398b76f5ca851ba3ad20978b04d05f9d3fbdf193608aa19e
6
+ metadata.gz: da7478c69470ba286b419d0e2d7df4729968688a7b0c66f464fd8c2985b4f8237d077b9e16aad5c57d2882840237f71000e5436daa996dc8cddf3a045eb7ca97
7
+ data.tar.gz: 45e2dee47cd448d2cda1af857fcf9cdfc60b2589d78a0b70d49211d928b435d33b609dc9a0bee703086761197f4f8018679c0c9875328494542c839921a2e7dd
data/.gitignore CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/MIT-LICENSE CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -100,9 +100,9 @@ class LogStash::Inputs::SfdcElf < LogStash::Inputs::Base
100
100
  # Grab a list of SObjects, specifically EventLogFiles.
101
101
  soql_expr = "SELECT Id, EventType, Logfile, LogDate, LogFileLength, LogFileFieldTypes
102
102
  FROM EventLogFile
103
- WHERE LogDate > #{@last_indexed_log_date} and EventType in ('ApexExecution','ApexSoap','ApexTrigger','API','BulkApi','Dashboard','LightningError','LightningInteraction','LightningPageView','LightningPerformance','LoginAs','Login','Logout','MetadataApiOperation','Report','RestApi','URI','VisualforceRequest','WaveChange','WaveInteraction','WavePerformance') ORDER BY LogDate ASC "
104
-
103
+ WHERE LogDate > #{@last_indexed_log_date} and EventType in ('ApexExecution','ApexSoap','API','BulkApi','Dashboard','LightningError','LightningInteraction','LightningPageView','LightningPerformance','LoginAs','Login','Logout','MetadataApiOperation','Report','RestApi','URI','VisualforceRequest','WaveChange','WaveInteraction','WavePerformance') ORDER BY LogDate ASC "
105
104
 
105
+ @logger.info("#{LOG_KEY}: query = #{soql_expr}");
106
106
  query_result_list = @client.retryable_query(username: @username,
107
107
  password: @password.value + @security_token.value,
108
108
  retry_attempts: RETRY_ATTEMPTS,
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-sfdc_elf_schneider'
3
- s.version = '1.0.5'
3
+ s.version = '1.0.7'
4
4
  s.licenses = ['MIT']
5
5
  s.summary = 'A Logstash plugin the receives events from Salesforce EventLogFile'
6
6
  s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-sfdc_elf_schneider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhishek Sreenivasa
8
8
  - Mohammed Islam
9
9
  - Siddharatha Nagavarapu
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-03-11 00:00:00.000000000 Z
13
+ date: 2019-06-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
+ name: logstash-core
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
19
  - - ">="
@@ -21,9 +22,8 @@ dependencies:
21
22
  - - "<"
22
23
  - !ruby/object:Gem::Version
23
24
  version: 2.0.0
24
- name: logstash-core
25
- prerelease: false
26
25
  type: :runtime
26
+ prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - ">="
@@ -33,56 +33,56 @@ dependencies:
33
33
  - !ruby/object:Gem::Version
34
34
  version: 2.0.0
35
35
  - !ruby/object:Gem::Dependency
36
+ name: logstash-codec-plain
36
37
  requirement: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - ">="
39
40
  - !ruby/object:Gem::Version
40
41
  version: '0'
41
- name: logstash-codec-plain
42
- prerelease: false
43
42
  type: :runtime
43
+ prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  - !ruby/object:Gem::Dependency
50
+ name: activesupport
50
51
  requirement: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - ">="
53
54
  - !ruby/object:Gem::Version
54
55
  version: '0'
55
- name: activesupport
56
- prerelease: false
57
56
  type: :runtime
57
+ prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  - !ruby/object:Gem::Dependency
64
+ name: databasedotcom
64
65
  requirement: !ruby/object:Gem::Requirement
65
66
  requirements:
66
67
  - - ">="
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
- name: databasedotcom
70
- prerelease: false
71
70
  type: :runtime
71
+ prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  - !ruby/object:Gem::Dependency
78
+ name: logstash-devutils
78
79
  requirement: !ruby/object:Gem::Requirement
79
80
  requirements:
80
81
  - - ">="
81
82
  - !ruby/object:Gem::Version
82
83
  version: '0'
83
- name: logstash-devutils
84
- prerelease: false
85
84
  type: :development
85
+ prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ">="
@@ -138,7 +138,7 @@ licenses:
138
138
  metadata:
139
139
  logstash_plugin: 'true'
140
140
  logstash_group: input
141
- post_install_message:
141
+ post_install_message:
142
142
  rdoc_options: []
143
143
  require_paths:
144
144
  - lib
@@ -153,9 +153,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.7.6
158
- signing_key:
156
+ rubyforge_project:
157
+ rubygems_version: 2.5.2.3
158
+ signing_key:
159
159
  specification_version: 4
160
160
  summary: A Logstash plugin the receives events from Salesforce EventLogFile
161
161
  test_files: