use of org.wso2.carbon.apimgt.core.models.events.EndpointEvent in project carbon-apimgt by wso2.
the class APIGatewayPublisherImpl method updateEndpoint.
@Override
public void updateEndpoint(Endpoint endpoint) throws GatewayException {
EndpointEvent dto = new EndpointEvent(APIMgtConstants.GatewayEventTypes.ENDPOINT_UPDATE);
dto.setEndpoint(endpoint);
publishToPublisherTopic(dto);
}
use of org.wso2.carbon.apimgt.core.models.events.EndpointEvent in project carbon-apimgt by wso2.
the class APIGatewayPublisherImpl method deleteEndpoint.
@Override
public void deleteEndpoint(Endpoint endpoint) throws GatewayException {
EndpointEvent dto = new EndpointEvent(APIMgtConstants.GatewayEventTypes.ENDPOINT_DELETE);
dto.setEndpoint(endpoint);
publishToPublisherTopic(dto);
}
use of org.wso2.carbon.apimgt.core.models.events.EndpointEvent in project carbon-apimgt by wso2.
the class APIGatewayPublisherImpl method addEndpoint.
@Override
public void addEndpoint(Endpoint endpoint) throws GatewayException {
EndpointEvent dto = new EndpointEvent(APIMgtConstants.GatewayEventTypes.ENDPOINT_CREATE);
dto.setEndpoint(endpoint);
publishToPublisherTopic(dto);
}
Aggregations