Configuring the DLC REST Service

In order to expose the DLC REST endpoint in your application, add the below Spring Configuration extending ADataLoadControllerRestServiceConfig and implementing getDataLoadControllerInstance() method.

    @Configuration
    public class DataLoadControllerRestServiceConfig extends ADataLoadControllerRestServiceConfig {

        @Autowired
        protected ADataLoadControllerConfig dataLoadControllerConfig;

        @Override
        public IDataLoadController getDataLoadControllerInstance() {
            return dataLoadControllerConfig.dataLoadController();
        }
    }
Then simply import the DataLoadControllerRestServiceConfig in your application’s Spring Java Config.

Base REST Endpoint

This will Create an endpoint at the following location (excluding host and port):

<localhost:8080>/services/connectors/rest/dee/<DLC_REST_Version>)/
search.js