Search in sources :

Example 1 with EndpointHelper

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;
}
Also used : EndpointHelper(io.apiman.gateway.platforms.vertx3.helpers.EndpointHelper) ApiEndpoint(io.apiman.gateway.engine.beans.ApiEndpoint)

Example 2 with EndpointHelper

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;
}
Also used : EndpointHelper(io.apiman.gateway.platforms.vertx3.helpers.EndpointHelper) GatewayEndpoint(io.apiman.gateway.engine.beans.GatewayEndpoint)

Aggregations

EndpointHelper (io.apiman.gateway.platforms.vertx3.helpers.EndpointHelper)2 ApiEndpoint (io.apiman.gateway.engine.beans.ApiEndpoint)1 GatewayEndpoint (io.apiman.gateway.engine.beans.GatewayEndpoint)1