protected String getServiceURL() throws XPathExpressionException { return automationContext.getContextUrls().getServiceUrl(); }
protected String getWebSocketAPIInvocationURL(String apiContext, String version) throws XPathExpressionException { String url = gatewayContextWrk.getContextUrls().getServiceUrl().replace("/services", ""). replace("http", "ws"); url = url.substring(0, url.lastIndexOf(":") + 1) + (inboundWebSocketPort + portOffset) + "/" + apiContext + "/" + version; return url; }
protected String getWebSocketTenantAPIInvocationURL(String apiContext, String version, String tenantDomain) throws XPathExpressionException { String url = gatewayContextWrk.getContextUrls().getServiceUrl().replace("/services", ""). replace("http", "ws"); url = url.substring(0, url.lastIndexOf(":") + 1) + (inboundWebSocketPort + portOffset) + "/t/" + tenantDomain + "/" + apiContext + "/" + version; return url; }
protected String getServiceURL() throws XPathExpressionException { String serviceURL = automationContext.getContextUrls().getServiceUrl(); return automationContext.getContextUrls().getServiceUrl(); } protected String getLoginURL() throws XPathExpressionException {
protected String getAPIInvocationURLHttp(String apiContext, String version) throws XPathExpressionException { return gatewayContextWrk.getContextUrls().getServiceUrl().replace("/services", "") + "/" + apiContext + "/" + version; }
protected String getServiceUrl(String serviceName) throws XPathExpressionException { return bpsServer.getContextUrls().getServiceUrl() + "/" + serviceName; }
protected String getAPIInvocationURLHttp(String apiContext) throws XPathExpressionException { return gatewayContextWrk.getContextUrls().getServiceUrl().replace("/services", "") + "/" + apiContext; }
protected String getServiceURL() throws XPathExpressionException { return automationContext.getContextUrls().getServiceUrl(); }
protected String getServiceUrl() throws XPathExpressionException { return automationContext.getContextUrls().getServiceUrl(); }
protected String getSuperTenantAPIInvocationURLHttp(String apiContext, String version) throws XPathExpressionException { return gatewayContextWrk.getContextUrls().getServiceUrl().replace("/services", "") .replace("/t/" + user.getUserDomain(), "") + "/" + apiContext + "/" + version; }
protected String getServiceUrlHttp(String serviceName) throws XPathExpressionException { String serviceUrl = esContext.getContextUrls().getServiceUrl() + "/" + serviceName; validateServiceUrl(serviceUrl, tenantInfo); return serviceUrl; }
tempUrl = contextUrls.getServiceUrl(); if (tempUrl.contains("/t/")) { tempUrl = tempUrl.split("/t/")[0];
protected void init(String domainKey, String userKey) throws Exception { bpsServer = new AutomationContext("BPS", "bpsServerInstance0001", domainKey, userKey); loginLogoutClient = new LoginLogoutClient(bpsServer); sessionCookie = loginLogoutClient.login(); backEndUrl = bpsServer.getContextUrls().getBackEndUrl(); serviceUrl = bpsServer.getContextUrls().getServiceUrl(); bpelUploaderClient = new BpelUploaderClient(backEndUrl, sessionCookie); humanTaskUploaderClient = new HumanTaskUploaderClient(backEndUrl, sessionCookie); bpmnUploaderClient = new BPMNUploaderClient(backEndUrl, sessionCookie); }
protected void init() throws Exception { bpsServer = new AutomationContext("BPS", TestUserMode.SUPER_TENANT_ADMIN); loginLogoutClient = new LoginLogoutClient(bpsServer); sessionCookie = loginLogoutClient.login(); backEndUrl = bpsServer.getContextUrls().getBackEndUrl(); serviceUrl = bpsServer.getContextUrls().getServiceUrl(); bpelUploaderClient = new BpelUploaderClient(backEndUrl, sessionCookie); humanTaskUploaderClient = new HumanTaskUploaderClient(backEndUrl, sessionCookie); bpmnUploaderClient = new BPMNUploaderClient(backEndUrl, sessionCookie); }
protected void init(TestUserMode testUserMode) throws Exception { bpsServer = new AutomationContext("BPS", testUserMode); loginLogoutClient = new LoginLogoutClient(bpsServer); sessionCookie = loginLogoutClient.login(); backEndUrl = bpsServer.getContextUrls().getBackEndUrl(); serviceUrl = bpsServer.getContextUrls().getServiceUrl(); bpelUploaderClient = new BpelUploaderClient(backEndUrl, sessionCookie); humanTaskUploaderClient = new HumanTaskUploaderClient(backEndUrl, sessionCookie); bpmnUploaderClient = new BPMNUploaderClient(backEndUrl, sessionCookie); }