Class BambooRepositoryImportResource


  • @Singleton
    public class BambooRepositoryImportResource
    extends Object
    • Constructor Detail

      • BambooRepositoryImportResource

        public BambooRepositoryImportResource​(RepositoryExportService repositoryExportService,
                                              com.atlassian.event.api.EventPublisher eventPublisher,
                                              com.atlassian.sal.api.message.I18nResolver i18nResolver,
                                              BambooAuthenticationContext authenticationContext)
    • Method Detail

      • importRepository

        public javax.ws.rs.core.Response importRepository​(@NotNull
                                                          @NotNull String yamlString,
                                                          @Context
                                                          javax.ws.rs.core.HttpHeaders headers,
                                                          @Context
                                                          javax.ws.rs.core.UriInfo uriInfo)
                                                   throws WebValidationException
        Import configuration of a linked repository in YAML format. Request payload contains YAML with import data.
        Throws:
        WebValidationException