LitleOnline 9.3.2 → 9.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MWYwZjBhNDAzYmU5ZWYwMGE1YTgzZGJlNTIyZTdiOTEyOTM3MjRmYQ==
5
- data.tar.gz: !binary |-
6
- NTg0ODM0MTg4ZmRhOThlMWFhNmYwZDJlODk5YTIwMmQyNTNmNTc1Zg==
2
+ SHA1:
3
+ metadata.gz: a17860fc3ab914c64a1dc62e018d5e14de3f1f74
4
+ data.tar.gz: 2beee4aefed0cfc9b341c30c456d65901cef3aeb
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MDhhMjNhMzk4NDc2ZmE5ZDkxM2Y3NWE3MzQzYWNkYzczMjg2ZTAyM2U4MzBm
10
- NmUzMDg3ODdhZTYyNTRkNDhjMWE5Njc5ZDFhYzJmMDA5OWYxNmQyYjE0NmE5
11
- MjlmNWJhZTA0ZDMxN2M0N2Q2NzQ4YmIxYzUzMGJiNjJlMzBhM2M=
12
- data.tar.gz: !binary |-
13
- MWI1MTYxMjA3NzAwM2Q2ZmQ1MTY0ODZjNTllYmQ2ZDA0NmYwZmFjY2EzYTM2
14
- NDk4ZjgwMTM3ZTRhN2VmZTNmN2M1ZTY2ODc5ZDBmNDlmZDMxOWU5NWVjNGVm
15
- ODQ5ZDVlY2VjZDg2NWJiZmU2YTgwMzEwZDA2MWMyOWFlYzA2NjA=
6
+ metadata.gz: eee4ec039aefc3a2ea897d4054c132262c894279b4c0a8f0ee4aa2e5cd3c3701c7adf3b1eee8f5df5f423aca307c570f03fe82486d6ddc0c774895532e8bc891
7
+ data.tar.gz: 156395abad0f8968f907cfb9f26f768c38ad1f632bca5666049a02e67a949af763ceadc59617510cb1913d5abfb474f69e4f67449d3b640e222e21ff22cb0a9f
data/CHANGELOG CHANGED
@@ -1,5 +1,11 @@
1
1
  = LitleOnline CHANGELOG
2
2
 
3
+ ==Version 9.3.3
4
+ *add fraudCheck transaction type
5
+
6
+ ==Version 9.3.2
7
+ HTTP timeout set to 500ms
8
+
3
9
  ==Version 9.3.1 (March 9, 2015)
4
10
  *Feature: PFIF instruction transaction support was added
5
11
 
data/Rakefile CHANGED
@@ -34,7 +34,7 @@ spec = Gem::Specification.new do |s|
34
34
  s.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION'))
35
35
  s.requirements =
36
36
  [ 'Contact sdksupport@litle.com for more information' ]
37
- s.version = "9.3.2"
37
+ s.version = "9.3.3"
38
38
  s.author = "Litle & Co"
39
39
  s.email = "sdksupport@litle.com"
40
40
  s.homepage = "http://www.litle.com/developers"
@@ -229,13 +229,13 @@ module LitleOnline
229
229
  end
230
230
  end
231
231
  end
232
- #
233
- # class FraudCheckListener < DefaultLitleListener
234
- # def apply(duck)
235
- # if(duck["type"] == "fraudCheckResponse") then
236
- # @action.call(duck)
237
- # end
238
- # end
239
- # end
232
+
233
+ class FraudCheckListener < DefaultLitleListener
234
+ def apply(duck)
235
+ if(duck["type"] == "advancedFraudResult") then
236
+ @action.call(duck)
237
+ end
238
+ end
239
+ end
240
240
 
241
241
  end
@@ -229,11 +229,11 @@ module LitleOnline
229
229
  commit(transaction, :echeckVoid, options)
230
230
  end
231
231
 
232
- # def fraud_check_request(options)
233
- # transaction = @litle_transaction.fraud_check_request(options)
234
- #
235
- # commit(transaction, :fraudCheck, options)
236
- # end
232
+ def fraud_check_request(options)
233
+ transaction = @litle_transaction.fraud_check_request(options)
234
+
235
+ commit(transaction, :fraudCheck, options)
236
+ end
237
237
 
238
238
  private
239
239
 
@@ -515,18 +515,16 @@ module LitleOnline
515
515
 
516
516
  return transaction
517
517
  end
518
- #
519
- # def fraud_check_request(options)
520
- # transaction = FraudCheckRequest.new
521
- # transaction.advancedFraudChecks = AdvancedFraudChecks.from_hash(options,'advancedFraudChecks')
522
- # transaction.billToAddress = Contact.from_hash(options,'billToAddress')
523
- # transaction.shipToAddress = Contact.from_hash(options,'shipToAddress')
524
- # transaction.amount = options['amount']
525
- #
526
- # add_account_info(transaction, options)
527
- #
528
- # return transaction
529
- # end
518
+
519
+ def fraud_check_request(options)
520
+ transaction = FraudCheckRequest.new
521
+ transaction.advancedFraudChecks = AdvancedFraudChecks.from_hash(options,'advancedFraudChecks')
522
+ transaction.transactionId = options["id"]
523
+
524
+ add_account_info(transaction, options)
525
+
526
+ return transaction
527
+ end
530
528
 
