public interface URLProvider2
Use URLProvider2 to modify the end-point URL of the backend that the service will use for getting data.
Note: URLProvider2 is a singleton - only one instance of this class is created and the same is used for every service call. Therefore, URLProvider2 should not have any user/request specific data or state. Any data common to all the users/requests may be stored.
URLProvider
Modifier and Type | Method and Description |
---|---|
String |
execute(String url,
com.konylabs.middleware.registry.vo.Service service,
Map configMap,
DataControllerRequest request,
Map inputMap)
Modifies and returns the updated end-point URL of the service.
|
String execute(String url, com.konylabs.middleware.registry.vo.Service service, Map configMap, DataControllerRequest request, Map inputMap)
url
- - The end-point URL as listed in the service definitionservice
- - The Service objectconfigMap
- - The config param map of the servicerequest
- - The request objectCopyright © 2019. All rights reserved.