Search in sources :

Example 1 with GetOriginsInventorySnapshot

use of com.hotels.styx.client.origincommands.GetOriginsInventorySnapshot in project styx by ExpediaGroup.

the class DashboardDataSupplier method onChange.

@Override
public void onChange(Registry.Changes<BackendService> changes) {
    LOG.info("received new services changes set {}", changes);
    data = updateDashboardData(backendServicesRegistry);
    environment.eventBus().post(new GetOriginsInventorySnapshot());
}
Also used : GetOriginsInventorySnapshot(com.hotels.styx.client.origincommands.GetOriginsInventorySnapshot)

Aggregations

GetOriginsInventorySnapshot (com.hotels.styx.client.origincommands.GetOriginsInventorySnapshot)1