Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
mde
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fd8faf79
authored
Sep 18, 2017
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add welcome version print
parent
a5034b95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
src/main/java/web/App.java
src/main/java/web/App.java
View file @
fd8faf79
...
@@ -5,6 +5,9 @@ package web;
...
@@ -5,6 +5,9 @@ package web;
*/
*/
//import utils.common.ConfigProperties;
//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.IPubSubMQTTImpl
;
import
microservice.io.impl.IRestServerUndertowImpl
;
import
microservice.io.impl.IRestServerUndertowImpl
;
import
microservice.params.RestServerParams
;
import
microservice.params.RestServerParams
;
...
@@ -22,6 +25,10 @@ public class App {
...
@@ -22,6 +25,10 @@ public class App {
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
ConfigProperties
.
getInstance
().
loadProperties
();
ConfigProperties
.
getInstance
().
loadProperties
();
System
.
out
.
println
(
"Welcome to mde ver 1.0.0 ..."
);
// load rest server parameters
// load rest server parameters
SERVER_PORT
=
(
Long
)
ConfigProperties
.
getInstance
().
addConfigurationPropertyToHash
(
"server.port"
,
"9090"
,
EnumPropertyType
.
E_LONG
);
SERVER_PORT
=
(
Long
)
ConfigProperties
.
getInstance
().
addConfigurationPropertyToHash
(
"server.port"
,
"9090"
,
EnumPropertyType
.
E_LONG
);
SERVER_HOST
=
(
String
)
ConfigProperties
.
getInstance
().
addConfigurationPropertyToHash
(
"server.host"
,
"localhost"
,
EnumPropertyType
.
E_STRING
);
SERVER_HOST
=
(
String
)
ConfigProperties
.
getInstance
().
addConfigurationPropertyToHash
(
"server.host"
,
"localhost"
,
EnumPropertyType
.
E_STRING
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment