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
775744ab
authored
Jan 15, 2017
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
make configLocation dynamic
parent
d14b065d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/defs/Constants.java
src/main/java/defs/Constants.java
View file @
775744ab
...
@@ -11,7 +11,7 @@ import java.util.regex.Pattern;
...
@@ -11,7 +11,7 @@ import java.util.regex.Pattern;
public
class
Constants
{
public
class
Constants
{
public
final
static
String
ADAPTERS_PATH
=
"adapters.json"
;
public
final
static
String
ADAPTERS_PATH
=
"adapters.json"
;
public
final
static
String
SERVICES_PATH
=
"services.json"
;
public
final
static
String
SERVICES_PATH
=
"services.json"
;
public
final
static
String
CONFIG_LOCATION
=
"/opt/mcx/config/"
;
public
final
static
String
CONFIG_LOCATION
=
System
.
getProperty
(
"configLocation"
,
"/opt/mcx/config/"
)
;
private
final
static
String
regexQueryParamValue
=
"^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$"
;
private
final
static
String
regexQueryParamValue
=
"^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$"
;
public
final
static
Pattern
patternFullMatchValue
=
Pattern
.
compile
(
regexQueryParamValue
);
public
final
static
Pattern
patternFullMatchValue
=
Pattern
.
compile
(
regexQueryParamValue
);
private
final
static
String
regexPathParamValue
=
"^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$"
;
private
final
static
String
regexPathParamValue
=
"^\\$[a-zA-Z]{1,15}\\.[a-zA-Z]{1,15}$"
;
...
...
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