use of io.apiman.gateway.platforms.vertx3.helpers.EndpointHelper in project apiman by apiman.
the class ApiResourceImpl method getApiEndpoint.
@Override
@SuppressWarnings("nls")
public ApiEndpoint getApiEndpoint(String organizationId, String apiId, String version) throws NotAuthorizedException {
EndpointHelper endpointHelper = new EndpointHelper(apimanConfig);
String endpoint = endpointHelper.getApiEndpoint(organizationId, apiId, version);
ApiEndpoint endpointObj = new ApiEndpoint();
endpointObj.setEndpoint(endpoint);
return endpointObj;
}
use of io.apiman.gateway.platforms.vertx3.helpers.EndpointHelper in project apiman by apiman.
the class SystemResourceImpl method getEndpoint.
@Override
public GatewayEndpoint getEndpoint() {
EndpointHelper endpointHelper = new EndpointHelper(apimanConfig);
String endpoint = endpointHelper.getGatewayEndpoint();
GatewayEndpoint endpointObj = new GatewayEndpoint();
endpointObj.setEndpoint(endpoint);
return endpointObj;
}
Aggregations