Skip to content

Commit

Permalink
Changed defalult protocol to MQTT. #3
Browse files Browse the repository at this point in the history
  • Loading branch information
iprever committed Feb 26, 2016
1 parent 6419eb1 commit e62817a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eclipse {
}

ext {
pangdataVersion='1.0.0-SNAPSHOT'
pangdataVersion='1.0.0-RELEASE'
}

configurations.all {
Expand All @@ -24,7 +24,7 @@ repositories {
mavenLocal()
mavenCentral()
maven{
url "http://mini.prever.co.kr:8081/nexus/content/groups/prever-io-public-repository/"
url "http://mini.prever.io:8081/nexus/content/groups/prever-io-public-repository/"
}
}

Expand All @@ -40,12 +40,12 @@ dependencies {

compile 'org.apache.httpcomponents:httpclient:4.1.1'

compile group: 'com.pangdata', name: 'pang-sdk-java', version: '1.0.0-SNAPSHOT'
compile group: 'com.pangdata', name: 'pang-sdk-java', version: '1.0.0-RELEASE'

testCompile 'junit:junit:4.11'
}

version = '1.0.0-SNAPSHOT'
version = '1.0.0-RELEASE'

jar {
manifest.attributes provider: 'pangdata.com'
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/pangdata/apps/monitor/WebMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void run() {
Map<String, Long> data = new HashMap<String, Long>();

data.put(target.get("devicename"), milliTime);
logger.debug("Response time: {}", data.toString());
pang.sendData(data);
} catch (Throwable e) {
logger.error("Monitor has an error", e);
Expand Down

0 comments on commit e62817a

Please sign in to comment.