UOCL-244: development
This commit is contained in:
@@ -325,7 +325,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.unicenta</groupId>
|
<groupId>com.unicenta</groupId>
|
||||||
<artifactId>unicenta-plugins</artifactId>
|
<artifactId>unicenta-plugins</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.2-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.gluonhq</groupId>
|
<groupId>com.gluonhq</groupId>
|
||||||
|
|||||||
@@ -121,10 +121,16 @@ public class StartPOS {
|
|||||||
}
|
}
|
||||||
private static void applicationStarted(String host) {
|
private static void applicationStarted(String host) {
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
Metrics metrics = new Metrics();
|
try {
|
||||||
metrics.setDevice(host);
|
Metrics metrics = new Metrics();
|
||||||
metrics.setUniCentaVersion(AppLocal.APP_VERSION);
|
metrics.setDevice(host);
|
||||||
new Application().postMetrics(metrics);
|
metrics.setUniCentaVersion(AppLocal.APP_VERSION);
|
||||||
|
Application application = new Application();
|
||||||
|
application.postMetrics(metrics);
|
||||||
|
application.startEventListener(host);
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("Problem with starting the uniCenta plugin application:${}", e.getMessage());
|
||||||
|
}
|
||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user