Search in sources :

Example 1 with EndpointEvent

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);
}
Also used : EndpointEvent(org.wso2.carbon.apimgt.core.models.events.EndpointEvent)

Example 2 with EndpointEvent

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);
}
Also used : EndpointEvent(org.wso2.carbon.apimgt.core.models.events.EndpointEvent)

Example 3 with EndpointEvent

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);
}
Also used : EndpointEvent(org.wso2.carbon.apimgt.core.models.events.EndpointEvent)

Aggregations

EndpointEvent (org.wso2.carbon.apimgt.core.models.events.EndpointEvent)3