diff options
Diffstat (limited to 'lib/config.js')
-rw-r--r-- | lib/config.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/config.js b/lib/config.js index e44e9b5..fd7d38c 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,5 +1,5 @@ /* -Copyright(c) 2017 AT&T Intellectual Property. All rights reserved. +Copyright(c) 2017-2018 AT&T Intellectual Property. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -148,7 +148,8 @@ const getTLSCredentials = function() { } exports.configure = function() { - var config = {}; + const config = {}; + config.server_instance_uuid = utils.generateId(); /* Get configuration from configuration store */ return getFileContents(PACKAGE_JSON_FILE) @@ -213,6 +214,7 @@ exports.configure = function() { throw new Error ("Required configuration elements missing: " + missing.join(',')); config = null; } + console.log( (new Date()) + ": config -> " + JSON.stringify(config, undefined, 2)); return config; }); }; |