LitleOnline 8.29.2 → 9.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjZkOTZlZDI2Mjg2NTZjM2I4MzIzMjQyNzllMjBjNjI3MmMzMTU0OA==
4
+ ZjA0NmZkY2RjYzk5ZGVjZjY1NDE4N2MxZjBjMzE1ZWVhNzU1YWU0OA==
5
5
  data.tar.gz: !binary |-
6
- N2I2ZDNlZjYwYTZhNDAyMWNiMjU1OTBkMTQxYWEwOTY1NTM3NjczMw==
6
+ YTk3ODYwODdhZjJmODIyZjIwNDRmMjkyNjY0OTUzM2UxZWRmYTFlYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjY5YzlkZDc0Yzk1MTNmMzM3MWE5NmZhYjdkMDZhNmQyOWZmYzQ2OGE1YWYw
10
- MTA4Nzc3ZjQyOGFhMzVjZThkOWMyNzU3NGVmZjM4ZjJiOGM1MDk2YTU1Y2Zh
11
- MjNiZTllM2ZlMWM1ZGMwMDkwMjY4MjYzODVlZTI0MjE1NTYyYmE=
9
+ MjI5OGQ1ZWJmMjkyOTI2N2EzZTY0OTBlYzgzZjRhYzAxOGQwN2JjOTgzM2M3
10
+ Y2ZmZGI2NDIxMzdkNzliOTg5YzM2NzNjOTY3YTYzN2YxZWUwMmUyODRkYjU3
11
+ OGJiYjI3Y2U0ODczNWJlYjBlZGZjZDAwNmMyOTBkYzZlNGZjNjI=
12
12
  data.tar.gz: !binary |-
13
- NWE4MzQxODQ1OTJiN2IwZTY5ZWU5ZTlhYWZkODc5MGFlYmFkYzkwYzBiYzk0
14
- OGY0NDIyYzExNzNmYmE1NDRkYWY3ZDI0NmE3ZDU4OTY2MDI2NDkzNjczOTVj
15
- M2M3MTRkYTZjOWU1NjRiOGVkYWJmNGI0NWRlZGYzMzBlNTgzMGI=
13
+ MjkwMjhmODZhYzZlZDE4OThjNGZjNzRiMDI1YTQ0OTNhZWY0YzNjNWE4N2I4
14
+ ZGU4ZGQ5MWY3MTgxMTM4NjU2ODgzZTU0MzA3ODdjZjA1MmVlZDhjMWNmOWJh
15
+ MGUxODlkNDhhMjRiNTUzODNjNmI1YmY2YzQ5YTkxMjcwZjI5OTM=
data/CHANGELOG CHANGED
@@ -1,13 +1,14 @@
1
1
  = LitleOnline CHANGELOG
2
2
 
3
- == version 8.29.1(March 11, 2015)
4
- * BugFix: fixed a XML field bug in Account Update Token
3
+ == Version 9.03.0
4
+ * Feature: Applepay support was added
5
+ * Feature: Secondary amount support was added
6
+ * Feature: Add support for new Batch transaction in version 9.3 schema
5
7
 
6
- == version 8.29.0(January 28, 2015)
7
- * Feature : Added support for Applepay and Secondary Amount
8
- * BugFix: fix an incorrect mapping in fraud check option fields for Sale transaction
8
+ == Version 9.00.0 (August 27,2014)
9
+ * Feature: Add support for new element in version 9 schema
9
10
 
10
- == version 8.27.0(August 27, 2014)
11
+ == Version 8.27.0 (August 27,2014)
11
12
  * Feature : Added samples for all kinds of transactions
12
13
 
13
14
  == version 8.25.1(July 18,2014)
@@ -1,4 +1,4 @@
1
- Litle Online Ruby SDK created for version 8.18 of Litle XML format, see the XSD schema for specific fields that are supported by this format.
1
+ 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.
2
2
 
3
3
  This gem contains an application interface in the Ruby programming language created by Litle & Co.
4
4
 
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 = "8.29.2"
37
+ s.version = "9.3.0"
38
38
  s.author = "Litle & Co"
39
39
  s.email = "sdksupport@litle.com"
40
40
  s.homepage = "http://www.litle.com/developers"
@@ -64,8 +64,7 @@ class Setup
64
64
  f.puts "fast_port: " + gets
65
65
 
