Configuring the DLC REST Service
If you would like to customize the endpoint where the DLC exists, you can create a custom implementation of ADataConnectorsRestServiceConfig
. Below is the default DataLoadControllerRestServiceConfig
provided with DataConnectors.
/**
* Configures the Data Load Controllers REST service endpoint.
*
* @author ActiveViam
*/
@Configuration
@Import({
DataLoadControllerRestController.class
})
public class DataLoadControllerRestServiceConfig extends ADataConnectorsRestServiceConfig {
@Override public String getServiceName() {
return DLC_SERVICE;
}
@Override public String getVersion() {
return DLC_REST_VERSION;
}
}
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:PORT>/connectors/rest/dee/<DLC_REST_Version>)/