Finish Hotfix-61

This commit is contained in:
2024-06-04 11:36:54 +02:00

View File

@@ -16,8 +16,8 @@ public class ServiceCallScheduledOperationRunner extends BaseScheduledOperationR
@Override
public void run() throws Exception {
String port = UtilityServer.getLocalServerPort();
String baseUrl = "http://localhost:" + port + "/ems-api/"
+ getDtoInstance().getMethodName() + "?"
String baseUrl = "http://localhost:" + port + "/ems-api"
+ (getDtoInstance().getMethodName().startsWith("/") ? "" : "/") + getDtoInstance().getMethodName() + "?"
+ CommonConstants.PROFILE_DB + "=" + getDtoInstance().getProfileDb()
+ (getDtoInstance().getQueryParams() != null ? ("&" + getDtoInstance().getQueryParams()) : "");