66
66
  f.puts "printxml: false"
67
- #default http timeout set to 500 ms
68
- f.puts "timeout: 500"
67
+ f.puts "timeout: 65"
69
68
 
70
69
  end
71
70
  end
@@ -50,6 +50,8 @@ module LitleOnline
50
50
  :echeckVerification=>{ :numEcheckVerification=>0, :echeckVerificationAmount=>0 },
51
51
  :echeckCredit=>{ :numEcheckCredit=>0, :echeckCreditAmount=>0 },
52
52
  :numEcheckRedeposit=>0,
53
+ :numEcheckPreNoteSale=>0,
54
+ :numEcheckPreNoteCredit=>0,
53
55
  :echeckSale=>{ :numEcheckSales=>0, :echeckSalesAmount=>0 },
54
56
  :numUpdateCardValidationNumOnTokens=>0,
55
57
  :numAccountUpdates=>0,
@@ -313,6 +315,20 @@ module LitleOnline
313
315
  add_txn_to_batch(transaction, :echeckRedeposit, options)
314
316
  end
315
317
 
318
+ def echeck_pre_note_sale(options)
319
+ transaction = @litle_txn.echeck_pre_note_sale(options)
320
+ @txn_counts[:numEcheckPreNoteSale] += 1
321
+
322
+ add_txn_to_batch(transaction, :echeckPreNoteSale, options)
323
+ end
324
+
325
+ def echeck_pre_note_credit(options)
326
+ transaction = @litle_txn.echeck_pre_note_credit(options)
327
+ @txn_counts[:numEcheckPreNoteCredit] += 1
328
+
329
+ add_txn_to_batch(transaction, :echeckPreNoteCredit, options)
330
+ end
331
+
316
332
  def echeck_sale(options)
317
333
  transaction = @litle_txn.echeck_sale(options)
318
334
  @txn_counts[:echeckSale][:numEcheckSales] += 1
@@ -380,6 +396,8 @@ module LitleOnline
380
396
  request.numEcheckSales = @txn_counts[:echeckSale][:numEcheckSales]
381
397
  request.echeckSalesAmount = @txn_counts[:echeckSale][:echeckSalesAmount]
382
398
  request.numEcheckRedeposit = @txn_counts[:numEcheckRedeposit]
399
+ request.numEcheckPreNoteSale = @txn_counts[:numEcheckPreNoteSale]
400
+ request.numEcheckPreNoteCredit = @txn_counts[:numEcheckPreNoteCredit]
383
401
  request.numEcheckCredit = @txn_counts[:echeckCredit][:numEcheckCredit]
384
402
  request.echeckCreditAmount = @txn_counts[:echeckCredit][:echeckCreditAmount]
385
403
  request.numEcheckVerification = @txn_counts[:echeckVerification][:numEcheckVerification]
@@ -123,6 +123,22 @@ module LitleOnline
123
123
  end
124
124
  end
125
125
 
126
+ class EcheckPreNoteSaleListener < DefaultLitleListener
127
+ def apply(duck)
128
+ if(duck["type"] == "echeckPreNoteSaleResponse") then
129
+ @action.call(duck)
130
+ end
131
+ end
132
+ end
133
+
134
+ class EcheckPreNoteCreditListener < DefaultLitleListener
135
+ def apply(duck)
136
+ if(duck["type"] == "echeckPreNoteCreditResponse") then
137
+ @action.call(duck)
138
+ end
139
+ end
140
+ end
141
+
126
142
  class AuthReversalListener < DefaultLitleListener
127
143
  def apply(duck)
128
144
  if(duck["type"] == "authReversalResponse") then
@@ -138,5 +154,13 @@ module LitleOnline
138
154
  end
139
155
  end
140
156
  end
157
+ #
158
+ # class FraudCheckListener < DefaultLitleListener
159
+ # def apply(duck)
160
+ # if(duck["type"] == "fraudCheckResponse") then
161
+ # @action.call(duck)
162
+ # end
163
+ # end
164
+ # end
141
165
 
142
166
  end
@@ -228,6 +228,12 @@ module LitleOnline
228
228
 
229
229
  commit(transaction, :echeckVoid, options)
230
230
  end
231
+
232
+ # def fraud_check_request(options)
233
+ # transaction = @litle_transaction.fraud_check_request(options)
234
+ #
235
+ # commit(transaction, :fraudCheck, options)
236
+ # end
231
237
 
