Adding custom life event data store pre-population processing

Complete theses steps to add custom life event data store pre-population

Procedure

  1. Create an implementation of the curam.citizen.lifeeventbroker.impl.DatastoreBuilder for custom life event data store pre population processing.
  2. Install the custom implementation using a custom Guice module. An entry containing the custom Guice module name should be added to a dmx file for ModuleClassName entity. The custom life event data store pre population processing implementation should be bound using a Guice MapBinder. For example:
    public class CustomModule extends AbstractModule {
      @Override
      protected void configure() {
        Mapbinder<String, DatastoreBuilder > binder = Mapbinder.newMapBinder(
           binder(), String.class, DatastoreBuilder.class );
          binder.addBinding().to(CustomDataStoreBuilder.class);
      }
    }