You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2022/07/22 08:11:40 UTC

[unomi] branch UNOMI-631-map-sources-to-scopes updated: UNOMI-631 Map sources to scopes - Remove remaining configuration in custom.system.properties - Remove Event scope accessors since they exist in parent object (item)

This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch UNOMI-631-map-sources-to-scopes
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/UNOMI-631-map-sources-to-scopes by this push:
     new 2fd0d19a8 UNOMI-631 Map sources to scopes - Remove remaining configuration in custom.system.properties - Remove Event scope accessors since they exist in parent object (item)
2fd0d19a8 is described below

commit 2fd0d19a822aae96863547166b3d7220921cf91f
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Fri Jul 22 10:11:33 2022 +0200

    UNOMI-631 Map sources to scopes
    - Remove remaining configuration in custom.system.properties
    - Remove Event scope accessors since they exist in parent object (item)
---
 api/src/main/java/org/apache/unomi/api/Event.java       | 11 -----------
 package/src/main/resources/etc/custom.system.properties |  5 -----
 2 files changed, 16 deletions(-)

diff --git a/api/src/main/java/org/apache/unomi/api/Event.java b/api/src/main/java/org/apache/unomi/api/Event.java
index 4ac9717cb..b8ce833c4 100644
--- a/api/src/main/java/org/apache/unomi/api/Event.java
+++ b/api/src/main/java/org/apache/unomi/api/Event.java
@@ -390,17 +390,6 @@ public class Event extends Item implements TimestampedItem {
         this.flattenedProperties = flattenedProperties;
     }
 
-    /**
-     * @return the scope
-     */
-    public String getScope() {
-        return scope;
-    }
-
-    public void setScope(String scope) {
-        this.scope = scope;
-    }
-
     /**
      * Retrieves the source.
      *
diff --git a/package/src/main/resources/etc/custom.system.properties b/package/src/main/resources/etc/custom.system.properties
index b073136fa..fe09b36b9 100644
--- a/package/src/main/resources/etc/custom.system.properties
+++ b/package/src/main/resources/etc/custom.system.properties
@@ -415,11 +415,6 @@ org.apache.unomi.weatherUpdate.apiKey=${env:UNOMI_WEATHERUPDATE_APIKEY:-YOUR_WEA
 org.apache.unomi.weatherUpdate.url.base=${env:UNOMI_WEATHERUPDATE_URL_BASE:-http://api.openweathermap.org}
 org.apache.unomi.weatherUpdate.url.attributes=${env:UNOMI_WEATHERUPDATE_URL_ATTRIBUTES:-data/2.5/weather}
 
-#######################################################################################################################
-## Settings for EventService                                                                                         ##
-#######################################################################################################################
-org.apache.unomi.events.shouldBeCheckedEventSourceId=${env:UNOMI_SHOULD_BE_CHECKED_EVENT_SOURCE_ID:-false}
-
 #######################################################################################################################
 ## Settings for GraphQL                                                                                              ##
 #######################################################################################################################