232
238
  private
233
239
 
@@ -252,7 +258,7 @@ module LitleOnline
252
258
 
253
259
  request.authentication = authentication
254
260
  request.merchantId = get_merchant_id(options)
255
- request.version = '8.29'
261
+ request.version = '9.3'
256
262
  request.loggedInUser = get_logged_in_user(options)
257
263
  request.xmlns = "http://www.litle.com/schema"
258
264
  request.merchantSdk = get_merchant_sdk(options)
@@ -283,7 +289,7 @@ module LitleOnline
283
289
  end
284
290
 
285
291
  def get_merchant_sdk(options)
286
- options['merchantSdk'] || 'Ruby;8.29.2'
292
+ options['merchantSdk'] || 'Ruby;9.3.0'
287
293
  end
288
294
 
289
295
  def get_report_group(options)
@@ -191,7 +191,7 @@ module LitleOnline
191
191
  litleRequest.authentication = authentication
192
192
  litleRequest.numBatchRequests = "0"
193
193
 
194
- litleRequest.version = '8.29'
194
+ litleRequest.version = '9.3'
195
195
  litleRequest.xmlns = "http://www.litle.com/schema"
196
196
 
197
197
 
@@ -499,7 +499,7 @@ module LitleOnline
499
499
  authentication.password = get_config(:password, options)
500
500
 
501
501
  litle_request.authentication = authentication
502
- litle_request.version = '8.29'
502
+ litle_request.version = '9.3'
503
503
  litle_request.xmlns = "http://www.litle.com/schema"
504
504
  # litle_request.id = options['sessionId'] #grab from options; okay if nil
505
505
  litle_request.numBatchRequests = @num_batch_requests
@@ -333,6 +333,30 @@ module LitleOnline
333
333
 
334
334
  return transaction
335
335
  end
336
+
337
+ def echeck_pre_note_sale(options)
338
+ transaction = EcheckPreNoteSale.new
339
+ transaction.echeck = Echeck.from_hash(options)
340
+ transaction.orderId = options['orderId']
341
+ transaction.orderSource = options['orderSource']
342
+ transaction.billToAddress = Contact.from_hash(options,'billToAddress')
343
+ add_account_info(transaction, options)
344
+ transaction.merchantData = MerchantData.from_hash(options)
345
+
346
+ return transaction
347
+ end
348
+
349
+ def echeck_pre_note_credit(options)
350
+ transaction = EcheckPreNoteCredit.new
351
+ transaction.echeck = Echeck.from_hash(options)
352
+ transaction.orderId = options['orderId']
353
+ transaction.orderSource = options['orderSource']
354
+ transaction.billToAddress = Contact.from_hash(options,'billToAddress')
355
+ add_account_info(transaction, options)
356
+ transaction.merchantData = MerchantData.from_hash(options)
357
+
358
+ return transaction
359
+ end
336
360
 
337
361
  def echeck_sale(options)
338
362
  transaction = EcheckSale.new
@@ -384,6 +408,18 @@ module LitleOnline
384
408
 
385
409
  return transaction
386
410
  end
411
+ #
412
+ # def fraud_check_request(options)
413
+ # transaction = FraudCheckRequest.new
414
+ # transaction.advancedFraudChecks = AdvancedFraudChecks.from_hash(options,'advancedFraudChecks')
415
+ # transaction.billToAddress = Contact.from_hash(options,'billToAddress')
416
+ # transaction.shipToAddress = Contact.from_hash(options,'shipToAddress')
417
+ # transaction.amount = options['amount']
418
+ #
419
+ # add_account_info(transaction, options)
420
+ #
421
+ # return transaction
422
+ # end
387
423
 
388
424
  private
389
425
 
@@ -926,6 +926,7 @@ module LitleOnline
926
926
  text_node :accNum, "accNum", :default_value=>nil
927
927
  text_node :routingNum, "routingNum", :default_value=>nil
928
928
  text_node :checkNum, "checkNum", :default_value=>nil
929
+ text_node :ccdPaymentInformation, "ccdPaymentInformation", :default_value=>nil
929
930
  def self.from_hash(hash, name='echeck')
930
931
  base = hash[name]
931
932
  if(base)
