Search in sources :

Example 6 with ContainerSpecData

use of org.kie.workbench.common.screens.server.management.model.ContainerSpecData in project kie-wb-common by kiegroup.

the class StandaloneNotificationService method onContainerSpecUpdated.

@Override
public void onContainerSpecUpdated(final ContainerSpecUpdated containerSpecUpdated) {
    final ContainerSpecData containerSpecData = new ContainerSpecData(containerSpecUpdated.getContainerSpec(), containerSpecUpdated.getContainers());
    containerSpecDataEvent.fire(containerSpecData);
}
Also used : ContainerSpecData(org.kie.workbench.common.screens.server.management.model.ContainerSpecData)

Aggregations

ContainerSpecData (org.kie.workbench.common.screens.server.management.model.ContainerSpecData)6 Container (org.kie.server.controller.api.model.runtime.Container)3 ContainerSpec (org.kie.server.controller.api.model.spec.ContainerSpec)3 ServerTemplateKey (org.kie.server.controller.api.model.spec.ServerTemplateKey)3 Test (org.junit.Test)2 ReleaseId (org.kie.server.api.model.ReleaseId)2 ServerTemplate (org.kie.server.controller.api.model.spec.ServerTemplate)2 RuntimeManagementService (org.kie.workbench.common.screens.server.management.service.RuntimeManagementService)2 Arrays (java.util.Arrays)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 HashMap (java.util.HashMap)1 List (java.util.List)1 Collectors (java.util.stream.Collectors)1 ApplicationScoped (javax.enterprise.context.ApplicationScoped)1 Any (javax.enterprise.inject.Any)1 Inject (javax.inject.Inject)1 CoreMatchers.containsString (org.hamcrest.CoreMatchers.containsString)1 Service (org.jboss.errai.bus.server.annotations.Service)1 Before (org.junit.Before)1