Skip to content

Commit

Permalink
#3 Add Devicename Prefix Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-bh committed Oct 19, 2016
1 parent 587346a commit 52ed40f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ public static void main(String[] args) throws Exception {
USER = (String) PangProperties.getProperty("jdbc.username");
PASS = (String) PangProperties.getProperty("jdbc.password");
PREFIX = (String) PangProperties.getProperty("pang.prefix");

if(PREFIX == null || PREFIX.trim().isEmpty()) {
logger.error("Prefix doesn't defined. Please set prefix configuration on conf/pang.properties.");
return;
}

final Map<String, String> fields = extractFields();

Expand Down

0 comments on commit 52ed40f

Please sign in to comment.