@@ -934,10 +935,12 @@ module LitleOnline
934
935
  this.accNum = base['accNum']
935
936
  this.routingNum = base['routingNum']
936
937
  this.checkNum = base['checkNum']
938
+ this.ccdPaymentInformation = base['ccdPaymentInformation']
937
939
  SchemaValidation.validate_enum(this.accType, true, ['Checking','Savings','Corporate','Corp Savings'], name, 'accType')
938
940
  SchemaValidation.validate_length(this.accNum, true, 1, 17, name, 'accNum')
939
941
  SchemaValidation.validate_length(this.routingNum, true, 9, 9, name, 'routingNum')
940
942
  SchemaValidation.validate_length(this.checkNum, false, 1, 15, name, 'checkNum')
943
+ SchemaValidation.validate_length(this.ccdPaymentInformation, false, 1, 80, name, 'ccdPaymentInformation')
941
944
  this
942
945
  else
943
946
  nil
@@ -1302,16 +1305,43 @@ module LitleOnline
1302
1305
  include XML::Mapping
1303
1306
  root_element_name "advancedFraudChecks"
1304
1307
  text_node :threatMetrixSessionId, 'threatMetrixSessionId', :default_value=>nil
1308
+ text_node :customAttribute1, 'customAttribute1', :default_value=>nil
1309
+ text_node :customAttribute2, 'customAttribute2', :default_value=>nil
1310
+ text_node :customAttribute3, 'customAttribute3', :default_value=>nil
1311
+ text_node :customAttribute4, 'customAttribute4', :default_value=>nil
1312
+ text_node :customAttribute5, 'customAttribute5', :default_value=>nil
1305
1313
  def self.from_hash(hash, name="advancedFraudChecks")
1306
1314
  base = hash[name]
1307
1315
  if(base)
1308
1316
  this = AdvancedFraudChecks.new
1309
1317
  this.threatMetrixSessionId = base['threatMetrixSessionId'] # /\A([A-Z,a-z,0-9, ,\*,,,\-,',#,&,.]){4,25}\Z/
1310
1318
  #SchemaValidation.validate_regex(this.threatMetrixSessionId, true, '[-a-zA-Z0-9_]{1,128}', name, 'threatMetrixSessionId')
1319
+ this.customAttribute1 = base['customAttribute1']
1320
+ SchemaValidation.validate_length(this.customAttribute1,false,1,200,name,"customAttribute1")
1321
+ this.customAttribute2 = base['customAttribute2']
1322
+ SchemaValidation.validate_length(this.customAttribute2,false,1,200,name,"customAttribute2")
1323
+ this.customAttribute3 = base['customAttribute3']
1324
+ SchemaValidation.validate_length(this.customAttribute3,false,1,200,name,"customAttribute3")
1325
+ this.customAttribute4 = base['customAttribute4']
1326
+ SchemaValidation.validate_length(this.customAttribute4,false,1,200,name,"customAttribute4")
1327
+ this.customAttribute5 = base['customAttribute5']
1328
+ SchemaValidation.validate_length(this.customAttribute5,false,1,200,name,"customAttribute5")
1311
1329
  this
1312
1330
  end
1313
1331
  end
1314
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
1315
1345
 
1316
1346
  class Authorization
1317
1347
  include XML::Mapping
@@ -1684,6 +1714,34 @@ module LitleOnline
1684
1714
  object_node :customBilling, "customBilling", :class=>CustomBilling, :default_value=>nil
1685
1715
  object_node :merchantData, "merchantData", :class=>MerchantData, :default_value=>nil
1686
1716
  end
