Class BambooCredentialsImportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooCredentialsImportResource
-
@Singleton public class BambooCredentialsImportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooCredentialsImportResource(CredentialsExportService credentialsExportService, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
importCredential(@NotNull String yamlString, javax.ws.rs.core.HttpHeaders headers)
Import configuration of a shared credential in YAML format.
-
-
-
Constructor Detail
-
BambooCredentialsImportResource
public BambooCredentialsImportResource(CredentialsExportService credentialsExportService, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
-
Method Detail
-
importCredential
public javax.ws.rs.core.Response importCredential(@NotNull @NotNull String yamlString, @Context javax.ws.rs.core.HttpHeaders headers) throws WebValidationException
Import configuration of a shared credential in YAML format. Request payload contains YAML with import data.- Throws:
WebValidationException
-
-