work on using admin application as kie-server rest interface to allow deploy action from within Business Central

This commit is contained in:
Nicolas Héron 2020-07-01 11:23:20 +02:00
commit f97a3889a5
9 changed files with 566 additions and 10 deletions

View file

@ -116,7 +116,7 @@ public class KieServiceCommon {
this.marshallerHelper = new MarshallerHelper(this.server.getServerRegistry());
String serverName = KieServiceCommon.getKieServerID();
String sftpPort = System.getProperty("org.chtijbug.server.sftpPort");
try {
InetAddress inetAddress = InetAddress.getLocalHost();
@ -129,7 +129,7 @@ public class KieServiceCommon {
String version = result.getResult().getVersion();
if (itIsMes.size() == 0) {
RuntimePersist runtimePersist = new RuntimePersist(serverName, version, hostName,
String.valueOf(serverPort), sftpPort,
String.valueOf(serverPort), null,
hostName, RuntimePersist.STATUS.UP.toString());
String isSwarm = System.getProperty("org.kie.server.swarm");
if ("1".equals(isSwarm)) {
@ -178,6 +178,8 @@ public class KieServiceCommon {
}
}
});
}
public void setTimeStamp() {