1717
+
1718
+ class EcheckPreNoteSale
1719
+ include XML::Mapping
1720
+ root_element_name "echeckPreNoteSale"
1721
+ text_node :reportGroup, "@reportGroup", :default_value=>nil
1722
+ text_node :transactionId, "@id", :default_value=>nil
1723
+ text_node :customerId, "@customerId", :default_value=>nil
1724
+
1725
+ text_node :orderId, "orderId", :default_value=>nil
1726
+ text_node :orderSource, "orderSource", :default_value=>nil
1727
+ object_node :billToAddress, "billToAddress", :class=>Contact, :default_value=>nil
1728
+ object_node :echeck, "echeck", :class=>Echeck, :default_value=>nil
1729
+ object_node :merchantData, "merchantData", :class=>MerchantData, :default_value=>nil
1730
+ end
1731
+
1732
+ class EcheckPreNoteCredit
1733
+ include XML::Mapping
1734
+ root_element_name "echeckPreNoteCredit"
1735
+ text_node :reportGroup, "@reportGroup", :default_value=>nil
1736
+ text_node :transactionId, "@id", :default_value=>nil
1737
+ text_node :customerId, "@customerId", :default_value=>nil
1738
+
1739
+ text_node :orderId, "orderId", :default_value=>nil
1740
+ text_node :orderSource, "orderSource", :default_value=>nil
1741
+ object_node :billToAddress, "billToAddress", :class=>Contact, :default_value=>nil
1742
+ object_node :echeck, "echeck", :class=>Echeck, :default_value=>nil
1743
+ object_node :merchantData, "merchantData", :class=>MerchantData, :default_value=>nil
1744
+ end
1687
1745
 
1688
1746
  class UpdateCardValidationNumOnToken
1689
1747
  include XML::Mapping
@@ -1706,7 +1764,7 @@ module LitleOnline
1706
1764
 
1707
1765
  text_node :orderId, "orderId", :default_value=>nil
1708
1766
  optional_choice_node :if, 'card', :then, (object_node :card, "card", :class=>Card),
1709
- :elsif, 'token', :then, (object_node :token, "token", :class=>CardToken)
1767
+ :else, (object_node :token, "token", :class=>CardToken)
1710
1768
  end
1711
1769
 
1712
1770
  class OnlineRequest
@@ -1782,6 +1840,8 @@ module LitleOnline
1782
1840
  text_node :numEcheckSales, "@numEcheckSales", :default_value=>"0"
1783
1841
  text_node :echeckSalesAmount, "@echeckSalesAmount", :default_value=>"0"
1784
1842
  text_node :numEcheckRedeposit, "@numEcheckRedeposit", :default_value=>"0"
1843
+ text_node :numEcheckPreNoteSale, "@numEcheckPreNoteSale", :default_value=>"0"
1844
+ text_node :numEcheckPreNoteCredit, "@numEcheckPreNoteCredit", :default_value=>"0"
1785
1845
  text_node :numEcheckCredit, "@numEcheckCredit", :default_value=>"0"
1786
1846
  text_node :echeckCreditAmount, "@echeckCreditAmount", :default_value=>"0"
1787
1847
  text_node :numEcheckVerification, "@numEcheckVerification", :default_value=>"0"
@@ -193,6 +193,26 @@ module LitleOnline
193
193
  'number' =>'4100000000000001',
194
194
  'expDate' =>'1210'
195
195
  }}
196
+
197
+ echeckPreNoteSaleHash = {
198
+ 'merchantId' => '101',
199
+ 'version'=>'8.8',
200
+ 'reportGroup'=>'Planets',
201
+ 'orderId'=>'123456',
202
+ 'orderSource'=>'ecommerce',
203
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'},
204
+ 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455'}
205
+ }
206
+
207
+ echeckPreNoteCreditHash = {
208
+ 'merchantId' => '101',
209
+ 'version'=>'8.8',
210
+ 'reportGroup'=>'Planets',
211
+ 'orderId'=>'123457',
212
+ 'orderSource'=>'ecommerce',
213
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'},
214
+ 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455'}
215
+ }
196
216
 
197
217
  path = "/tmp/litle-sdk-for-ruby/cert/"
198
218
 
@@ -216,6 +236,8 @@ module LitleOnline
216
236
  batch.register_token_request(registerTokenHash)
217
237
  batch.sale(saleHash)
218
238
  batch.update_card_validation_num_on_token(updateCardHash)
239
+ batch.echeck_pre_note_sale(echeckPreNoteSaleHash)
240
+ batch.echeck_pre_note_credit(echeckPreNoteCreditHash)
219
241
 
220
242
  #close the batch, indicating we plan to add no more transactions
221
243
  batch.close_batch()
@@ -238,7 +260,7 @@ module LitleOnline
238
260
  assert_not_nil transaction["message"]
239
261
  count+=1
240
262
  end})
241
- assert_equal count, 14
263
+ assert_equal count, 16
242
264
  end
243
265
 
244
266
  def test_mini_batch_borked_counts
@@ -73,7 +73,7 @@ module LitleOnline
73
73
  assert_equal('fire is comming',@config_hash['sftp_password'])
