From a2c5714eabfb87d4a59f106e418c967b599c4212 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Tue, 7 Aug 2018 16:43:55 +0100 Subject: Check getMetaData() return value for null Added code to check for null metadata. Decomposed existing methods to avoid Sonar complexity warnings. Renamed some variables for readability. Change-Id: Id68be06bb5c105f45870a08f60a4ddc4dfbe5b09 Issue-ID: AAI-1448 Signed-off-by: mark.j.leonard --- src/main/resources/babel-logging-resources.properties | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/babel-logging-resources.properties b/src/main/resources/babel-logging-resources.properties index 99b2294..5213103 100644 --- a/src/main/resources/babel-logging-resources.properties +++ b/src/main/resources/babel-logging-resources.properties @@ -76,10 +76,12 @@ BABEL_REQUEST_PAYLOAD=\ BABEL_RESPONSE_PAYLOAD=\ BABEL0009I|\ - Babel response payload: {0}|\ + Babel response payload: {0}|\ MISSING_REQUEST_ID=\ BABEL0010I|\ Missing request ID. Assigned {0}|\ - |\ - \ No newline at end of file + +MISSING_SERVICE_METADATA=\ + BABEL0011W|\ + The service node template: {0} does not provide a metadata section. Skipping...|\ \ No newline at end of file -- cgit