lib/imperituroard.rb in imperituroard-1.1.0 vs lib/imperituroard.rb in imperituroard-1.1.1

- old
+ new

@@ -166,11 +166,15 @@ #iot logic added def add_device_to_profile(login, imei_list, real_ip, remote_ip) iot_connector.add_device_to_prof_2(login, imei_list, real_ip, remote_ip) end + def add_device_to_profile2(request_f, real_ip, remote_ip) + iot_connector.add_device_to_prof2_2(request_f, real_ip, remote_ip) + end + #!!2 Find device (only mongo datebase. IOT platform not need) # procedure for data selection from mongo database. # for this function IOT platform not need # login # imei @@ -268,12 +272,21 @@ def logger_to_audit_database(proc_name, src_ip, input_json, output_json, real_ip) mongo_client.audit_logger(proc_name, src_ip, input_json, output_json, real_ip) end + + #################################################################### + #######technological procedures + #################################################################### + def delete_all_iot_device_in_db + iot_connector.delete_all_devices_in_database + end + def test111 iot_connector.test1278493 end + end class Mhub_2