2022-08-22 21:45:51 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
function error_handler() {
|
|
|
|
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
|
|
|
exit "$2"
|
|
|
|
}
|
|
|
|
trap 'error_handler ${LINENO} $?' ERR
|
|
|
|
set -o errtrace -o errexit -o nounset -o pipefail
|
|
|
|
|
|
|
|
|
|
|
|
tables=(
|
|
|
|
message_model
|
|
|
|
message_instance
|
|
|
|
message_correlation
|
|
|
|
message_correlation_property
|
|
|
|
message_correlation_message_instance
|
|
|
|
)
|
|
|
|
|
|
|
|
for i in "${tables[@]}" ;do
|
|
|
|
echo "$i"
|
2022-09-16 19:37:47 +00:00
|
|
|
mysql -uroot -e "select * from spiffworkflow_backend_development.${i}"
|
2022-08-22 21:45:51 +00:00
|
|
|
done
|
|
|
|
|
2022-09-20 15:52:50 +00:00
|
|
|
echo "process_instance"
|
|
|
|
mysql -uroot -e "select id,process_model_identifier,process_group_identifier,status from spiffworkflow_backend_development.process_instance"
|