531
529
  private
532
530
 
data/lib/XMLFields.rb CHANGED
@@ -1330,19 +1330,19 @@ module LitleOnline
1330
1330
  end
1331
1331
  end
1332
1332
  end
1333
- #
1334
- # class FraudCheckRequest
1335
- # include XML::Mapping
1336
- # root_element_name "fraudCheck"
1337
- # text_node :reportGroup, "@reportGroup", :default_value=>nil
1338
- # text_node :transactionId, "@id", :default_value=>nil
1339
- # text_node :customerId, "@customerId", :default_value=>nil
1340
- # object_node :advancedFraudChecks, "advancedFraudChecks", :default_value=>nil
1341
- # object_node :billToAddress, "billToAddress", :class=>Contact, :default_value=>nil
1342
- # object_node :shipToAddress, "shipToAddress", :class=>Contact, :default_value=>nil
1343
- # text_node :amount, "amount", :default_value=>nil
1344
- # end
1345
1333
 
1334
+ class FraudCheckRequest
1335
+ include XML::Mapping
1336
+ root_element_name "fraudCheck"
1337
+ text_node :reportGroup, "@reportGroup", :default_value=>nil
1338
+ text_node :transactionId, "@id", :default_value=>nil
1339
+ text_node :customerId, "@customerId", :default_value=>nil
1340
+ object_node :advancedFraudChecks, "advancedFraudChecks", :default_value=>nil
1341
+ object_node :billToAddress, "billToAddress", :class=>Contact, :default_value=>nil
1342
+ object_node :shipToAddress, "shipToAddress", :class=>Contact, :default_value=>nil
1343
+ text_node :amount, "amount", :default_value=>nil
1344
+ end
1345
+
1346
1346
  class Authorization
1347
1347
  include XML::Mapping
1348
1348
  root_element_name "authorization"
@@ -1935,7 +1935,8 @@ module LitleOnline
1935
1935
  :elsif, 'deactivateReversal', :then, (object_node :deactivateReversal,"deactivateReversal", :class=>DeactivateReversal),
1936
1936
  :elsif, 'loadReversal', :then, (object_node :loadReversal,"loadReversal", :class=>LoadReversal),
1937
1937
  :elsif, 'unloadReversal', :then, (object_node :unloadReversal,"unloadReversal", :class=>UnloadReversal),
1938
- :elsif, 'advancedFraudResults', :then, (object_node :advancedFraudResults,"advancedFraudResults", :class=>AdvancedFraudResults)
1938
+ :elsif, 'advancedFraudResults', :then, (object_node :advancedFraudResults,"advancedFraudResults", :class=>AdvancedFraudResults),
1939
+ :elsif, 'fraudCheck', :then, (object_node :fraudCheck, "fraudCheck", :class=>FraudCheck)
1939
1940
  def post_save(xml, options={:Mapping=>:_default})
1940
1941
  xml.each_element() {|el|
1941
1942
  if(el.name == 'captureTxn')
@@ -237,7 +237,7 @@ module LitleOnline
237
237
  assert_not_nil transaction["message"]
238
238
  count+=1
239
239
  end})
240
- assert_equal count, 14
240
+ assert_equal 14,count
241
241
  end
242
242
 
243
243
  def test_mini_batch_borked_counts
@@ -461,7 +461,7 @@ module LitleOnline
461
461
  assert_not_nil transaction["message"]
462
462
  count+=1
463
463
  end})
464
- assert_equal count, 10
464
+ assert_equal 10, count
465
465
  end
466
466
 
467
467
  def test_echeck_pre_note_all
@@ -566,7 +566,7 @@ module LitleOnline
566
566
  assert_equal(transaction["orderId"],transaction["response"])
567
567
  count+=1
568
568
  end})
569
- assert_equal count, 6
569
+ assert_equal 6,count
570
570
  end
571
571
 
572
572
  end
@@ -44,7 +44,7 @@ module LitleOnline
44
44
 
45
45
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
46
46
 
47
- assert_equal entries.length, 4
47
+ assert_equal 4,entries.length
48
48
  entries.sort!
49
49
  assert_not_nil entries[2] =~ /batch_\d+\z/
50
50
  assert_not_nil entries[3] =~ /batch_\d+_txns\z/
@@ -58,7 +58,7 @@ module LitleOnline
58
58
 
59
59
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
60
60
 
61
- assert_equal entries.length, 4
61
+ assert_equal 4,entries.length
62
62
  entries.sort!
63
63
  assert_not_nil entries[2] =~ /batch_\d+\z/
64
64
  assert_not_nil entries[3] =~ /batch_\d+_txns\z/
@@ -56,7 +56,7 @@ module LitleOnline
56
56
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
57
57
  entries.sort!
58
58
 
59
- assert_equal entries.size, 4
59
+ assert_equal 4,entries.size
60
60
  assert_not_nil entries[2] =~ /request_\d+\z/
