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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSettingsResource(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 Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.BaseConfigurationvoidjakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsecom.xebialabs.xlrelease.configuration.FeatureSettingsgetFeatureSetting(String type) List<com.xebialabs.xlrelease.configuration.FeatureSettings>com.xebialabs.xlrelease.configuration.SystemMessageSettingsList<com.xebialabs.xlrelease.domain.BaseSettings>com.xebialabs.xlrelease.configuration.ThemeSettingsjakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsecom.xebialabs.xlrelease.configuration.CustomLogoSettingssetCustomLogo(jakarta.servlet.http.HttpServletRequest request) com.xebialabs.xlrelease.domain.BaseConfigurationList<com.xebialabs.xlrelease.configuration.FeatureSettings>updateFeatureSettings(List<com.xebialabs.xlrelease.configuration.FeatureSettings> features) List<com.xebialabs.xlrelease.domain.BaseSettings>updateSettings(List<com.xebialabs.xlrelease.domain.BaseSettings> settings)
-
Field Details
-
MESSAGE
- See Also:
-
-
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
-
getPollingInterval
-
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
-
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
-
updateSettings
-
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
-
reloadDbConfig
@PUT @Path("/reloadDbConfig") public jakarta.ws.rs.core.Response reloadDbConfig(UpdateDBCredentialsForm form)
-