Package com.atlassian.bamboo.testutils
Class ApplicationLinksTestHelper
java.lang.Object
com.atlassian.bamboo.testutils.ApplicationLinksTestHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createBiDirectionalApplink
(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl) Creates bidirectional applink without any authentication methods enabledstatic void
createBiDirectionalApplinkWithOAuth
(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation) Creates bidirectional applink with default OAuth authentication settingsstatic 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 settingsstatic @NotNull com.atlassian.applinks.test.data.applink.TestApplink
createBiDirectionalApplinkWithTrustedApps
(String bambooBaseUrl, String remoteAppBaseUrl) static void
deleteAllApplinks
(com.atlassian.pageobjects.TestedProduct product) Delete application link between Bamboo and other productstatic io.restassured.response.Response
getApplinksManifest
(String baseUrl) static String
getServerId
(String baseUrl) static javax.json.JsonObject
static javax.json.JsonObject
static javax.json.JsonObject
static javax.json.JsonObject
-
Constructor Details
-
ApplicationLinksTestHelper
public ApplicationLinksTestHelper()
-
-
Method Details
-
getServerId
-
getApplinksManifest
-
createBiDirectionalApplink
public static void createBiDirectionalApplink(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl) Creates bidirectional applink without any authentication methods enabled -
createBiDirectionalApplinkWithOAuth
public static void createBiDirectionalApplinkWithOAuth(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation) Creates bidirectional applink with default OAuth authentication settings -
createBiDirectionalApplinkWithTrustedApps
public 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 -
createBiDirectionalApplinkWithTrustedApps
-
deleteAllApplinks
public static void deleteAllApplinks(com.atlassian.pageobjects.TestedProduct product) Delete application link between Bamboo and other product -
jsonCreateApplink
-
json2LOAuthProvider
public static javax.json.JsonObject json2LOAuthProvider() -
json2LOAuthWithImpersonationProvider
public static javax.json.JsonObject json2LOAuthWithImpersonationProvider() -
jsonOAuthAuthProvider
public static javax.json.JsonObject jsonOAuthAuthProvider()
-