Ignore:
Timestamp:
09/11/14 16:19:05 (10 years ago)
Author:
sdipsl
Message:

update message content
# Message type standard fields:
https://github.com/Prodiguer/prodiguer-docs/wiki/MQ-Standard-Message-Fields
# Message type dictionnary and custom fields:
https://github.com/Prodiguer/prodiguer-docs/wiki/Monitoring-Message-Dictionary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1049 r1051  
    176176    ls -lta ${SUBMIT_DIR} 
    177177  fi 
    178  
    179   #================================== 
    180   # Read libIGCM compatibility version in config.card 
    181   # Read UserChoices section 
    182   # Read Ensemble section 
    183   # Read Post section 
    184   # Define all netcdf output directories 
    185   #================================== 
    186   IGCM_config_CommonConfiguration ${SUBMIT_DIR}/config.card 
    187178 
    188179  #================================== 
     
    12411232      code=1100 
    12421233      # RabbitMQ message body 
    1243       Body=$( echo "{${GenericSimulationID},\"code\":\"${code}\",\"uuid\":\"$(uuidgen)\",\"status\":\"OK\",\"timestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     1234      Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
    12441235      # Fill the rabbitMQ queue 
    12451236      IGCM_debug_sendAMQP 
     
    12641255        code=0100 
    12651256        # RabbitMQ message body 
    1266         Body=$( echo "{${GenericSimulationID},\"code\":\"${code}\",\"uuid\":\"$(uuidgen)\",\"status\":\"OK\",\"timestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     1257        Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
    12671258        # Fill the rabbitMQ queue 
    12681259        IGCM_debug_sendAMQP 
Note: See TracChangeset for help on using the changeset viewer.