24 from rapp_platform_ros_communications.srv
import (
25 addStoreTokenToDeviceSrv,
26 addStoreTokenToDeviceSrvResponse,
27 getUserOntologyAliasSrv,
28 getUserOntologyAliasSrvRequest,
29 getUserOntologyAliasSrvResponse,
30 registerUserOntologyAliasSrv,
31 registerUserOntologyAliasSrvRequest,
32 registerUserOntologyAliasSrvResponse,
34 checkIfUserExistsSrvResponse,
35 checkIfUserExistsSrvRequest,
37 getUserLanguageSrvRequest,
38 getUserLanguageSrvResponse,
40 getUserPasswordSrvResponse,
41 getUserPasswordSrvRequest,
42 getUsernameAssociatedWithApplicationTokenSrv,
43 getUsernameAssociatedWithApplicationTokenSrvResponse,
44 getUsernameAssociatedWithApplicationTokenSrvRequest,
45 createNewPlatformUserSrv,
46 createNewPlatformUserSrvResponse,
47 createNewPlatformUserSrvRequest,
48 createNewApplicationTokenSrv,
49 createNewApplicationTokenSrvRequest,
50 createNewApplicationTokenSrvResponse,
51 checkActiveRobotSessionSrv,
52 checkActiveRobotSessionSrvRequest,
53 checkActiveRobotSessionSrvResponse,
54 checkActiveApplicationTokenSrv,
55 checkActiveApplicationTokenSrvRequest,
56 checkActiveApplicationTokenSrvResponse,
58 validateUserRoleSrvResponse,
59 validateUserRoleSrvRequest,
60 validateExistingPlatformDeviceTokenSrv,
61 validateExistingPlatformDeviceTokenSrvResponse,
62 validateExistingPlatformDeviceTokenSrvRequest,
63 removePlatformUserSrv,
64 removePlatformUserSrvRequest,
65 removePlatformUserSrvResponse,
66 createNewCloudAgentServiceSrv,
67 createNewCloudAgentServiceSrvRequest,
68 createNewCloudAgentServiceSrvResponse,
69 createNewCloudAgentSrv,
70 createNewCloudAgentSrvRequest,
71 createNewCloudAgentSrvResponse,
72 getCloudAgentServiceTypeAndHostPortSrv,
73 getCloudAgentServiceTypeAndHostPortSrvRequest,
74 getCloudAgentServiceTypeAndHostPortSrvResponse
86 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_get_user_ontology_alias_service_topic")
88 rospy.logerror(
"rapp_mysql_wrapper_get_user_ontology_alias_service_topic Not found error")
91 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_register_user_ontology_alias_service_topic")
93 rospy.logerror(
"rapp_mysql_wrapper_register_user_ontology_alias_service_topic Not found error")
96 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_get_user_language_service_topic")
98 rospy.logerror(
"rapp_mysql_wrapper_get_user_language_service_topic Not found error")
101 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_check_if_user_exists_service_topic")
103 rospy.logerror(
"rapp_mysql_wrapper_check_if_user_exists_service_topic Not found error")
106 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_get_user_password_service_topic")
108 rospy.logerror(
"rapp_mysql_wrapper_get_user_password_service_topic Not found error")
111 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_get_username_associated_with_application_token_service_topic")
113 rospy.logerror(
"rapp_mysql_wrapper_get_username_associated_with_application_token_service_topic Not found error")
116 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_create_new_platform_user_service_topic")
118 rospy.logerror(
"rapp_mysql_wrapper_create_new_platform_user_service_topic Not found error")
121 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_create_new_application_token_service_topic")
123 rospy.logerror(
"rapp_mysql_wrapper_create_new_application_token_service_topic Not found error")
126 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_validate_existing_platform_device_token_topic")
128 rospy.logerror(
"rapp_mysql_wrapper_validate_existing_platform_device_token_topic Not found error")
131 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_check_active_application_token_service_topic")
133 rospy.logerror(
"rapp_mysql_wrapper_check_active_application_token_service_topic Not found error")
136 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_remove_platform_user_service_topic")
138 rospy.logerror(
"rapp_mysql_wrapper_remove_platform_user_service_topic Not found error")
142 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_check_active_robot_session_service_topic")
144 rospy.logerror(
"rapp_mysql_wrapper_check_active_robot_session_service_topic Not found error")
147 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_add_store_token_to_device_topic")
149 rospy.logerror(
"rapp_mysql_wrapper_add_store_token_to_device_topic Not found error")
152 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_validate_user_role_topic")
154 rospy.logerror(
"rapp_mysql_wrapper_validate_user_role_topic Not found error")
157 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_create_new_cloud_agent_topic")
159 rospy.logerror(
"rapp_mysql_wrapper_create_new_cloud_agent_topic Not found error")
162 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_create_new_cloud_agent_service_topic")
164 rospy.logerror(
"rapp_mysql_wrapper_create_new_cloud_agent_service_topic Not found error")
167 self.
serv_topic = rospy.get_param(
"rapp_mysql_wrapper_get_cloud_agent_service_type_and_host_port_topic")
169 rospy.logerror(
"rapp_mysql_wrapper_get_cloud_agent_service_type_and_host_port_topic Not found error")
181 res = getUserOntologyAliasSrvResponse()
182 db_username,db_password=self.
getLogin()
183 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
185 cur.execute(
"select ontology_alias from platform_user where username=%s",(req.username))
186 result_set = cur.fetchall()
188 if(result_set
and len(result_set[0])>0):
189 res.ontology_alias=str(result_set[0][0])
193 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
195 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
197 except IndexError, e:
198 res.trace.append(
"IndexError: " +str(e))
200 res.error=
"IndexError: " +str(e)
204 res.trace.append(
"IOError: " +str(e))
205 res.error=
"IOError: " +str(e)
218 res = registerUserOntologyAliasSrvResponse()
219 db_username,db_password=self.
getLogin()
220 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
222 cur.execute(
"LOCK TABLES platform_user WRITE")
223 cur.execute(
"update platform_user set ontology_alias=%s where username=%s",(req.ontology_alias,req.username))
224 cur.execute(
"UNLOCK TABLES")
225 result_set = cur.fetchall()
229 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
231 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
233 except IndexError, e:
234 res.trace.append(
"IndexError: " +str(e))
236 res.error=
"IndexError: " +str(e)
240 res.trace.append(
"IOError: " +str(e))
241 res.error=
"IOError: " +str(e)
254 res = getUserLanguageSrvResponse()
255 db_username,db_password=self.
getLogin()
256 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
258 cur.execute(
"select name from language where id=(select language_id from platform_user where username=%s)",(req.username))
259 result_set = cur.fetchall()
260 if(result_set
and len(result_set[0])>0):
261 res.user_language=result_set[0][0]
265 res.error=
"User language is NULL"
268 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
270 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
272 except IndexError, e:
273 res.trace.append(
"IndexError: " +str(e))
275 res.error=
"IndexError: " +str(e)
279 res.trace.append(
"IOError: " +str(e))
280 res.error=
"IOError: " +str(e)
293 res = checkIfUserExistsSrvResponse()
294 db_username,db_password=self.
getLogin()
295 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
297 cur.execute(
"select username from platform_user where username=%s",(req.username))
298 result_set = cur.fetchall()
299 res.user_exists=
False
300 if(result_set
and len(result_set[0])>0):
305 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
307 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
309 except IndexError, e:
310 res.trace.append(
"IndexError: " +str(e))
312 res.error=
"IndexError: " +str(e)
316 res.trace.append(
"IOError: " +str(e))
317 res.error=
"IOError: " +str(e)
330 res = getUserPasswordSrvResponse()
331 db_username,db_password=self.
getLogin()
332 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
334 cur.execute(
"select password from platform_user where username=%s",(req.username))
335 result_set = cur.fetchall()
337 if(result_set
and len(result_set[0])>0):
339 res.password=result_set[0][0]
342 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
344 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
346 except IndexError, e:
347 res.trace.append(
"IndexError: " +str(e))
349 res.error=
"IndexError: " +str(e)
353 res.trace.append(
"IOError: " +str(e))
354 res.error=
"IOError: " +str(e)
367 res = getUsernameAssociatedWithApplicationTokenSrvResponse()
368 db_username,db_password=self.
getLogin()
369 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
371 cur.execute(
"select username from platform_user where id=(select platform_user_id from application_token where token=%s)",(req.application_token))
372 result_set = cur.fetchall()
373 if(result_set
and len(result_set[0])>0):
375 res.username=result_set[0][0]
379 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
381 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
383 except IndexError, e:
384 res.trace.append(
"IndexError: " +str(e))
386 res.error=
"IndexError: " +str(e)
390 res.trace.append(
"IOError: " +str(e))
391 res.error=
"IOError: " +str(e)
404 res = createNewPlatformUserSrvResponse()
405 db_username,db_password=self.
getLogin()
406 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
408 cur.execute(
"LOCK TABLES platform_user WRITE, platform_user as p2 READ, language READ")
409 cur.execute(
"insert into `platform_user` (`username`,`password`,`language_id`,`creator_id`) values (%s, %s, (select `id` from `language` where `name`=%s), (select `id` from platform_user as p2 where `username`=%s))",(req.username,req.password,req.language,req.creator_username))
410 cur.execute(
"UNLOCK TABLES")
414 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
416 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
418 except IndexError, e:
419 res.trace.append(
"IndexError: " +str(e))
421 res.error=
"IndexError: " +str(e)
425 res.trace.append(
"IOError: " +str(e))
426 res.error=
"IOError: " +str(e)
439 res = removePlatformUserSrvResponse()
440 db_username,db_password=self.
getLogin()
441 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
443 cur.execute(
"LOCK TABLES platform_user WRITE")
444 cur.execute(
"delete from platform_user where username=%s",(req.username))
445 cur.execute(
"UNLOCK TABLES")
449 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
451 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
453 except IndexError, e:
454 res.trace.append(
"IndexError: " +str(e))
456 res.error=
"IndexError: " +str(e)
460 res.trace.append(
"IOError: " +str(e))
461 res.error=
"IOError: " +str(e)
474 res = createNewApplicationTokenSrvResponse()
475 db_username,db_password=self.
getLogin()
476 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
478 cur.execute(
"LOCK TABLES application_token WRITE, platform_user READ, device READ")
479 cur.execute(
"insert into application_token (token,platform_user_id,device_id) VALUES (%s,(select id from platform_user where username=%s), (select id from device where token=%s))",(req.application_token,req.username,req.store_token))
480 cur.execute(
"UNLOCK TABLES")
484 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
486 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
488 except IndexError, e:
489 res.trace.append(
"IndexError: " +str(e))
491 res.error=
"IndexError: " +str(e)
495 res.trace.append(
"IOError: " +str(e))
496 res.error=
"IOError: " +str(e)
509 res = addStoreTokenToDeviceSrvResponse()
510 db_username,db_password=self.
getLogin()
511 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
513 cur.execute(
"LOCK TABLES device WRITE")
514 cur.execute(
"insert into device (token, description) values (%s,'rapp store device') on duplicate key update token=token",(req.store_token))
515 cur.execute(
"UNLOCK TABLES")
516 result_set = cur.fetchall()
520 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
522 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
524 except IndexError, e:
525 res.trace.append(
"IndexError: " +str(e))
527 res.error=
"IndexError: " +str(e)
531 res.trace.append(
"IOError: " +str(e))
532 res.error=
"IOError: " +str(e)
545 res = validateUserRoleSrvResponse()
546 db_username,db_password=self.
getLogin()
547 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
549 cur.execute(
"select username from platform_user where username=%s and role <= 10",(req.username))
550 result_set = cur.fetchall()
551 res.error =
'Invalid role'
552 if(result_set
and len(result_set[0])>0):
556 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
557 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
559 except IndexError, e:
560 res.trace.append(
"IndexError: " +str(e))
561 res.error=
"IndexError: " +str(e)
564 res.trace.append(
"IOError: " +str(e))
565 res.error=
"IOError: " +str(e)
578 res = checkActiveRobotSessionSrvResponse()
579 db_username,db_password=self.
getLogin()
580 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
582 cur.execute(
"select token from application_token where platform_user_id=(select id from platform_user where username=%s) and status=1 and device_id=(select id from device where token=%s)",(req.username,req.device_token))
583 result_set = cur.fetchall()
584 res.application_token_exists=
False
585 if(result_set
and len(result_set[0])>0):
586 res.application_token_exists=
True
590 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
592 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
594 except IndexError, e:
595 res.trace.append(
"IndexError: " +str(e))
597 res.error=
"IndexError: " +str(e)
601 res.trace.append(
"IOError: " +str(e))
602 res.error=
"IOError: " +str(e)
615 res = checkActiveApplicationTokenSrvResponse()
616 db_username,db_password=self.
getLogin()
617 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
619 cur.execute(
"select token from application_token where token=%s and status=1",(req.application_token))
620 result_set = cur.fetchall()
621 res.application_token_exists=
False
622 if(result_set
and len(result_set[0])>0):
623 res.application_token_exists=
True
627 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
629 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
631 except IndexError, e:
632 res.trace.append(
"IndexError: " +str(e))
634 res.error=
"IndexError: " +str(e)
638 res.trace.append(
"IOError: " +str(e))
639 res.error=
"IOError: " +str(e)
652 res = validateExistingPlatformDeviceTokenSrvResponse()
653 db_username,db_password=self.
getLogin()
654 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
656 cur.execute(
"select token from device where token=%s and status=1",(req.device_token))
657 result_set = cur.fetchall()
658 res.device_token_exists=
False
660 if(result_set
and len(result_set[0])>0):
661 res.device_token_exists=
True
665 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
667 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
669 except IndexError, e:
670 res.trace.append(
"IndexError: " +str(e))
672 res.error=
"IndexError: " +str(e)
676 res.trace.append(
"IOError: " +str(e))
677 res.error=
"IOError: " +str(e)
690 res = createNewCloudAgentSrvResponse()
691 db_username,db_password=self.
getLogin()
692 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
694 cur.execute(
"LOCK TABLES cloud_agent WRITE, platform_user READ")
695 cur.execute(
"insert into cloud_agent (platform_user_id,tarball_path,container_identifier,image_identifier,container_type) VALUES ((select id from platform_user where username=%s), %s,%s,%s,%s)",(req.username,req.tarball_path,req.container_identifier,req.image_identifier,req.container_type))
696 cur.execute(
"UNLOCK TABLES")
700 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
702 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
704 except IndexError, e:
705 res.trace.append(
"IndexError: " +str(e))
707 res.error=
"IndexError: " +str(e)
711 res.trace.append(
"IOError: " +str(e))
712 res.error=
"IOError: " +str(e)
725 res = createNewCloudAgentServiceSrvResponse()
727 db_username,db_password=self.
getLogin()
728 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
730 cur.execute(
"LOCK TABLES cloud_agent READ, cloud_agent_services WRITE")
731 cur.execute(
"insert into cloud_agent_services (cloud_agent_id,service_name,service_type,container_port,host_port) VALUES ((select id from cloud_agent where container_identifier=%s), %s,%s,%s,%s)",(req.container_identifier,req.service_name,req.service_type,req.container_port,req.host_port))
732 cur.execute(
"UNLOCK TABLES")
736 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
738 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
740 except IndexError, e:
741 res.trace.append(
"IndexError: " +str(e))
743 res.error=
"IndexError: " +str(e)
747 res.trace.append(
"IOError: " +str(e))
748 res.error=
"IOError: " +str(e)
761 res = getCloudAgentServiceTypeAndHostPortSrvResponse()
762 db_username,db_password=self.
getLogin()
763 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
765 cur.execute(
"select service_type,host_port from cloud_agent_services where cloud_agent_id=(select id from cloud_agent where container_identifier=%s) and service_name=%s",(req.container_identifier,req.service_name))
766 result_set = cur.fetchall()
767 if(result_set
and len(result_set[0])>0):
769 res.service_type=result_set[0][0]
770 res.host_port=result_set[0][1]
774 res.trace.append((
"Database Error %d: %s" % (e.args[0],e.args[1])))
776 res.error=
"Error %d: %s" % (e.args[0],e.args[1])
778 except IndexError, e:
779 res.trace.append(
"IndexError: " +str(e))
781 res.error=
"IndexError: " +str(e)
785 res.trace.append(
"IOError: " +str(e))
786 res.error=
"IOError: " +str(e)
795 db_username,db_password=self.
getLogin()
797 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform');
799 cur.execute(
"Show columns from "+tblName)
800 result_set = cur.fetchall()
802 for row
in result_set:
803 Columns=Columns+[String(str(row[0]))]
806 print "Error %d: %s" % (e.args[0],e.args[1])
812 fh = open(
"/etc/db_credentials",
"r")
813 db_username=fh.readline()
814 db_username=db_username.split( )[0]
815 db_password=fh.readline()
816 db_password=db_password.split()[0]
817 return db_username,db_password
823 db_username,db_password=self.
getLogin()
824 con = mdb.connect(
'localhost', db_username, db_password,
'rapp_platform')
826 cur.execute(
"SELECT VERSION()")
828 print "Database version : %s " % ver
831 print "Error %d: %s" % (e.args[0],e.args[1])
837 res = getUserOntologyAliasSrvResponse()
845 res = registerUserOntologyAliasSrvResponse()
853 res = getUserLanguageSrvResponse()
861 res = registerNewTokenSrvResponse()
862 res=self.registerNewToken(req)
869 res = checkIfUserExistsSrvResponse()
877 res = getUserPasswordSrvResponse()
885 res = getUsernameAssociatedWithApplicationTokenSrvResponse()
893 res = createNewPlatformUserSrvResponse()
901 res = createNewApplicationTokenSrvResponse()
909 res = checkActiveApplicationTokenSrvResponse()
917 res = checkActiveRobotSessionSrvResponse()
925 res = addStoreTokenToDeviceSrvResponse()
933 res = validateUserRoleSrvResponse()
941 res = validateExistingPlatformDeviceTokenSrvResponse()
949 res = removePlatformUserSrvResponse()
957 res = createNewCloudAgentSrvResponse()
965 res = createNewCloudAgentServiceSrvResponse()
973 res = getCloudAgentServiceTypeAndHostPortSrvResponse()
def getUserPasswordDataHandler
The getUserPasswordSrv service callback.
def createNewCloudAgentDataHandler
The createNewCloudAgentSrv service callback.
def checkConnection
Checks connectivity to the DB.
def createNewApplicationTokenDataHandler
The createNewApplicationTokenSrv service callback.
def checkIfUserExistsDataHandler
The checkIfUserExistsSrv service callback.
def createNewPlatformUser
Implements the createNewPlatformUser service main function.
def getLogin
Loads login details from file.
def getCloudAgentServiceTypeAndHostPortDataHandler
The getCloudAgentServiceTypeAndHostPortSrv service callback.
def checkIfUserExists
Implements the checkIfUserExists service main function.
def validateExistingPlatformDeviceToken
Implements the validateExistingPlatformDeviceToken service main function.
def registerUserOntologyAliasDataHandler
The registerUserOntologyAliasSrv service callback.
def getUsernameAssociatedWithApplicationToken
Implements the getUsernameAssociatedWithApplicationToken service main function.
def addStoreTokenToDevice
Implements the addStoreTokenToDevice service main function.
def __init__
Default contructor.
def addStoreTokenToDeviceDataHandler
The addStoreTokenToDeviceSrv service callback.
def createNewApplicationToken
Implements the createNewApplicationToken service main function.
def checkActiveRobotSession
Implements the checkActiveRobotSession service main function.
def checkActiveApplicationToken
Implements the checkActiveRobotSession service main function.
def createNewCloudAgent
Implements the createNewCloudAgent service main function.
def getUsernameAssociatedWithApplicationTokenDataHandler
The getUsernameAssociatedWithApplicationTokenSrv service callback.
def removePlatformUserDataHandler
The removePlatformUserSrv service callback.
def createNewPlatformUserDataHandler
The createNewPlatformUserSrv service callback.
def getUserOntologyAlias
Implements the getUserOntologyAlias service main function.
def removePlatformUser
Implements the removePlatformUser service main function.
def registerNewTokenDataHandler
The registerNewTokenSrv service callback.
def getTableColumnNames
Gets the columns of the table.
def getUserLanguage
Implements the getUserLanguage service main function.
def validateUserRoleDataHandler
The validateUserRoleSrv service callback.
def validateExistingPlatformDeviceTokenDataHandler
The validateExistingPlatformDeviceTokenSrv service callback.
def getUserPassword
Implements the getUserPassword service main function.
def getUserOntologyAliasDataHandler
The getUserOntologyAlias service callback.
def createNewCloudAgentServiceDataHandler
The createNewCloudAgentServiceSrv service callback.
def getCloudAgentServiceTypeAndHostPort
Implements the getCloudAgentServiceTypeAndHostPort service main function.
def validateUserRole
Implements the validateUserRole service main function.
The mysql wrapper ros node.
def checkActiveRobotSessionDataHandler
The checkActiveRobotSessionSrv service callback.
def checkActiveApplicationTokenDataHandler
The checkActiveApplicationTokenSrv service callback.
def getUserLanguageDataHandler
The getUserLanguage service callback.
def registerUserOntologyAlias
Implements the registerUserOntologyAlias service main function.
def createNewCloudAgentService
Implements the createNewCloudAgentService service main function.