ETL Extensions

This section explains how ETL extensions can be made within Atoti FRTB.

For these extensions, we will be using the Datastore Helper and Data Load Controller.

Organizing Customizations

Extracting our customizations into their own configuration class can help us keep things tidy and aid in migration efforts when upgrading to a newer version of Atoti FRTB. We can put our customizations into Configuration classes that we will ensure get picked up by our application.

Example datastore customization:

@Configuration
public static class ClientCustomisations {

	@Bean(name = "Custom")
	@Qualifier(SP_QUALIFIER__CUSTOMISATIONS)
	public DatastoreConfiguratorConsumer addFieldCustomization(){
		return datastoreConfigurator -> datastoreConfigurator
				.appendField("ExistingStore", new CustomField("MyNewField", ILiteralType.STRING));
	}
}

Include in FrtbApplicationConfig

For our customizations to be picked up, we must include all added Spring @Configuration classes in FrtbApplicationConfig located in /frtb-application/src/main/java/com/activeviam/frtb/application/config/.