diff --git a/engine/src/main/java/it/unibo/arces/wot/sepa/engine/processing/subscriptions/Subscriptions.java b/engine/src/main/java/it/unibo/arces/wot/sepa/engine/processing/subscriptions/Subscriptions.java index d16f6645..ba376fa5 100644 --- a/engine/src/main/java/it/unibo/arces/wot/sepa/engine/processing/subscriptions/Subscriptions.java +++ b/engine/src/main/java/it/unibo/arces/wot/sepa/engine/processing/subscriptions/Subscriptions.java @@ -94,7 +94,11 @@ public synchronized static Collection filterOnGraphs(InternalUpdateRequest // All graphs: NO FILTER // TODO: default graph? - if (context.contains("*") || target.contains("*")) { + if (context.isEmpty() && target.isEmpty()) { + // DEFAULT GRAPHs + ret.add(requests.get(sub)); + } + else if (context.contains("*") || target.contains("*")) { ret.add(requests.get(sub)); } else for (String graph : target) { diff --git a/engine/src/main/resources/log4j2.xml b/engine/src/main/resources/log4j2.xml index 49b9d821..b5fb1780 100644 --- a/engine/src/main/resources/log4j2.xml +++ b/engine/src/main/resources/log4j2.xml @@ -3,13 +3,13 @@ - - + + - + - - + + @@ -23,7 +23,7 @@ - +