61
61
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
62
62
 
@@ -113,12 +113,22 @@ module LitleOnline
113
113
  #finish the Litle Request, indicating we plan to add no more batches
114
114
  request.finish_request
115
115
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
116
- assert_equal entries.length, 3
116
+ assert_equal 3, entries.length
117
117
  entries.sort!
118
118
  assert_not_nil entries[2] =~ /request_\d+.complete\z/
119
119
 
120
120
  #send the batch files at the given directory over sFTP
121
- request.send_to_litle_stream
121
+ count = 1
122
+ begin
123
+ request.send_to_litle_stream
124
+ rescue
125
+ if (count < 3) then
126
+ count = count + 1
127
+ retry
128
+ else
129
+ raise
130
+ end
131
+ end
122
132
  request.process_responses({:transaction_listener => LitleOnline::DefaultLitleListener.new do |transaction|
123
133
  type = transaction["type"]
124
134
 
@@ -0,0 +1,77 @@
1
+ =begin
2
+ Copyright (c) 2012 Litle & Co.
3
+
4
+ Permission is hereby granted, free of charge, to any person
5
+ obtaining a copy of this software and associated documentation
6
+ files (the "Software"), to deal in the Software without
7
+ restriction, including without limitation the rights to use,
8
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+ =end
25
+ require File.expand_path("../../../lib/LitleOnline",__FILE__)
26
+ require 'test/unit'
27
+
28
+ #test FraudCheck Transaction
29
+ module LitleOnline
30
+ class TestFraudCheck < Test::Unit::TestCase
31
+ def test_fraud_check_happy_path
32
+ hash = {
33
+ 'merchantId' => '101',
34
+ 'version'=>'10.1',
35
+ 'id' => '127',
36
+ 'reportGroup'=>'Planets',
37
+ 'advancedFraudChecks' => {
38
+ 'threatMetrixSessionId' => 'test1-BXXXXXX003',
39
+ 'customAttribute1' => 'pass',
40
+ 'customAttribute2' => '55',
41
+ 'customAttribute3' => '5'}
42
+ }
43
+ response = LitleOnlineRequest.new.fraud_check_request(hash)
44
+ assert_equal('000', response.fraudCheckResponse.response)
45
+ assert_equal('Approved', response.fraudCheckResponse.message)
46
+ assert_equal('pass', response.fraudCheckResponse.advancedFraudResult.deviceReviewStatus)
47
+ assert_equal('55', response.fraudCheckResponse.advancedFraudResult.deviceReputationScore)
48
+ assert_equal('triggered_rule_1', response.fraudCheckResponse.advancedFraudResult.triggeredRule[0])
49
+ assert_equal(5, response.fraudCheckResponse.advancedFraudResult.triggeredRule.size())
50
+ end
51
+
52
+ def test_fraud_check_session_id
53
+ hash = {
54
+ 'merchantId' => '101',
55
+ 'version'=>'10.1',
56
+ 'id' => '127',
57
+ 'reportGroup'=>'Planets',
58
+ 'advancedFraudChecks' => {
59
+ 'threatMetrixSessionId' => 'test2-BXXXXXX003'
60
+ }
61
+ }
62
+ response = LitleOnlineRequest.new.fraud_check_request(hash)
63
+ assert_equal('000', response.fraudCheckResponse.response)
64
+ assert_equal('Approved', response.fraudCheckResponse.message)
65
+ assert_equal('pass', response.fraudCheckResponse.advancedFraudResult.deviceReviewStatus)
66
+ assert_equal('42', response.fraudCheckResponse.advancedFraudResult.deviceReputationScore)
67
+ # kind of a hack to get around the variable # of triggered rule elements. ie. 1 element is added as a string not
68
+ # an Array. Fix is to write an unmarshaller or custom node class in XMLFields.rb
69
+ if(response.fraudCheckResponse.advancedFraudResult.triggeredRule.is_a?(Array))
70
+ assert_equal('triggered_rule_default', response.fraudCheckResponse.advancedFraudResult.triggeredRule[0])
71
+ elsif
72
+ assert_equal('triggered_rule_default', response.fraudCheckResponse.advancedFraudResult.triggeredRule)
73
+ end
74
+ end
75
+
76
+ end
77
+ end
@@ -44,7 +44,7 @@ module LitleOnline
44
44
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
45
45
  entries.sort!
46
46
 
47
- assert_equal entries.size, 4
47
+ assert_equal 4, entries.size
48
48
  assert_not_nil entries[2] =~ /request_\d+\z/
49
49
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
50
50
  end
@@ -57,7 +57,7 @@ module LitleOnline
57
57
  batch.close_batch
58
58
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
59
59
 
60
- assert_equal entries.length, 3
60
+ assert_equal 3, entries.length
61
61
  entries.sort!
62
62
  assert_not_nil entries[2] =~ /batch_\d+.closed-0\z/
63
63
 
@@ -72,7 +72,7 @@ module LitleOnline
72
72
  request.commit_batch(batch.get_batch_name)
73
73
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
74
74
  entries.sort!
75
- assert_equal entries.length, 4
75
+ assert_equal 4,entries.length
76
76
  assert_not_nil entries[2] =~ /request_\d+\z/
77
77
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
78
78
  end
@@ -85,7 +85,7 @@ module LitleOnline
85
85
  batch.close_batch
86
86
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
87
87
 
88
- assert_equal entries.length, 3
88
+ assert_equal 3, entries.length
89
89
  entries.sort!
90
90
  assert_not_nil entries[2] =~ /batch_\d+.closed-0\z/
91
91
 
@@ -93,7 +93,7 @@ module LitleOnline
93
93
  request.create_new_litle_request(dir+ '/litle-sdk-for-ruby-test')
94
94
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
95
95
  entries.sort!
96
- assert_equal entries.length, 5
96
+ assert_equal 5, entries.length
97
97
  assert_not_nil entries[2] =~ /batch_\d+.closed-0\z/
98
98
  assert_not_nil entries[3] =~ /request_\d+\z/
99
99
  assert_not_nil entries[4] =~ /request_\d+_batches\z/
@@ -101,7 +101,7 @@ module LitleOnline
101
101
  request.commit_batch(batch)
102
102
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
103
103
  entries.sort!
104
- assert_equal entries.length, 4
104
+ assert_equal 4, entries.length
105
105
  assert_not_nil entries[2] =~ /request_\d+\z/
106
106
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
107
107
  end
@@ -125,7 +125,7 @@ module LitleOnline
125
125
 
126
126
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
127
127
 
128
- assert_equal entries.length, 4
128
+ assert_equal 4, entries.length
129
129
  entries.sort!
130
130
  assert_not_nil entries[2] =~ /batch_\d+.closed-0\z/
131
131
  assert_not_nil entries[3] =~ /batch_\d+.closed-1\z/
@@ -134,7 +134,7 @@ module LitleOnline
134
134
  request.create_new_litle_request(dir+ '/litle-sdk-for-ruby-test')
135
135
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
136
136
  entries.sort!
137
- assert_equal entries.length, 6
137
+ assert_equal 6, entries.length
138
138
  assert_not_nil entries[2] =~ /batch_\d+.closed-0\z/
139
139
  assert_not_nil entries[3] =~ /batch_\d+.closed-1\z/
140
140
  assert_not_nil entries[4] =~ /request_\d+\z/
@@ -143,7 +143,7 @@ module LitleOnline
143
143
  request.commit_batch(batch)
144
144
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
145
145
  entries.sort!
146
- assert_equal entries.length, 4
146
+ assert_equal 4, entries.length
147
147
  assert_not_nil entries[2] =~ /request_\d+\z/
148
148
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
149
149
  end
@@ -157,7 +157,7 @@ module LitleOnline
157
157
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
158
158
  entries.sort!
159
159
 
160
- assert_equal entries.size, 4
160
+ assert_equal 4, entries.size
161
161
  assert_not_nil entries[2] =~ /request_\d+\z/
162
162
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
163
163
 
@@ -166,7 +166,7 @@ module LitleOnline
166
166
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
167
167
  entries.sort!
168
168
 
169
- assert_equal entries.size, 3
169
+ assert_equal 3, entries.size
170
170
  assert_not_nil entries[2] =~ /request_\d+.complete\z/
171
171
  end
172
172
 
@@ -182,7 +182,7 @@ module LitleOnline
182
182
  entries = Dir.entries(temp)
183
183
  entries.sort!
184
184
 
185
- assert_equal entries.size, 3
185
+ assert_equal 3, entries.size
186
186
  assert_not_nil entries[2] =~ /request_\d+.complete\z/
187
187
  end
188
188
 
@@ -199,7 +199,7 @@ module LitleOnline
199
199
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
200
200
  entries.sort!
201
201
 
202
- assert_equal entries.size, 3
202
+ assert_equal 3, entries.size
203
203
  assert_not_nil entries[2] =~ /request_\d+.complete.sent\z/
204
204
 
205
205
  uploaded_file = entries[2]
@@ -218,7 +218,7 @@ module LitleOnline
218
218
  files_on_srv.each {|file|
219
219
  ents.push(file.name)
220
220
  }
221
- assert_equal ents.size, 3
221
+ assert_equal 3,ents.size
222
222
  ents.sort!
223
223
  assert_equal ents[2], uploaded_file.gsub('sent', 'asc')
224
224
  sftp.remove('/inbound/' + ents[2])
@@ -238,14 +238,14 @@ module LitleOnline
238
238
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
239
239
  entries.sort!
240
240
 
241
- assert_equal entries.size, 4
241
+ assert_equal 4, entries.size
242
242
  assert_not_nil entries[2] =~ /request_\d+.complete.sent\z/
243
243
  File.delete(dir + '/litle-sdk-for-ruby-test/' + entries[2])
244
244
 
245
245
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test/responses')
246
246
  entries.sort!
247
247
 
248
- assert_equal entries.size, 3
248
+ assert_equal 3, entries.size
249
249
  assert_not_nil entries[2] =~ /response_\d+.complete.asc.received\z/
250
250
  end
251
251
 
@@ -270,7 +270,7 @@ module LitleOnline
270
270
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
271
271
  entries.sort!
272
272
 
273
- assert_equal entries.size, 4
273
+ assert_equal 4, entries.size
274
274
  assert_not_nil entries[2] =~ /request_\d+\z/
275
275
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
276
276
 
@@ -281,7 +281,7 @@ module LitleOnline
281
281
 
282
282
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
283
283
 
284
- assert_equal entries.length, 6
284
+ assert_equal 6, entries.length
285
285
  entries.sort!
286
286
  assert_not_nil entries[2] =~ /batch_\d+\z/
287
287
  assert_not_nil entries[3] =~ /batch_\d+_txns\z/
@@ -298,7 +298,7 @@ module LitleOnline
298
298
  batch.close_batch()
299
299
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
300
300
 
301
- assert_equal entries.length, 5
301
+ assert_equal 5, entries.length
302
302
  entries.sort!
303
303
  assert_not_nil entries[2] =~ /batch_\d+.closed-\d+\z/
304
304
  assert_not_nil entries[3] =~ /request_\d+\z/
@@ -307,7 +307,7 @@ module LitleOnline
307
307
  #add the batch to the LitleRequest
308
308
  request.commit_batch(batch)
309
309
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
310
- assert_equal entries.length, 4
310
+ assert_equal 4, entries.length
311
311
  entries.sort!
312
312
  assert_not_nil entries[2] =~ /request_\d+\z/
313
313
  assert_not_nil entries[3] =~ /request_\d+_batches\z/
@@ -315,7 +315,7 @@ module LitleOnline
315
315
  #finish the Litle Request, indicating we plan to add no more batches
316
316
  request.finish_request
317
317
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
318
- assert_equal entries.length, 3
318
+ assert_equal 3, entries.length
319
319
  entries.sort!
320
320
  assert_not_nil entries[2] =~ /request_\d+.complete\z/
321
321
 
@@ -331,14 +331,14 @@ module LitleOnline
331
331
  request.process_responses({:transaction_listener => LitleOnline::DefaultLitleListener.new do |transaction| end})
332
332
 
333
333
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test')
334
- assert_equal entries.length, 4
334
+ assert_equal 4, entries.length
335
335
  entries.sort!
336
336
  assert_not_nil entries[2] =~ /request_\d+.complete.sent\z/
337
337
  File.delete(dir + '/litle-sdk-for-ruby-test/' + entries[2])
338
338
 
339
339
  entries = Dir.entries(dir + '/litle-sdk-for-ruby-test/' + entries[3])
340
340
  entries.sort!
341
- assert_equal entries.length, 3
341
+ assert_equal 3, entries.length
342
342
  assert_not_nil entries[2] =~ /response_\d+.complete.asc.received.processed\z/
343
343
 
344
344
  end
@@ -64,3 +64,4 @@ require_relative 'test_unloadReversal'
64
64
  require_relative 'test_deactivateReversal'
65
65
  require_relative 'test_override'
66
66
  require_relative 'test_configuration'
67
+ require_relative 'test_fraudCheck'
@@ -41,7 +41,7 @@ module LitleOnline
41
41
  rescue RuntimeError=> e
42
42
  message = e.message
43
43
 
44
- assert_equal message, "Entered a file not a path."
44
+ assert_equal "Entered a file not a path.",message
45
45
  end
46
46
 
47
47
  def test_create_with_no_sep
@@ -148,7 +148,7 @@ module LitleOnline
148
148
  test = ""
149
149
  rescue RuntimeError => e
150
150
  test = e.message
151
- assert_equal test, "You entered neither a path nor a batch. Game over :("
151
+ assert_equal "You entered neither a path nor a batch. Game over :(" ,test
152
152
  end
153
153
 
154
154
  def test_add_open_batch
@@ -0,0 +1,45 @@
1
+ =begin
2
+ Copyright (c) 2012 Litle & Co.
3
+
4
+ Permission is hereby granted, free of charge, to any person
5
+ obtaining a copy of this software and associated documentation
6
+ files (the "Software"), to deal in the Software without
7
+ restriction, including without limitation the rights to use,
8
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+ =end
25
+ require File.expand_path("../../../lib/LitleOnline",__FILE__)
26
+ require 'test/unit'
27
+ require 'mocha/setup'
28
+
29
+ #test FraudCheck Transaction
30
+ module LitleOnline
31
+ class TestFraudCheck < Test::Unit::TestCase
32
+ def test_success_fraud_check
33
+ hash = {
34
+ 'merchantId' => '101',
35
+ 'version'=>'10.1',
36
+ 'id' => '127',
37
+ 'reportGroup'=>'Planets',
38
+ 'advancedFraudChecks' => {'threatMetrixSessionId' => 'test2-BXXXXXX003'},
39
+ }
40
+
41
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*<threatMetrixSessionId>test2-BXXXXXX003<\/threatMetrixSessionId>.*/m), is_a(Hash))
42
+ LitleOnlineRequest.new.fraud_check_request(hash)
43
+ end
44
+ end
45
+ end
@@ -86,7 +86,7 @@ module LitleOnline
86
86
  'orderId'=>'12344',
