Add health check mesage types 34/2734/1 3.5.1
authorE. Scott Daniels <daniels@research.att.com>
Tue, 10 Mar 2020 12:28:37 +0000 (08:28 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Tue, 10 Mar 2020 12:28:37 +0000 (08:28 -0400)
This change adds the health check message types to the main
RIC message type list.

Issue-ID: RICAPP-25

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I9010ae719c27ff5a6271fa8fe05e2499eb83759f

CHANGES
CMakeLists.txt
src/rmr/common/include/RIC_message_types.h
src/support/health_ck.c

diff --git a/CHANGES b/CHANGES
index 0b2898c..7ea8af9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 API and build change  and fix summaries. Doc correctsions
 and/or changes are not mentioned here; see the commit messages.
 
+2020 March 10; version 3.5.1
+       Add missing health check message types.
+       
 2020 March 9; version 3.5.0
        Added new wormhole send function: rmr_wh_call().
 
index 12958e8..08aee4d 100644 (file)
@@ -40,7 +40,7 @@ cmake_minimum_required( VERSION 3.5 )
 
 set( major_version "3" )               # should be automatically populated from git tag later, but until CI process sets a tag we use this
 set( minor_version "5" )
-set( patch_level "0" )
+set( patch_level "1" )
 
 set( install_root "${CMAKE_INSTALL_PREFIX}" )
 set( install_inc "include/rmr" )
index 8149a9d..70ff94d 100644 (file)
 #define RMRRM_TABLE_STATE                      22              // state of table to route mgr
 
 
+// --- system support messages -----------------------
+#define RIC_HEALTH_CHECK_REQ    100
+#define RIC_HEALTH_CHECK_RESP   101
+
 // --- please keep additions in numerical order ------
 
 #define RIC_SCTP_CONNECTION_FAILURE 1080
index b755077..290c500 100644 (file)
 #include <rmr.h>
 #include <RIC_message_types.h>
 
-#ifndef RIC_HEALTH_CHECK_REQ
-#define RIC_HEALTH_CHECK_REQ   100
-#define RIC_HEALTH_CHECK_RESP  101
-#endif
-
-
 #define MAX_MSG_SZ     2048            // max size we'll expect back
 #define PAYLOAD_SZ     1024            // size of payload we will send