mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
merged updates
This commit is contained in:
commit
cd759d9c12
@ -57,4 +57,8 @@ public class GCMService {
|
|||||||
log.error("Exception occurred while sending the GCM notification : " + result.getErrorMsg());
|
log.error("Exception occurred while sending the GCM notification : " + result.getErrorMsg());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void resetTenantConfigCache() {
|
||||||
|
GCMUtil.resetTenantConfigCache();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -177,6 +177,10 @@ public class GCMUtil {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void resetTenantConfigCache() {
|
||||||
|
tenantConfigurationCache.remove(getTenantId());
|
||||||
|
}
|
||||||
|
|
||||||
private static void addTenantConfigurationToCache(TenantConfiguration tenantConfiguration) {
|
private static void addTenantConfigurationToCache(TenantConfiguration tenantConfiguration) {
|
||||||
tenantConfigurationCache.put(getTenantId(), tenantConfiguration);
|
tenantConfigurationCache.put(getTenantId(), tenantConfiguration);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,7 @@ public class URLPrinterStartupHandler implements ServerStartupObserver {
|
|||||||
if (httpsProxyPort > 0) {
|
if (httpsProxyPort > 0) {
|
||||||
port = httpsProxyPort;
|
port = httpsProxyPort;
|
||||||
}
|
}
|
||||||
return "https://" + hostName + ":" + port + "/mdm";
|
return "https://" + hostName + ":" + port + "/emm";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user