74
74
  assert_equal('prelive.litle.com',@config_hash['fast_url'])
75
75
  assert_equal('15000',@config_hash['fast_port'])
76
- ENV['litle_user']=nil
76
+ ENV['litle_user']=nil
77
77
  ENV['litle_password']=nil
78
78
  ENV['litle_currency_merchant_map']=nil
79
79
  ENV['litle_url']=nil
@@ -61,21 +61,34 @@ module LitleOnline
61
61
  end
62
62
 
63
63
  def test_simple_credit_with_secondaryAmount
64
- hash = {
65
- 'merchantId' => '101',
66
- 'version'=>'8.8',
67
- 'reportGroup'=>'Planets',
68
- 'amount'=>'106',
69
- 'secondaryAmount'=>'50',
70
- 'orderId'=>'123456',
71
- 'orderSource'=>'ecommerce',
72
- 'paypal'=>{
73
- 'payerId'=>'1234',
74
- 'transactionId'=>'1234',
75
- }}
76
- response= LitleOnlineRequest.new.credit(hash)
77
- assert_equal('Valid Format', response.message)
78
- end
64
+ hash = {
65
+ 'merchantId' => '101',
66
+ 'version'=>'8.8',
67
+ 'reportGroup'=>'Planets',
68
+ 'amount'=>'106',
69
+ 'secondaryAmount'=>'50',
70
+ 'orderId'=>'123456',
71
+ 'orderSource'=>'ecommerce',
72
+ 'paypal'=>{
73
+ 'payerId'=>'1234',
74
+ 'transactionId'=>'1234',
75
+ }}
76
+ response= LitleOnlineRequest.new.credit(hash)
77
+ assert_equal('Valid Format', response.message)
78
+ end
79
+
80
+ def test_credit_with_TxnID_secondaryAmount
81
+ hash = {
82
+ 'merchantId' => '101',
83
+ 'version'=>'8.8',
84
+ 'reportGroup'=>'Planets',
85
+ 'amount'=>'106',
86
+ 'secondaryAmount'=>'50',
87
+ 'litleTxnId'=>'123456'
88
+ }
89
+ response= LitleOnlineRequest.new.credit(hash)
90
+ assert_equal('Valid Format', response.message)
91
+ end
79
92
 
80
93
  def test_fields_out_of_order
