-
Notifications
You must be signed in to change notification settings - Fork 20
RAPP MySQL wrapper
#Methodology
The RAPP MySQL wrapper ROS node provides the means to interact with the developed MySQL database by providing a number of ROS services that perform specific, predefined procedures of reading from and writing to the database.
#ROS Services Each service is analyzed below.
Service URL: /rapp/rapp_mysql_wrapper/add_store_token_to_device
Service type:
string store_token
---
string error
Service URL: /rapp/rapp_mysql_wrapper/check_active_application_token
Service type:
string application_token
---
bool application_token_exists
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/check_active_robot_session
Service type:
string username
string device_token
---
bool application_token_exists
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/check_if_user_exists
Service type:
string username
---
bool user_exists
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/create_new_application_token
Service type:
string username
string store_token
string application_token
---
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/create_new_cloud_agent
Service type:
string username
string tarball_path
string container_identifier
string image_identifier
string container_type
---
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/create_new_cloud_agent_service
Service type:
string container_identifier
string service_name
string service_type
int16 container_port
int16 host_port
---
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/create_new_platform_user
Service type:
string username
string password
string creator_username
string language
---
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/get_cloud_agent_service_type_and_host_port
Service type:
string container_identifier
string service_name
---
string service_type
int16 host_port
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/get_user_language
Service type:
string username
---
string user_language
bool success
string error
string[] trace
##Get username associated with application token service
Service URL: /rapp/rapp_mysql_wrapper/get_username_associated_with_application_token
Service type:
string application_token
---
string username
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/get_user_ontology_alias
Service type:
string username
---
string ontology_alias
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/get_user_password
Service type:
string username
---
string password
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/register_user_ontology_alias
Service type:
string username
string ontology_alias
---
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/remove_platform_user
Service type:
string username
---
string password
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/validate_existing_platform_device_token
Service type:
string device_token
---
bool device_token_exists
bool success
string error
string[] trace
Service URL: /rapp/rapp_mysql_wrapper/validate_user_role
Service type:
string username
---
string error
string[] trace
Launches the rapp_mysql_wrapper node and can be invoked using
roslaunch rapp_mysql_wrapper mysql_wrapper.launch
RAPP Project, http://rapp-project.eu/