@Test public void testOnPortPairCreated() { final PortPairId portPairId = PortPairId.of("78888888-fc23-aeb6-f44b-56dc5e2fb3ae"); final TenantId tenantId = TenantId.tenantId("1"); final String name = "PortPair"; final String description = "PortPair"; final String ingress = "d3333333-24fc-4fae-af4b-321c5e2eb3d1"; final String egress = "a4444444-4a56-2a6e-cd3a-9dee4e2ec345"; DefaultPortPair.Builder portPairBuilder = new DefaultPortPair.Builder(); PortPair portPair = null; SfcService sfcService = new SfcManager(); portPair = portPairBuilder.setId(portPairId).setTenantId(tenantId).setName(name).setDescription(description) .setIngress(ingress).setEgress(egress).build(); sfcService.onPortPairCreated(portPair); }
@Override public void onPortPairCreated(PortPair portPair) { log.debug("onPortPairCreated"); }
SfcManager implements SfcService { @Override public void onPortPairCreated(PortPair portPair) { log.debug("onPortPairCreated"); } }
SfcManager implements SfcService { @Override public void onPortPairCreated(PortPair portPair) { log.debug("onPortPairCreated"); }  }
SfcManager implements SfcService { @Override public void onPortPairCreated(PortPair portPair) { log.debug("onPortPairCreated"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void onPortPairCreated(PortPair portPair); @Override void onPortPairDeleted(PortPair portPair); @Override void onPortPairGroupCreated(PortPairGroup portPairGroup); @Override void onPortPairGroupDeleted(PortPairGroup portPairGroup); @Override void onFlowClassifierCreated(FlowClassifier flowClassifier); @Override void onFlowClassifierDeleted(FlowClassifier flowClassifier); @Override void onPortChainCreated(PortChain portChain); @Override void onPortChainDeleted(PortChain portChain); }
SfcManager implements SfcService { @Override public void onPortPairCreated(PortPair portPair) { log.debug("onPortPairCreated"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void onPortPairCreated(PortPair portPair); @Override void onPortPairDeleted(PortPair portPair); @Override void onPortPairGroupCreated(PortPairGroup portPairGroup); @Override void onPortPairGroupDeleted(PortPairGroup portPairGroup); @Override void onFlowClassifierCreated(FlowClassifier flowClassifier); @Override void onFlowClassifierDeleted(FlowClassifier flowClassifier); @Override void onPortChainCreated(PortChain portChain); @Override void onPortChainDeleted(PortChain portChain);  }