Class SettingsResource

java.lang.Object
com.xebialabs.xlrelease.api.internal.SettingsResource

@Path("/settings") @Consumes("application/json") @Produces("application/json") @Controller public class SettingsResource extends Object
The Digital.ai Release settings.
  • Field Details

  • Constructor Details

    • SettingsResource

      @Autowired public SettingsResource(com.xebialabs.xlrelease.security.PermissionChecker permissionChecker, com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository, com.xebialabs.xlrelease.service.ConfigurationService configurationService, com.xebialabs.xlrelease.api.internal.converters.CustomLogoSettingsConverter customLogoSettingsConverter, XLReleaseEventBus eventBus, com.xebialabs.xlrelease.config.XlrConfig xlrConfig, com.xebialabs.xlrelease.service.DbCredentialsService dbCredentialsService)
  • Method Details

    • getReportsSettings

      @GET @Timed @Path("reports") public ReportsSettingsView getReportsSettings()
    • getPollingInterval

      @GET @Timed @Path("polling-interval") public PollingSettingsView getPollingInterval()
    • getArchivingSettings

      @GET @Timed @Path("archiving-settings") public ArchivingSettingsView getArchivingSettings()
    • getThemeSettings

      @GET @Timed @Path("theme") public com.xebialabs.xlrelease.configuration.ThemeSettings getThemeSettings()
    • getSystemMessage

      @GET @Timed @Path("system-message") public com.xebialabs.xlrelease.configuration.SystemMessageSettings getSystemMessage()
    • getUploadAttachmentSettings

      @GET @Timed @Path("upload") public jakarta.ws.rs.core.Response getUploadAttachmentSettings()
    • read

      @GET @Timed @Path("ci/{ID:Configuration.*}") public jakarta.ws.rs.core.Response read(@PathParam("ID") String id)
    • create

      @POST @Timed @Path("ci/{ID:Configuration.*}") public com.xebialabs.xlrelease.domain.BaseConfiguration create(@PathParam("ID") String id, com.xebialabs.xlrelease.domain.BaseConfiguration configurationItem)
    • update

      @PUT @Timed @Path("ci/{ID:Configuration.*}") public com.xebialabs.xlrelease.domain.BaseConfiguration update(@PathParam("ID") String id, com.xebialabs.xlrelease.domain.BaseConfiguration configurationItem)
    • delete

      @DELETE @Timed @Path("ci/{ID:Configuration.*}") public void delete(@PathParam("ID") String id)
    • getCustomLogoContentTypes

      @GET @Path("content-type/image") public List<String> getCustomLogoContentTypes()
    • setCustomLogo

      @POST @Timed @Path("custom-logo/upload") @Consumes("multipart/form-data") public com.xebialabs.xlrelease.configuration.CustomLogoSettings setCustomLogo(@Context jakarta.servlet.http.HttpServletRequest request) throws IOException
      Throws:
      IOException
    • downloadCustomLogo

      @GET @Path("custom-logo/download") public jakarta.ws.rs.core.Response downloadCustomLogo()
    • deleteCustomLogo

      @DELETE @Path("custom-logo") public jakarta.ws.rs.core.Response deleteCustomLogo()
    • getSystemSettings

      @GET public List<com.xebialabs.xlrelease.domain.BaseSettings> getSystemSettings()
    • updateSettings

      @PUT @Timed public List<com.xebialabs.xlrelease.domain.BaseSettings> updateSettings(List<com.xebialabs.xlrelease.domain.BaseSettings> settings)
    • getFeatureSettings

      @GET @Path("features") public List<com.xebialabs.xlrelease.configuration.FeatureSettings> getFeatureSettings()
    • getFeatureSetting

      @GET @Path("features/{type}") public com.xebialabs.xlrelease.configuration.FeatureSettings getFeatureSetting(@PathParam("type") String type)
    • updateFeatureSettings

      @PUT @Timed @Path("features") public List<com.xebialabs.xlrelease.configuration.FeatureSettings> updateFeatureSettings(List<com.xebialabs.xlrelease.configuration.FeatureSettings> features)
    • reloadDbConfig

      @PUT @Path("/reloadDbConfig") public jakarta.ws.rs.core.Response reloadDbConfig(UpdateDBCredentialsForm form)