81
94
  hash = {
@@ -130,5 +130,18 @@ module LitleOnline
130
130
  response= LitleOnlineRequest.new.echeck_credit(hash)
131
131
  assert_equal('Valid Format', response.message)
132
132
  end
133
+
134
+ def test_echeck_credit_with_txnId_secondaryAmount
135
+ hash = {
136
+ 'merchantId' => '101',
137
+ 'version'=>'8.8',
138
+ 'reportGroup'=>'Planets',
139
+ 'litleTxnId'=>'123456789101112',
140
+ 'amount'=>'12',
141
+ 'secondaryAmount'=>'50'
142
+ }
143
+ response= LitleOnlineRequest.new.echeck_credit(hash)
144
+ assert_equal('Valid Format', response.message)
145
+ end
133
146
  end
134
147
  end
@@ -156,7 +156,7 @@ module LitleOnline
156
156
  assert_equal('Valid Format', response.message)
157
157
  end
158
158
 
159
- def test_echeck_sale_with_secondaryAmount
159
+ def test_echeck_sale_with_secondaryAmount_ccd
160
160
  hash = {
161
161
  'merchantId' => '101',
162
162
  'version'=>'8.8',
@@ -166,12 +166,42 @@ module LitleOnline
166
166
  'verify'=>'true',
167
167
  'orderId'=>'12345',
168
168
  'orderSource'=>'ecommerce',
169
- 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455'},
169
+ 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455','ccdPaymentInformation'=>'12345678901234567890123456789012345678901234567890123456789012345678901234567890'},
170
170
  'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
171
171
  }
172
172
  response= LitleOnlineRequest.new.echeck_sale(hash)
173
173
  assert_equal('Valid Format', response.message)
174
174
  end
175
+
176
+ def test_echeck_sale_with_secondaryAmount_ccd_longer_than_80
177
+ hash = {
178
+ 'merchantId' => '101',
179
+ 'version'=>'8.8',
180
+ 'reportGroup'=>'Planets',
181
+ 'amount'=>'123456',
182
+ 'secondaryAmount'=>'50',
183
+ 'verify'=>'true',
184
+ 'orderId'=>'12345',
185
+ 'orderSource'=>'ecommerce',
186
+ 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455','ccdPaymentInformation'=>'123456789012345678901234567890123456789012345678901234567890123456789012345678901'},
187
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
188
+ }
189
+ assert_raises RuntimeError do
190
+ response= LitleOnlineRequest.new.echeck_sale(hash)
191
+ puts "validation for ccdPaymentInformation"
192
+ end
193
+ end
194
+
195
+ def test_echeck_sale_with_txnId_secondaryAmount
196
+ hash = {
197
+ 'reportGroup'=>'Planets',
198
+ 'litleTxnId'=>'123456789101112',
199
+ 'amount'=>'12',
200
+ 'secondaryAmount'=>'50'
201
+ }
202
+ response= LitleOnlineRequest.new.echeck_sale(hash)
203
+ assert(response.message=~/Error validating xml data against the schema.*/)
204
+ end
175
205
 
176
206
  end
177
207
  end
@@ -160,23 +160,23 @@ module LitleOnline
160
160
  end
161
161
 
162
162
  def test_simple_force_capture_with_secondaryAmount
163
- hash = {
164
- 'merchantId' => '101',
165
- 'version'=>'8.8',
166
- 'reportGroup'=>'Planets',
167
- 'litleTxnId'=>'123456',
168
- 'orderId'=>'12344',
169
- 'amount'=>'106',
170
- 'secondaryAmount'=>'20',
171
- 'orderSource'=>'ecommerce',
172
- 'card'=>{
173
- 'type'=>'VI',
174
- 'number' =>'4100000000000001',
175
- 'expDate' =>'1210'
176
- }}
177
- response= LitleOnlineRequest.new.force_capture(hash)
178
- assert_equal('000', response.forceCaptureResponse.response)
179
- end
163
+ hash = {
164
+ 'merchantId' => '101',
165
+ 'version'=>'8.8',
166
+ 'reportGroup'=>'Planets',
167
+ 'litleTxnId'=>'123456',
168
+ 'orderId'=>'12344',
169
+ 'amount'=>'106',
170
+ 'secondaryAmount'=>'20',
171
+ 'orderSource'=>'ecommerce',
172
+ 'card'=>{
173
+ 'type'=>'VI',
174
+ 'number' =>'4100000000000001',
175
+ 'expDate' =>'1210'
176
+ }}
177
+ response= LitleOnlineRequest.new.force_capture(hash)
178
+ assert_equal('000', response.forceCaptureResponse.response)
179
+ end
180
180
 
181
181
  end
182
182
 
@@ -72,6 +72,7 @@ module LitleOnline
72
72
  }
73
73
  response= LitleOnlineRequest.new.register_token_request(hash)
74
74
  assert_equal('Valid Format', response.message)
75
+ assert_equal('0', response.registerTokenResponse.applepayResponse.transactionAmount)
75
76
  end
76
77
 
77
78
  def test_simple_token_echeck
@@ -243,7 +243,7 @@ module LitleOnline
243
243
  #Explicit - used for integrations
244
244
  assert_equal 'ActiveMerchant;3.2', litle.send(:get_merchant_sdk, {'merchantSdk'=>'ActiveMerchant;3.2'})
245
245
  #Implicit - used raw when nothing is specified
246
- assert_equal 'Ruby;8.29.2', litle.send(:get_merchant_sdk, {'NotMerchantSdk'=>'ActiveMerchant;3.2'})
246
+ assert_equal 'Ruby;9.3.0', litle.send(:get_merchant_sdk, {'NotMerchantSdk'=>'ActiveMerchant;3.2'})
247
247
  end
248
248
 
249
249
  def test_sale_paypal_order_complete_typo
@@ -273,7 +273,7 @@ module LitleOnline
273
273
  'litleTxnId' => '006'
274
274
  }
275
275
 
276
- Communications.expects(:http_post).with(regexp_matches(/<litleOnlineRequest.*version="8\.29".*/m),kind_of(Hash))
276
+ Communications.expects(:http_post).with(regexp_matches(/<litleOnlineRequest.*version="9\.3".*/m),kind_of(Hash))
277
277
  XMLObject.expects(:new)