87
87
  'amount'=>'106',
88
88
  'orderSource'=>'ecommerce',
89
- # 'fraudCheck'=>{'authenticationTransactionId'=>'123'}, #for test
89
+ 'fraudCheck'=>{'authenticationTransactionId'=>'123'}, #for test
90
90
  'card'=>{
91
91
  'type'=>'VI',
92
92
  'number' =>'4100000000000002',
data/test/unit/ts_unit.rb CHANGED
@@ -62,4 +62,5 @@ require_relative 'test_refundReversal'
62
62
  require_relative 'test_loadReversal'
63
63
  require_relative 'test_unloadReversal'
64
64
  require_relative 'test_deactivateReversal'
65
+ require_relative 'test_fraudCheck'
65
66
 
metadata CHANGED
@@ -1,109 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: LitleOnline
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.3.2
4
+ version: 9.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Litle & Co
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-object
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: xml-mapping
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: net-sftp
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: libxml-ruby
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: crack
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mocha
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: ! 'Litle Online Ruby SDK created for version 9.3 of Litle XML format,
98
- see the XSD schema for specific fields that are supported by this format.
97
+ description: |+
98
+ Litle Online Ruby SDK created for version 9.3 of Litle XML format, see the XSD schema for specific fields that are supported by this format.
99
99
 
100
+ This gem contains an application interface in the Ruby programming language created by Litle & Co.
100
101
 
101
- This gem contains an application interface in the Ruby programming language created
102
- by Litle & Co.
103
102
 
104
-
105
-
106
- '
107
103
  email: sdksupport@litle.com
108
104
  executables:
109
105
  - sample_driver.rb
@@ -117,9 +113,7 @@ files:
117
113
  - LICENSE
118
114
  - README.md
119
115
  - Rakefile
120
- - Rakefile~
121
116
  - SETUP.md
122
- - accurev_plugin.log
123
117
  - bin/Setup.rb
124
118
  - bin/sample_batch_driver.rb
125
119
  - bin/sample_driver.rb
@@ -181,6 +175,7 @@ files:
181
175
  - test/functional/test_echeckVerification.rb
182
176
  - test/functional/test_echeckVoid.rb
183
177
  - test/functional/test_forceCapture.rb
178
+ - test/functional/test_fraudCheck.rb
184
179
  - test/functional/test_litle_requests.rb
185
180
  - test/functional/test_load.rb
186
181
  - test/functional/test_loadReversal.rb
@@ -219,6 +214,7 @@ files:
219
214
  - test/unit/test_echeckVerification.rb
220
215
  - test/unit/test_echeckVoid.rb
221
216
  - test/unit/test_forceCapture.rb
217
+ - test/unit/test_fraudCheck.rb
222
218
  - test/unit/test_load.rb
223
219
  - test/unit/test_loadReversal.rb
224
220
  - test/unit/test_refundReversal.rb
@@ -240,18 +236,18 @@ require_paths:
240
236
  - lib
241
237
  required_ruby_version: !ruby/object:Gem::Requirement
242
238
  requirements:
243
- - - ! '>='
239
+ - - '>='
244
240
  - !ruby/object:Gem::Version
245
241
  version: 1.8.7
246
242
  required_rubygems_version: !ruby/object:Gem::Requirement
247
243
  requirements:
248
- - - ! '>='
244
+ - - '>='
249
245
  - !ruby/object:Gem::Version
250
246
  version: '0'
251
247
  requirements:
252
248
  - Contact sdksupport@litle.com for more information
253
249
  rubyforge_project:
254
- rubygems_version: 2.4.5
250
+ rubygems_version: 2.4.8
255
251
  signing_key:
256
252
  specification_version: 4
257
253
  summary: Ruby SDK produced by Litle & Co. for transaction processing using Litle XML
data/Rakefile~ DELETED
@@ -1,93 +0,0 @@
1
- =begin
2
- Copyright (c) 2011 Litle & Co.
3
-
4
- Permission is hereby granted, free of charge, to any person
5
- obtaining a copy of this software and associated documentation
6
- files (the "Software"), to deal in the Software without
7
- restriction, including without limitation the rights to use,
8
- copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the
10
- Software is furnished to do so, subject to the following
11
- conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
- OTHER DEALINGS IN THE SOFTWARE.
24
- =end
25
- require 'rubygems'
26
- require 'rubygems/package_task'
27
- require 'rake/testtask'
28
- require 'rake/clean'
29
-
30
- spec = Gem::Specification.new do |s|
31
- FileUtils.rm_rf('pkg')
32
- s.name = "LitleOnline"
33
- s.summary = "Ruby SDK produced by Litle & Co. for transaction processing using Litle XML format v8.29"
34
- s.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION'))
35
- s.requirements =
36
- [ 'Contact sdksupport@litle.com for more information' ]
37
- s.version = "9.3.1"
38
- s.author = "Litle & Co"
39
- s.email = "sdksupport@litle.com"
40
- s.homepage = "http://www.litle.com/developers"
41
- s.platform = Gem::Platform::RUBY
42
- s.required_ruby_version = '>=1.8.7'
43
- s.files = Dir['**/**']
44
- s.executables = [ 'sample_driver.rb', 'Setup.rb' ]
45
- s.test_files = Dir["test/unit/ts_unit.rb"]
46
- s.has_rdoc = true
47
- s.add_dependency('xml-object')
48
- s.add_dependency('xml-mapping')
49
- s.add_dependency('net-sftp')
50
- s.add_dependency('libxml-ruby')
51
- s.add_dependency('crack')
52
- s.add_development_dependency('mocha')
53
- end
54
-
55
- Gem::PackageTask.new(spec) do |pkg|
56
- pkg.gem_spec = spec
57
- pkg.need_zip = true
58
- pkg.need_tar = true
59
- end
60
-
61
- namespace :test do
62
-
63
- Rake::TestTask.new do |t|
64
- t.libs << '.'
65
- t.name = 'unit'
66
- t.test_files = FileList['test/unit/ts_unit.rb']
67
- t.verbose = true
68
- end
69
-
70
- Rake::TestTask.new do |t|
71
- t.libs << '.'
72
- t.name = 'functional'
73
- t.test_files = FileList['test/functional/ts_all.rb']
74
- t.verbose = true
75
- end
76
-
77
- Rake::TestTask.new do |t|
78
- t.libs << '.'
79
- t.name = 'certification'
80
- t.test_files = FileList['test/certification/certTest*.rb']
81
- t.verbose = true
82
- end
83
-
84
- Rake::TestTask.new do |t|
85
- t.libs << '.'
86
- t.name = 'all'
87
- t.test_files = FileList['test/**/*.rb']
88
- t.verbose = true
89
- end
90
-
91
- end
92
-
93
- task :default =>'gem'
data/accurev_plugin.log DELETED
@@ -1,152 +0,0 @@
1
- 02/Apr 09:40:55 INFO eclipse.EclipsePlugin configureLog - Logging configured.
2
- 02/Apr 09:40:55 DEBUG eclipse.EclipsePlugin start - Plugin started
3
- 02/Apr 09:41:02 DEBUG eclipse.AccuRevStartUp earlyStartup - Accurev rev setup earlyStartup..
4
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager loadLoginSessions - Started
5
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@46043b20
6
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
7
- java.lang.Throwable
8
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
9
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
10
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
11
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
12
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
13
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
14
- at com.accurev.common.utils.SecurityUtils.getAcClientFileBin(SecurityUtils.java:125)
15
- at com.accurev.common.utils.SecurityUtils.parseServers(SecurityUtils.java:194)
16
- at com.accurev.common.utils.SecurityUtils.getServers(SecurityUtils.java:309)
17
- at com.accurev.ide.eclipse.managers.LoginSessionManager.loadLoginSessions(LoginSessionManager.java:114)
18
- at com.accurev.ide.eclipse.AccuRevStartUp.earlyStartup(AccuRevStartUp.java:37)
19
- at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
20
- at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
21
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
22
- at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
23
- at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
24
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@46043b20
25
- 02/Apr 09:41:02 DEBUG utils.SecurityUtils parseServers - Found server:accurev1:5050
26
- 02/Apr 09:41:02 ERROR utils.SecurityUtils getServersXml -
27
- javax.xml.bind.UnmarshalException
28
- - with linked exception:
29
- [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]
30
- at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:314)
31
- at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514)
32
- at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
33
- at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
34
- at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:136)
35
- at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:183)
36
- at com.accurev.common.utils.SecurityUtils.getServersXml(SecurityUtils.java:337)
37
- at com.accurev.common.utils.SecurityUtils.getServers(SecurityUtils.java:310)
38
- at com.accurev.ide.eclipse.managers.LoginSessionManager.loadLoginSessions(LoginSessionManager.java:114)
39
- at com.accurev.ide.eclipse.AccuRevStartUp.earlyStartup(AccuRevStartUp.java:37)
40
- at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
41
- at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
42
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
43
- at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
44
- at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
45
- Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
46
- at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
47
- at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
48
- at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
49
- at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
50
- at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)
51
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1019)
52
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
53
- at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
54
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
55
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
56
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
57
- at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
58
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
59
- at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
60
- at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
61
- ... 12 more
62
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager loadLoginSessions - Server has no session:com.accurev.ide.eclipse.data.ServersData$Server@3bb18e03[name=accurev1,port=5050,lastUser=,session=]
63
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager loadLoginSessions - No default server, using top of list
64
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager loadLoginSessions - Ended
65
- 02/Apr 09:41:02 DEBUG eclipse.WorkspaceInfoManager updateWorkspaceInformation - Ipath../usr/local/litle-home/sdkdev/git/litle-sandbox
66
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager findTokenByWorkSpacePath - login session manager..findTokenByWorkSpacePath...path../usr/local/litle-home/sdkdev/git/litle-sandbox
67
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@64b4cab7
68
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
69
- java.lang.Throwable
70
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
71
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
72
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
73
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
74
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
75
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
76
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:58)
77
- at com.accurev.ide.eclipse.WorkspaceInfoManager.updateWorkspaceInformation(WorkspaceInfoManager.java:122)
78
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:76)
79
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:98)
80
- at com.accurev.ide.eclipse.ResourcesManager$3.run(ResourcesManager.java:705)
81
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@64b4cab7
82
- 02/Apr 09:41:02 DEBUG eclipse.WorkspaceInfoManager updateWorkspaceInformation - Ipath../usr/local/litle-home/sdkdev/git/litle-sdk-for-java
83
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager findTokenByWorkSpacePath - login session manager..findTokenByWorkSpacePath...path../usr/local/litle-home/sdkdev/git/litle-sdk-for-java
84
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@1f2d7887
85
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
86
- java.lang.Throwable
87
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
88
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
89
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
90
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
91
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
92
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
93
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:58)
94
- at com.accurev.ide.eclipse.WorkspaceInfoManager.updateWorkspaceInformation(WorkspaceInfoManager.java:122)
95
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:76)
96
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:98)
97
- at com.accurev.ide.eclipse.ResourcesManager$3.run(ResourcesManager.java:705)
98
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@1f2d7887
99
- 02/Apr 09:41:02 DEBUG eclipse.WorkspaceInfoManager updateWorkspaceInformation - Ipath../usr/local/litle-home/sdkdev/git/litle-sdk-for-php
100
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager findTokenByWorkSpacePath - login session manager..findTokenByWorkSpacePath...path../usr/local/litle-home/sdkdev/git/litle-sdk-for-php
101
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@2fcc9c48
102
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
103
- java.lang.Throwable
104
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
105
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
106
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
107
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
108
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
109
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
110
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:58)
111
- at com.accurev.ide.eclipse.WorkspaceInfoManager.updateWorkspaceInformation(WorkspaceInfoManager.java:122)
112
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:76)
113
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:98)
114
- at com.accurev.ide.eclipse.ResourcesManager$3.run(ResourcesManager.java:705)
115
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@2fcc9c48
116
- 02/Apr 09:41:02 DEBUG eclipse.WorkspaceInfoManager updateWorkspaceInformation - Ipath../usr/local/litle-home/sdkdev/git/litle-sdk-for-python
117
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager findTokenByWorkSpacePath - login session manager..findTokenByWorkSpacePath...path../usr/local/litle-home/sdkdev/git/litle-sdk-for-python
118
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@110987d5
119
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
120
- java.lang.Throwable
121
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
122
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
123
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
124
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
125
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
126
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
127
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:58)
128
- at com.accurev.ide.eclipse.WorkspaceInfoManager.updateWorkspaceInformation(WorkspaceInfoManager.java:122)
129
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:76)
130
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:98)
131
- at com.accurev.ide.eclipse.ResourcesManager$3.run(ResourcesManager.java:705)
132
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@110987d5
133
- 02/Apr 09:41:02 DEBUG eclipse.WorkspaceInfoManager updateWorkspaceInformation - Ipath../usr/local/litle-home/sdkdev/git/litle-sdk-for-ruby
134
- 02/Apr 09:41:02 DEBUG managers.LoginSessionManager findTokenByWorkSpacePath - login session manager..findTokenByWorkSpacePath...path../usr/local/litle-home/sdkdev/git/litle-sdk-for-ruby
135
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@60d2ed21
136
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext run - Running command with null session.
137
- java.lang.Throwable
138
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext$2.run(NewCommonCommandExecutorContext.java:325)
139
- at com.accurev.ide.eclipse.ResourcesManager.performWithLoginLock(ResourcesManager.java:1268)
140
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.runCommand(NewCommonCommandExecutorContext.java:342)
141
- at com.accurev.ide.eclipse.actions.NewCommonCommandExecutorContext.exec(NewCommonCommandExecutorContext.java:197)
142
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:126)
143
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:75)
144
- at com.accurev.ide.eclipse.operations.WorkspaceInformationOperations.getWorkspaceInformation(WorkspaceInformationOperations.java:58)
145
- at com.accurev.ide.eclipse.WorkspaceInfoManager.updateWorkspaceInformation(WorkspaceInfoManager.java:122)
146
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:76)
147
- at com.accurev.ide.eclipse.WorkspaceInfoManager.getWorkspaceInfo(WorkspaceInfoManager.java:98)
148
- at com.accurev.ide.eclipse.ResourcesManager$3.run(ResourcesManager.java:705)
149
- 02/Apr 09:41:02 DEBUG actions.NewCommonCommandExecutorContext exec - Exec completed cmd:com.accurev.commons.commands.info.impl.InfoCommandImpl@60d2ed21
150
- 02/Apr 09:41:02 DEBUG eclipse.ResourcesManager refreshAllDecoratorIcons - Workspace: /usr/local/litle-home/sdkdev/workspace
151
- 02/Apr 09:41:02 DEBUG common.CacheManager clearAllCaches - Started
152
- 02/Apr 09:41:02 DEBUG common.CacheManager clearAllCaches - Ended