imperituroard 1.1.19 → 1.1.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 634df1b845df0143aff48262842c5ce4d3a29b7e
4
- data.tar.gz: 779b7534e94cf456bf12edd2e66256c88f348c47
3
+ metadata.gz: da7f0fc8144845989685567ed37d05cb510b8710
4
+ data.tar.gz: 26bde7ae4b31e772a6684df490a67e8c9aeb1ed2
5
5
  SHA512:
6
- metadata.gz: 05c02acbdeb9a95935de5dffa658d294ec0120e78321d904056b085015f509bda7e08563c82f377d0923185b5263f33f284d9a0e8a0944f9ac6582ea5fbb6cb8
7
- data.tar.gz: '0378228e9e55d4b9d83ae34a0c1fc4d3d3d188f16435921427ac7cf38267ac9416c2d8a20ec712b4b08368a9c5555cd663cc9067a2687c8b60c2b9ea8ebf346c'
6
+ metadata.gz: 474535bbe80460b3a8a82ae5dde557ead88620b366e57e3a05136bf0e8ef8f27890731a1b17869b82abd2fbec553d6806f6c1686defaa9340a88b4bd10474bf4
7
+ data.tar.gz: c6fa751ba7c5e19ab8c4af411460add46f1eedc19e3bfaec72b9606abc0bfd3d6ae1413830c0c29dbba978b6b7d2d7f2615337294238a2bc06b63f27b74269f5
@@ -1388,8 +1388,26 @@ class IotFunctions_2
1388
1388
 
1389
1389
  def spa_service_set_2(soapgw_params, real_ip, remote_ip)
1390
1390
  input_params = {:soapgw_params => soapgw_params, :real_ip => real_ip, :remote_ip => remote_ip}
1391
- output_answ = {:code => 200, :message => 'Request completed successfully', :body => {:to_soap_gw => {}}}
1392
- mongo_client.audit_spa_logger('spa_service_set_2', remote_ip, input_params, output_answ, real_ip, {})
1391
+ output_answ = {}
1392
+ begin
1393
+ output_answ = {:code => 200,
1394
+ :message => 'Request completed successfully',
1395
+ :body => {
1396
+ :to_soap_gw => {
1397
+ :code => 200,
1398
+ :result => 'Request completed successfully'
1399
+ }}}
1400
+ mongo_client.audit_spa_logger('spa_service_set_2', {:remote_ip => remote_ip, :real_ip => real_ip}, input_params, output_answ)
1401
+ rescue
1402
+ output_answ = {:code => 500,
1403
+ :message => 'Server error',
1404
+ :body => {
1405
+ :to_soap_gw => {
1406
+ :code => 500,
1407
+ :result => 'Server error'
1408
+ }}}
1409
+ end
1410
+ output_answ
1393
1411
  end
1394
1412
 
1395
1413
 
@@ -1,4 +1,4 @@
1
1
  module Imperituroard
2
- VERSION = '1.1.19'
2
+ VERSION = '1.1.20'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imperituroard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.19
4
+ version: 1.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Buynovskiy