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.
Solved here http://stackoverflow.com/questions/36914589/how-to-combine-multiple-orion-entities-to-one-ckan-dataset-using-cygnus/37003783?noredirect=1#comment61580505_37003783