Details
-
Type: extRequest
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Enabler:Cygnus
Description
Hello,
i have try to configure Fiware lab to work with cygnus. I have installed
ORION and CEP, and they are working well. My problem is to setup Cygnus GE
to works. My *cygnus_instance_1.conf *is like this:
CYGNUS_USER=cygnus
CONFIG_FOLDER=/usr/cygnus/conf
CONFIG_FILE=/usr/cygnus/conf/agent_1.conf
AGENT_NAME=cygnusagent
LOGFILE_NAME=cygnus.log
ADMIN_PORT=8081
POLLING_INTERVAL=30
My *agent_1.conf *is:
cygnusagent.sources = http-source
cygnusagent.sinks = test-sink
cygnusagent.channels = test-channel
cygnusagent.sources.http-source.channels = test-channel
cygnusagent.sources.http-source.type =
org.apache.flume.source.http.HTTPSource
cygnusagent.sources.http-source.port = 5050
cygnusagent.sources.http-source.handler =
com.telefonica.iot.cygnus.handlers.OrionRestHandler
cygnusagent.sources.http-source.handler.notification_target = /notify
cygnusagent.sources.http-source.handler.default_service = def_serv
cygnusagent.sources.http-source.handler.default_service_path = def_servpath
cygnusagent.sources.http-source.handler.events_ttl = 2
cygnusagent.sources.http-source.interceptors = ts de
cygnusagent.sources.http-source.interceptors.ts.type = timestamp
cygnusagent.sources.http-source.interceptors.de.type =
com.telefonica.iot.cygnus.interceptors.DestinationExtractor$Builder
cygnusagent.sources.http-source.interceptors.de.matching_table =
/Applications/apache-flume-1.4.0-bin/conf/matching_table.conf
cygnusagent.channels.test-channel.type = memory
cygnusagent.channels.test-channel.capacity = 1000
cygnusagent.channels.test-channel.transactionCapacity = 100
cygnusagent.sinks.test-sink.channel = test-channel
cygnusagent.sinks.test-sink.type =
com.telefonica.iot.cygnus.sinks.OrionTestSink
When send get requst like this:
*http://130.206.117.227:8081/v1/stats
<http://130.206.117.227:8081/v1/stats>*
i got this response:
{
"success": "true",
"stats": {
"sources": [
],
"channels": [
],
"sinks": []
}
}
I don't know why is << "sinks": [] >> is like that? I want to store data
in db like MongoDB or MySql, but my sinks is always empty.
Thank you very much,
and best regards!
Dusan
[Created via e-mail received from: =?UTF-8?B?RHXFoWFuIEJvZ2nEh2V2acSH?= <dusan.bogicevic@gmail.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions