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
1

No grouping rules have been read Cygnus

asked 2016-05-03 12:47:16 +0200

macu39 gravatar image

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.

edit retag flag offensive close merge delete

Comments

1 answer

Sort by » oldest newest most voted
0

answered 2016-05-05 08:31:17 +0200

frb gravatar image

I think this is the same question than the following one in SOF: http://stackoverflow.com/questions/36...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-05-03 12:47:16 +0200

Seen: 3,405 times

Last updated: May 05 '16