lib/imperituroard/projects/iot.rb in imperituroard-1.1.17 vs lib/imperituroard/projects/iot.rb in imperituroard-1.1.18
- old
+ new
@@ -1379,9 +1379,21 @@
internal_func.printer_texter(resp_out, "debug")
resp_out
end
+ #15
+ #add service iot
+ # soapgw_params = {:imei => "43563456", :imsi => "2452345", :unp => "6454127", :description => "test", :note => "test2"}
+ #{"autorization"=>{"login"=>"login", "token"=>"token"}, "service"=>{"imei"=>"13412341234", "imsi"=>"5645645", "msisdn"=>"3423423", "unp"=>"4564564", "note"=>"test", "descriptiot"=>"test 2"}}
+
+ def spa_service_set_2(soapgw_params, real_ip, remote_ip)
+ input_params = {:soapgw_params => soapgw_params, :real_ip => real_ip, :remote_ip => remote_ip}
+ output_answ = {:code => 200, :message => 'Request completed successfully', :body => {:to_soap_gw => {}}}
+ mongo_client.audit_spa_logger('spa_service_set_2', remote_ip, input_params, output_answ, real_ip, {})
+ end
+
+
################################################
############technology procedures###############
################################################
def delete_all_devices_in_database