Package com.atlassian.bamboo.testutils
Class Oauth1ApplicationLinksTestHelper
java.lang.Object
com.atlassian.bamboo.testutils.Oauth1ApplicationLinksTestHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateBiDirectionalApplink(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl) static voidcreateBiDirectionalApplink(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, TestUser bambooUser, TestUser remoteUser) Creates bidirectional applink without any authentication methods enabledstatic voidcreateBiDirectionalApplinkWithOAuth(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation) Creates bidirectional applink with default OAuth authentication settingsstatic voidcreateBiDirectionalApplinkWithOAuth(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation, TestUser bambooAdminUser, TestUser remoteAdminUser) static voiddeleteAllApplinks(com.atlassian.pageobjects.TestedProduct product) Delete application link between Bamboo and other productstatic io.restassured.response.ResponsegetApplinksManifest(String baseUrl) static StringgetServerId(String baseUrl) static jakarta.json.JsonObjectstatic jakarta.json.JsonObjectstatic jakarta.json.JsonObjectstatic jakarta.json.JsonObject
-
Constructor Details
-
Oauth1ApplicationLinksTestHelper
public Oauth1ApplicationLinksTestHelper()
-
-
Method Details
-
getServerId
-
getApplinksManifest
-
createBiDirectionalApplink
public static void createBiDirectionalApplink(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, TestUser bambooUser, TestUser remoteUser) Creates bidirectional applink without any authentication methods enabled -
createBiDirectionalApplink
-
createBiDirectionalApplinkWithOAuth
public static void createBiDirectionalApplinkWithOAuth(String bambooBaseUrl, String typeId, String name, String remoteBaseUrl, boolean allowImpersonation) Creates bidirectional applink with default OAuth authentication settings -
createBiDirectionalApplinkWithOAuth
-
deleteAllApplinks
public static void deleteAllApplinks(com.atlassian.pageobjects.TestedProduct product) Delete application link between Bamboo and other product -
jsonCreateApplink
-
json2LOAuthProvider
public static jakarta.json.JsonObject json2LOAuthProvider() -
json2LOAuthWithImpersonationProvider
public static jakarta.json.JsonObject json2LOAuthWithImpersonationProvider() -
jsonOAuthAuthProvider
public static jakarta.json.JsonObject jsonOAuthAuthProvider()
-