ch.sbb.polarion.extension.api.extender.rest.ApiExtenderRestApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
This Polarion extension provides additional functionality which is not implemented in standard Polarion API for some reason
The newest version!
package ch.sbb.polarion.extension.api.extender.rest;
import ch.sbb.polarion.extension.api.extender.rest.controller.GlobalRecordApiController;
import ch.sbb.polarion.extension.api.extender.rest.controller.GlobalRecordInternalController;
import ch.sbb.polarion.extension.api.extender.rest.controller.ProjectCustomFieldApiController;
import ch.sbb.polarion.extension.api.extender.rest.controller.ProjectCustomFieldInternalController;
import ch.sbb.polarion.extension.api.extender.settings.GlobalRecordsSettings;
import ch.sbb.polarion.extension.api.extender.settings.ProjectCustomFieldsSettings;
import ch.sbb.polarion.extension.generic.rest.GenericRestApplication;
import ch.sbb.polarion.extension.generic.settings.NamedSettingsRegistry;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Set;
public class ApiExtenderRestApplication extends GenericRestApplication {
public ApiExtenderRestApplication() {
NamedSettingsRegistry.INSTANCE.register(
Arrays.asList(
new GlobalRecordsSettings(),
new ProjectCustomFieldsSettings()
)
);
}
@Override
protected @NotNull Set