Commit fd8faf79 by Adi Amir

add welcome version print

parent a5034b95
Showing with 7 additions and 0 deletions
......@@ -5,6 +5,9 @@ package web;
*/
//import utils.common.ConfigProperties;
import defs.Constants;
import microservice.io.iface.ILogger;
import microservice.io.impl.ILogger4jImpl;
import microservice.io.impl.IPubSubMQTTImpl;
import microservice.io.impl.IRestServerUndertowImpl;
import microservice.params.RestServerParams;
......@@ -22,6 +25,10 @@ public class App {
public static void main(String[] args) throws Exception {
ConfigProperties.getInstance().loadProperties();
System.out.println("Welcome to mde ver 1.0.0 ...");
// load rest server parameters
SERVER_PORT = (Long) ConfigProperties.getInstance().addConfigurationPropertyToHash("server.port","9090", EnumPropertyType.E_LONG);
SERVER_HOST = (String) ConfigProperties.getInstance().addConfigurationPropertyToHash("server.host","localhost", EnumPropertyType.E_STRING);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment