Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14218

FIWARE.Request.Tech.Cygnus does not recognize my service-path.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Dismissed
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Enabler:
      Cygnus

      Description

      Good afternoon!

      I have moved my Fiware structure to the Amazon EC2 service, the
      configuration of my agent is as follows:

      cygnus-ngsi.sources = http-source
      cygnus-ngsi.sinks = mongo-sink
      cygnus-ngsi.channels = mongo-channel

      cygnus-ngsi.sources.http-source.channels = mongo-channel
      cygnus-ngsi.sources.http-source.type = org.apache.flume.source.http.HTTPSource
      cygnus-ngsi.sources.http-source.port = 5050
      cygnus-ngsi.sources.http-source.handler =
      com.telefonica.iot.cygnus.handlers.NGSIRestHandler
      cygnus-ngsi.sources.http-source.handler.notification_target = /notify
      cygnus-ngsi.sources.http-source.handler.default_service = default
      cygnus-ngsi.sources.http-source.handler.default_service_path = /sevilla
      cygnus-ngsi.sources.http-source.handler.events_ttl = 2
      cygnus-ngsi.sources.http-source.interceptors = ts
      cygnus-ngsi.sources.http-source.interceptors.ts.type = timestamp

      cygnus-ngsi.sinks.mongo-sink.type =
      com.telefonica.iot.cygnus.sinks.NGSIMongoSink
      cygnus-ngsi.sinks.mongo-sink.channel = mongo-channel
      cygnus-ngsi.sinks.mongo-sink.enable_encoding = true
      cygnus-ngsi.sinks.mongo-sink.enable_grouping = false
      cygnus-ngsi.sinks.mongo-sink.enable_name_mappings = false
      cygnus-ngsi.sinks.mongo-sink.enable_lowercase = false
      cygnus-ngsi.sinks.mongo-sink.data_model = dm-by-service-path
      cygnus-ngsi.sinks.mongo-sink.attr_persistence = column
      cygnus-ngsi.sinks.mongo-sink.mongo_hosts = **************
      cygnus-ngsi.sinks.mongo-sink.mongo_username = ********
      cygnus-ngsi.sinks.mongo-sink.mongo_password = ********
      cygnus-ngsi.sinks.mongo-sink.db_prefix = sth_
      cygnus-ngsi.sinks.mongo-sink.collection_prefix = sth_
      cygnus-ngsi.sinks.mongo-sink.batch_size = 1
      cygnus-ngsi.sinks.mongo-sink.batch_timeout = 120
      cygnus-ngsi.sinks.mongo-sink.batch_ttl = 10
      cygnus-ngsi.sinks.mongo-sink.data_expiration = 0
      cygnus-ngsi.sinks.mongo-sink.collections_size = 0
      cygnus-ngsi.sinks.mongo-sink.max_documents = 0
      cygnus-ngsi.sinks.mongo-sink.ignore_white_spaces = true

      cygnus-ngsi.channels.mongo-channel.type =
      com.telefonica.iot.cygnus.channels.CygnusMemoryChannel
      cygnus-ngsi.channels.mongo-channel.capacity = 15000
      cygnus-ngsi.channels.mongo-channel.transactionCapacity = 11000

      The problem is that when it send the data to MongoDB, they go to a service
      path created by default "/" instead of the one I have configured "/
      sevilla". I attach the response log:

      time=2018-05-29T10:41:27.075Z | lvl=INFO |
      corr=d6cb4c38-632c-11e8-9d59-0a182b1178e8 |
      trans=3216e997-68c2-4fad-873a-14fbb9cff117 | srv=default | subsrv=/ |
      comp=cygnus-ngsi | op=persistAggregation |
      msg=com.telefonica.iot.cygnus.sinks.NGSIMongoSink[361] : [mongo-sink]
      Persisting data at NGSIMongoSink

      . Database: sth_default, Collection: sth_x002f,

      What happens so that it does not recognize my service-path?

      Thank you for your response!

      Best regards!

      Francisco José Melgar Molina
      CTO Ciclogreen

      francisco.melgar@ciclogreen.com · www.ciclogreen.com

      41092 · Sevilla

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Fran Melgar <francisco.melgar@ciclogreen.com>]

        Activity

        Hide
        andres.munoza Andres Muñoz added a comment -

        Already answered, it is a duplicated ticket of HELP-14215

        Show
        andres.munoza Andres Muñoz added a comment - Already answered, it is a duplicated ticket of HELP-14215

          People

          • Assignee:
            andres.munoza Andres Muñoz
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: