public class ApplicationLinksTestHelper extends Object
Constructor and Description |
---|
ApplicationLinksTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createBiDirectionalApplink(String bambooBaseUrl,
String typeId,
String name,
String remoteBaseUrl)
Creates bidirectional applink without any authentication methods enabled
|
static void |
createBiDirectionalApplinkWithOAuth(String bambooBaseUrl,
String typeId,
String name,
String remoteBaseUrl,
boolean allowImpersonation)
Creates bidirectional applink with default OAuth authentication settings
|
static com.atlassian.applinks.test.data.applink.TestApplink |
createBiDirectionalApplinkWithTrustedApps(String bambooBaseUrl,
String remoteAppBaseUrl) |
static com.atlassian.applinks.test.data.applink.TestApplink |
createBiDirectionalApplinkWithTrustedApps(com.atlassian.pageobjects.TestedProduct bamboo,
com.atlassian.pageobjects.TestedProduct product2)
Creates bidirectional applink with default OAuth authentication settings
|
static void |
deleteAllApplinks(com.atlassian.pageobjects.TestedProduct product)
Delete application link between Bamboo and other product
|
static Integer |
getApplinksMajorVersion(String baseUrl) |
static io.restassured.response.Response |
getApplinksManifest(String baseUrl) |
static String |
getServerId(String baseUrl) |
static javax.json.JsonObject |
json2LOAuthProvider() |
static javax.json.JsonObject |
json2LOAuthWithImpersonationProvider() |
static javax.json.JsonObject |
jsonCreateApplink(String targetId,
String typeId,
String name,
String rpcUrl,
String displayUrl) |
static javax.json.JsonObject |
jsonOAuthAuthProvider() |
public static io.restassured.response.Response getApplinksManifest(String baseUrl)
public static void createBiDirectionalApplink(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl)
public static void createBiDirectionalApplinkWithOAuth(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation)
public static com.atlassian.applinks.test.data.applink.TestApplink createBiDirectionalApplinkWithTrustedApps(com.atlassian.pageobjects.TestedProduct bamboo, com.atlassian.pageobjects.TestedProduct product2)
@NotNull public static com.atlassian.applinks.test.data.applink.TestApplink createBiDirectionalApplinkWithTrustedApps(String bambooBaseUrl, String remoteAppBaseUrl)
public static void deleteAllApplinks(com.atlassian.pageobjects.TestedProduct product)
public static javax.json.JsonObject jsonCreateApplink(String targetId, String typeId, String name, String rpcUrl, String displayUrl)
public static javax.json.JsonObject json2LOAuthProvider()
public static javax.json.JsonObject json2LOAuthWithImpersonationProvider()
public static javax.json.JsonObject jsonOAuthAuthProvider()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.