Changeset 1332 for trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
- Timestamp:
- 07/04/16 17:01:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r1325 r1332 711 711 fi 712 712 IGCM_debug_PopStack "IGCM_debug_BigBro_Initialize" 713 } 714 715 #D-#================================================================== 716 #D-function IGCM_debug_BigBro_Update 717 #D-* Purpose: Update rabbitMQ messages exchanges during the run 718 #D- 719 function IGCM_debug_BigBro_Update { 720 IGCM_debug_PushStack "IGCM_debug_BigBro_Update" 721 722 # Message type standard fields: 723 # https://github.com/Prodiguer/prodiguer-docs/wiki/MQ-Standard-Message-Fields 724 725 # Message type dictionnary and custom fields: 726 # https://github.com/Prodiguer/prodiguer-docs/wiki/Monitoring-Message-Dictionary 727 728 if [ X${ActivateBigBro} = Xtrue ] ; then 729 if [ X${TaskType} = Xcomputing ]; then 730 # Send ${PeriodDateBegin}, ${PeriodDateEnd} and ${CumulPeriod} 731 # RabbitMQ message body 732 Body=$( echo "{${genericSimulationID},\"msgCode\":\"1001\",\"PeriodDateBegin\":\"${PeriodDateBegin}\",\"PeriodDateEnd\":\"${PeriodDateEnd}\",\"CumulPeriod\":\"${cumulPeriod}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 733 # Fill the rabbitMQ queue 734 IGCM_debug_sendAMQP 735 fi 736 fi 737 IGCM_debug_PopStack "IGCM_debug_BigBro_Update" 713 738 } 714 739
Note: See TracChangeset
for help on using the changeset viewer.