We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

macu39's profile - activity

2016-05-12 09:56:10 +0200 received badge  Popular Question (source)
2016-05-12 09:56:10 +0200 received badge  Notable Question (source)
2016-05-05 08:31:23 +0200 received badge  Student (source)
2016-05-04 17:55:44 +0200 commented question No grouping rules have been read Cygnus
2016-05-03 12:48:15 +0200 asked a question No grouping rules have been read Cygnus

Cygnus don't want to load my grouping config file. It shows this error:

time=2016-05-03T05:32:29.658CDT | lvl=INFO | trans= | srv= | subsrv= | function=<init> | comp=Cygnus | msg=com.telefonica.iot.cygnus.interceptors.GroupingRules[58] : No grouping rules have been read
Exception in thread "Thread-1" java.lang.NullPointerException
    at java.io.File.<init>(File.java:277)
    at com.telefonica.iot.cygnus.interceptors.GroupingInterceptor$ConfigurationReader.run(GroupingInterceptor.java:244)

In my agent config file I have:

cygnusagent.sources.http-source.interceptors.gi.gropuing_rules_conf_file = /usr/cygnus/conf/grouping_rules.conf

And in grouping_rules.conf:

{
    "grouping_rules": [
        {
            "id": 1,
            "fields": [
                "entityId"
            ],
            "regex": "room.*",
            "destination": "Rooms",
            "fiware_service_path": "myhouse"
        }
    ]
}

Thanks for the help.