Can we remove some unused field on the Gateway UI for an extension point.
I don't need retentionDays in AuditProfileConfig
perhaps just removing it in SchemaUtil.fromType(AuditProfileConfig.class) will be ok ?
@Override
public Optional<WebUiComponent> getWebUiComponent(ComponentType type) {
return Optional.of(
new ExtensionPointResourceForm(
AuditProfileType.RESOURCE_TYPE,
"AuditLogSplitterType",
TYPE_ID,
SchemaUtil.fromType(AuditProfileConfig.class),
SchemaUtil.fromType(AuditLogSplitterSettingsResource.class),
Set.of()));
}
My use case is an audit splitter, retentionDays are defined in each audit profil pointed by the splitter. But it is not used for the splitter profil which is and audit profil too