mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
few fixes after testing
This commit is contained in:
parent
a6e2b235c9
commit
b336c05625
@ -47,10 +47,6 @@
|
||||
<artifactId>org.wso2.carbon.event.output.adapter.extensions.ui</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents.wso2</groupId>
|
||||
<artifactId>httpcore</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.ws.rs</groupId>
|
||||
<artifactId>javax.ws.rs-api</artifactId>
|
||||
|
||||
@ -343,11 +343,12 @@ public class UIEventAdapter implements OutputEventAdapter {
|
||||
// get all subscribed web-socket sessions.
|
||||
CopyOnWriteArrayList<CEPWebSocketSession> cepWebSocketSessions =
|
||||
uiOutputCallbackControllerServiceImpl.getSessions(tenantId, streamId);
|
||||
|
||||
for (CEPWebSocketSession cepWebSocketSession : cepWebSocketSessions) {
|
||||
boolean isValidSession = validateEventAgainstSessionFilters(event, cepWebSocketSession);
|
||||
if (isValidSession) {
|
||||
validSessions.add(cepWebSocketSession);
|
||||
if (cepWebSocketSessions != null) {
|
||||
for (CEPWebSocketSession cepWebSocketSession : cepWebSocketSessions) {
|
||||
boolean isValidSession = validateEventAgainstSessionFilters(event, cepWebSocketSession);
|
||||
if (isValidSession) {
|
||||
validSessions.add(cepWebSocketSession);
|
||||
}
|
||||
}
|
||||
}
|
||||
return validSessions;
|
||||
|
||||
@ -693,7 +693,7 @@
|
||||
org.wso2.carbon.analytics-common:org.wso2.carbon.event.publisher.feature:${carbon.analytics.common.version}
|
||||
</featureArtifactDef>
|
||||
<featureArtifactDef>
|
||||
org.wso2.carbon.event-processing:org.wso2.carbon.event.processor.server.feature:${carbon.event-processing.version}
|
||||
org.wso2.carbon.event-processing:org.wso2.carbon.event.processor.feature:${carbon.event-processing.version}
|
||||
</featureArtifactDef>
|
||||
<featureArtifactDef>
|
||||
org.wso2.carbon.analytics-common:org.wso2.carbon.event.tracer.feature:${carbon.analytics.common.version}
|
||||
@ -1499,7 +1499,7 @@
|
||||
<version>${carbon.analytics.common.version}</version>
|
||||
</feature>
|
||||
<feature>
|
||||
<id>org.wso2.carbon.event.processor.server.feature.group</id>
|
||||
<id>org.wso2.carbon.event.processor.feature.group</id>
|
||||
<version>${carbon.event-processing.version}</version>
|
||||
</feature>
|
||||
<feature>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user