278
278
 
279
279
  response = LitleOnlineRequest.new.void(hash)
@@ -391,9 +391,9 @@ module LitleOnline
391
391
  'card' => {
392
392
  'number' => '4141000000000000',
393
393
  'expDate' => '1210',
394
- 'type' => 'GC'
395
- } ,
396
- 'advancedFraudChecks' => {'threatMetrixSessionId'=>'1234'}
394
+ 'type' => 'GC'
395
+ },
396
+ 'advancedFraudChecks' => {'threatMetrixSessionId'=>'1234'}
397
397
  }
398
398
  LitleXmlMapper.expects(:request).with(regexp_matches(/.*<advancedFraudChecks><threatMetrixSessionId>1234<\/threatMetrixSessionId><\/advancedFraudChecks>.*/m), is_a(Hash))
399
399
  LitleOnlineRequest.new.authorization(hash)
@@ -55,7 +55,7 @@ module LitleOnline
55
55
  LitleOnlineRequest.new.echeck_credit(hash)
56
56
  end
57
57
 
58
- def test_secondary_amount
58
+ def test_echeck_credit_with_orderId_secondary_amount
59
59
  hash = {
60
60
  'orderId' => '12344',
61
61
  'amount' => '2',
@@ -66,6 +66,19 @@ module LitleOnline
66
66
  LitleXmlMapper.expects(:request).with(regexp_matches(/.*<amount>2<\/amount><secondaryAmount>1<\/secondaryAmount><orderSource>ecommerce<\/orderSource>.*/m), is_a(Hash))
67
67
  LitleOnlineRequest.new.echeck_credit(hash)
68
68
  end
69
+
70
+ def test_echeck_credit_with_txnId_secondaryAmount
71
+ hash = {
72
+ 'merchantId' => '101',
73
+ 'version'=>'8.8',
74
+ 'reportGroup'=>'Planets',
75
+ 'litleTxnId'=>'123456789101112',
76
+ 'amount'=>'12',
77
+ 'secondaryAmount'=>'1'
78
+ }
79
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*<litleTxnId>123456789101112<\/litleTxnId>.*?<amount>12<\/amount><secondaryAmount>1<\/secondaryAmount>.*/m), is_a(Hash))
80
+ LitleOnlineRequest.new.echeck_credit(hash)
81
+ end
69
82
 
70
83
  end
71
84
  end
@@ -67,5 +67,22 @@ module LitleOnline
67
67
  LitleOnlineRequest.new.echeck_sale(hash)
68
68
  end
69
69
 
70
+ def test_echeck_sale_with_secondaryAmount_ccd
71
+ hash = {
72
+ 'merchantId' => '101',
73
+ 'version'=>'8.8',
74
+ 'reportGroup'=>'Planets',
75
+ 'amount'=>'123',
76
+ 'secondaryAmount'=>'1',
77
+ 'verify'=>'true',
78
+ 'orderId'=>'12345',
79
+ 'orderSource'=>'ecommerce',
80
+ 'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455','ccdPaymentInformation'=>'12345678901234567890123456789012345678901234567890123456789012345678901234567890'},
81
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
82
+ }
83
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*<amount>123<\/amount><secondaryAmount>1<\/secondaryAmount>.*?<echeck>.*?<ccdPaymentInformation>.*<\/ccdPaymentInformation><\/echeck>.*/m), is_a(Hash))
84
+ LitleOnlineRequest.new.echeck_sale(hash)
85
+ end
86
+
70
87
  end
71
88
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: LitleOnline
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.29.2
4
+ version: 9.3.0
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: 2015-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-object
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: ! 'Litle Online Ruby SDK created for version 8.18 of Litle XML format,
97
+ description: ! 'Litle Online Ruby SDK created for version 9.3 of Litle XML format,
98
98
  see the XSD schema for specific fields that are supported by this format.
99
99
 
100
100
 
@@ -117,9 +117,7 @@ files:
117
117
  - LICENSE
118
118
  - README.md
119
119
  - Rakefile
120
- - Rakefile~
121
120
  - SETUP.md
122
- - accurev_plugin.log
123
121
  - bin/Setup.rb
124
122
  - bin/sample_batch_driver.rb
125
123
  - bin/sample_driver.rb
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 = "8.29.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'
@@ -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