fiware-cygnus | persisting context data sources | Database library

 by   telefonicaid Java Version: 3.1.0 License: AGPL-3.0

kandi X-RAY | fiware-cygnus Summary

kandi X-RAY | fiware-cygnus Summary

fiware-cygnus is a Java library typically used in Database applications. fiware-cygnus has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has high support. However fiware-cygnus build file is not available. You can download it from GitHub.

A connector in charge of persisting context data sources into other third-party databases and storage systems, creating a historical view of the context
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fiware-cygnus has a highly active ecosystem.
              It has 58 star(s) with 99 fork(s). There are 23 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 175 open issues and 729 have been closed. On average issues are closed in 219 days. There are 9 open pull requests and 0 closed requests.
              It has a positive sentiment in the developer community.
              The latest version of fiware-cygnus is 3.1.0

            kandi-Quality Quality

              fiware-cygnus has 0 bugs and 0 code smells.

            kandi-Security Security

              fiware-cygnus has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fiware-cygnus code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              fiware-cygnus is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              fiware-cygnus releases are available to install and integrate.
              fiware-cygnus has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              fiware-cygnus saves you 24988 person hours of effort in developing the same functionality from scratch.
              It has 48711 lines of code, 2484 functions and 220 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed fiware-cygnus and discovered the below as its top functions. This is intended to give you an instant insight into fiware-cygnus implemented functionality, and help decide if they suit your requirements.
            • Get the events for the given request .
            • This method maps an entity to a new one .
            • Entry point .
            • Reads a batch of events and returns them .
            • Handle request .
            • Persists a new distance event .
            • Deletes loggers .
            • Request HTTP response .
            • Creates JSON response from http response .
            • Configure the sink .
            Get all kandi verified functions for this library.

            fiware-cygnus Key Features

            No Key Features are available at this moment for fiware-cygnus.

            fiware-cygnus Examples and Code Snippets

            No Code Snippets are available at this moment for fiware-cygnus.

            Community Discussions

            QUESTION

            Cygnus-ngsi installed with Docker-compose does not save data in MongoDB
            Asked 2020-May-13 at 12:12

            I have Orion, MongoDB and Cygnus-ngsi installed with docker-compose on an Ubuntu 18.04 machine. The images I used were: fiware/orion:latest, fiware/cygnus-ngsi:latest and mongo:3.6.

            They were installed with the command: docker-compose -f reflexwaterDocker.yaml up

            I had no installation problems. All containers are UP. Orion saving to MongoDB. The Cygnus API working.

            I created a subscription to an Orion entity, all ok. But when I update the entity, the orion performs on the mongo, but Cygnus does not persist the historical data.

            The agent.conf file in opt/apache-flume/conf is configured correctly. I am using the default setup for the docker-compose installation.

            I followed the process described in: https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/installation_and_administration_guide/install_with_docker.md

            All ports are correct and have been tested.

            I've used Cygnus with Orion and MongoDB manually installing, and I had no problem. But also, there I set up an agent_conf and a cygnus_instance.conf. Using the docker, following the step by step in the documentation it is not necessary to configure cygnus_instance.conf. It doesn't even exist inside the opt/apache-flume/conf folder.

            Does anyone have any idea what might be happening to Cygnus not persisting the data? Or have you been through this and managed to solve it?

            My docker-compose looks like this for Cygnus-ngsi:

            ...

            ANSWER

            Answered 2020-May-13 at 12:12

            Taking into account this

            I've used Cygnus with Orion and MongoDB manually installing, and I had no problem

            I'd say that the problem is somehow related to the docker deployment. Moreover, looking to the trace:

            Exception authenticating MongoCredential

            maybe the CYGNUS_MONGO_USER="" and CYGNUS_MONGO_PASS="" env vars are not correctly processed (by entrypoint.sh or similar script, I guess) and this is causing the problem.

            In order to debug this, I'd suggest you to compare the Cygnus agents.conf/cygnus_instance.conf files in working case (manually installing) and in the failing case (docker). Maybe the differences could provide some insight on the problem. In the case of docker, maybe the files aren't at opt/apache-flume/conf but they should be in someplace (either internally in the container or mounted as volume in the hosting system).

            Another related question: the Cygnus version you make to work manually is exactly the same you one in the docker case? Try to ensure you are using exactly the same software.

            Source https://stackoverflow.com/questions/61553579

            QUESTION

            docker: get container's external IP
            Asked 2020-Jan-28 at 16:30

            Running several docker containers including postgres database remotely.

            ...

            ANSWER

            Answered 2019-Jul-01 at 17:17

            Assuming that you have exposed the ports of your container to the underlying host, then the application is accessible via the IP address of the underlying host.

            The 172.19.0.3 IP address is an IP address that exists inside the Docker network on the host: it's not available externally. If your remote host has IP 1.2.3.4 and your application port has been exposed, e.g. in your compose file you have something like:

            Source https://stackoverflow.com/questions/56839190

            QUESTION

            Grafana: Adding Plotly plugin via docker-compose
            Asked 2019-Jun-18 at 17:31

            Working with grafana using docker-compose. I want to add the Plotly plugin so I add to my grafana container service defition, thus:

            ...

            ANSWER

            Answered 2019-Jun-18 at 17:31

            According to the docs, your environment should look like this:

            Source https://stackoverflow.com/questions/56651482

            QUESTION

            Sending MQTT messages to Orion Context broker
            Asked 2019-Apr-16 at 16:02

            I have a relatively simple switch that sends data whenever the button is pressed (either 1 or 0). The message protocol it uses is MQTT. It is connected to Mosquitto via Wi-Fi and successfully sends data to it (i am able to see it using mosquitto_sub -v -t "#". However, I would like to be able to send this data to Orion Context Broker and then receive it using REST commands and store it using Fiware-Cygnus afterwards.

            the topic that sensor publishes messages to is tt/sergo/demo/sw

            the name of the sensor presented in mosquitto_sub when sensor is first connected: DMS-A01

            the IP - address of sensor: 192.168.0.108

            I have installed Iot-Agent UL, which is working, but I don't know how to make it listen to the specific sensor that sends data to Mosquitto. I read the manuals but either missed something or did not find the solution to my problem. I tried using the manual below, but could not apply it to my problem.

            Connecting "thing" to Fiware

            Thank you in advance, stack overflow community.

            ...

            ANSWER

            Answered 2018-Jun-20 at 09:19

            Before sending measures you need to do a provision operation for the device using the IOTA-UL API. That provision operation "creates" the device in the IOTA-UL and map it with the corresponding entity at CB. Then, you can start sending measures using MQTT.

            You can have a look to this piece of documentation for more detail.

            Source https://stackoverflow.com/questions/50944501

            QUESTION

            Socket error while connecting to hive through: hiveserver2-client.py
            Asked 2019-Jan-30 at 16:23

            Has anyone experienced this error before when trying to connect to hive.

            Sample code used (https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-ngsi/resources/hiveclients/python/hiveserver2-client.py):

            ...

            ANSWER

            Answered 2017-Mar-01 at 08:52

            can you post your piece of code ? This looks like some auth mechanism or credentials sent are not Valid.

            authMechanism= can be "PLAIN" or "KERBEROS" as per your setup .

            Source https://stackoverflow.com/questions/42523494

            QUESTION

            Fiware cygnus docker installation
            Asked 2018-Sep-20 at 11:21

            I have questions regarding docker installation of fiware-cygnus:

            What docker image should I use, I found at least 3 of them(not sure if this affect installation) I have agent.conf on my host, and I was not able to map it to the container. So it could be me but is this location where I should map agent.conf? I had no problems to map my own grouping_rules.conf but agent.conf I was not able to do it, I run docker images/containers many times never had an issue like this.

            ...

            ANSWER

            Answered 2018-Sep-20 at 11:21

            Not fully sure, but of the 3 I think the one you need to work with Orion Context Broker (i.e. subscribing to Orion so it sends notifications to Cygnus) is cygnus-ngsi.

            With regards to configuration, I think that the approach is not editing .conf files inside the docker container on execution. You should inject configuration as environment variables. The ENV marks in the Dockerfile mean configurabe parameters.

            I guess that both docker run and docker-compose should allow to set environment variables to the container, but that's a docker generic question not directly related with this question. There should be a lot of literature out there about this :)

            Source https://stackoverflow.com/questions/52420611

            QUESTION

            How to interpret Fiware CYGNUS stats service output?
            Asked 2018-May-21 at 10:49

            Starting from my own installation of the following Fiware components: Orion Context Broker, CYGNUS NGSI, Fiware STH and MongoDB, after a while I got the following result consuming a stats service which I found inside CYGNUS management API.

            Service: GET http://:/v1/stats

            Result:

            ...

            ANSWER

            Answered 2018-May-21 at 10:49

            You don't have to be worried about the num_takes_failed if you see that the number of processed_events is the same than the number of persisted_events. The numb_takes_filed is the result of the subtraction between the values of the flume methods EventTakeAttemptCount and EventTakeSuccessCount where the EventTakeAttemptCount is the total number of times the sink(s) attempted to read the events from the channel. This doesn't mean that the events were returned each time since sinks might poll and the channel might not have any data, On the other hand,EventTakesuccessCount is the total number of events that were successfully taken by the sink(s).

            Moreover, if you want to know more about how the events are processed by the channels and sinks, you can run Cygnus on debug mode and see the log output for ensuring that every event is processed and persisted in the correct way

            Source https://stackoverflow.com/questions/50274937

            QUESTION

            Cygnus not correctly starting
            Asked 2018-May-01 at 07:43

            Hello I followed the quickstart guide for cygnus(http://fiware-cygnus.readthedocs.io/en/1.2.2/cygnus-ngsi/quick_start_guide/) but I can't get it to work correctly. After starting the service as the guide says I get following error:

            ...

            ANSWER

            Answered 2018-May-01 at 07:43

            The page you used to install cygnus belongs to an older version of Cygnus. Please, visit the latest version here: http://fiware-cygnus.readthedocs.io/en/latest/cygnus-ngsi/quick_start_guide/

            The caveat here is that yum install cygnus will install a quite old version of cygnus. You should install yum install cygnus-ngsi instead which is a newer version.

            However, I like better to follow the github page: https://github.com/telefonicaid/fiware-cygnus/tree/master/cygnus-ngsi and installing cygnus-ngsi and creating the configuration files /usr/cygnus/conf/agent_1.conf and /usr/cygnus/conf/cygnus_instance_1.conf as shown in github. Cygnus can then be started a service.

            The notification.sh script in http://fiware-cygnus.readthedocs.io/en/latest/cygnus-ngsi/quick_start_guide/ is usefull and you can use it once cygnus is running.

            Source https://stackoverflow.com/questions/49050966

            QUESTION

            Really dont know who start
            Asked 2017-Dec-20 at 11:49

            I install Cygnus from RPM repository like this and now i dont know how continue.

            I try continue whit this section and i got the following error:

            ...

            ANSWER

            Answered 2017-Dec-20 at 11:49

            You need java, maven and Flume correctly installed before starting.

            export APACHE_FLUME_HOME_BIN=/usr/local/flume to your shell

            I recommend following the install from source, which guide you through all the steps.

            For docker start with the cygnus-common Dockerfile which uses centos6 as base.

            Source https://stackoverflow.com/questions/47905037

            QUESTION

            FiwareLab Cygnus always get error to install
            Asked 2017-Nov-15 at 09:40

            According to this manual, I've try to install Cygnus on my Centos instance of FiwareLab but always I get the following error "Permission denied".

            I have used the default user "centos" but I don't get any result. Anyone can help me? Thanks a lot!!

            Here's a supplementary screen shot:

            ...

            ANSWER

            Answered 2017-Nov-14 at 14:08

            The error you were facing was because the user has no permission to perform that operation on the specified directory.

            The solution, in this case, is use sudo:

            Source https://stackoverflow.com/questions/47262945

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fiware-cygnus

            Fiware/Cygnus has four sub-modules cygnus-common, cygnus-ngsi and cygnus-twitter, cygnus-ngsi-ld. Information about how to install these modules can be found at the corresponding section of Installation.
            cygnus-common: Install from sources Install with docker Install with rpm
            cygnus-ngsi: Install from sources Install with docker Install with rpm
            cygnus-twitter: Install from sources Install with docker
            cygnus-ngsi-ld: Install from sources Install with docker

            Support

            The per agent Quick Start Guide found at readthedocs.org provides a good documentation summary (cygnus-ngsi, cygnus-twitter). Nevertheless, both the Installation and Administration Guide and the User and Programmer Guide for each agent also found at readthedocs.org cover more advanced topics. The per agent Flume Extensions Catalogue completes the available documentation for Cygnus (cygnus-ngsi, cygnus-twitter).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/telefonicaid/fiware-cygnus.git

          • CLI

            gh repo clone telefonicaid/fiware-cygnus

          • sshUrl

            git@github.com:telefonicaid/fiware-cygnus.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Database Libraries

            redis

            by redis

            tidb

            by pingcap

            rethinkdb

            by rethinkdb

            cockroach

            by cockroachdb

            ClickHouse

            by ClickHouse

            Try Top Libraries by telefonicaid

            fiware-orion

            by telefonicaidC++

            lwm2m-node-lib

            by telefonicaidJavaScript

            di-py

            by telefonicaidPython

            iotagent-node-lib

            by telefonicaidJavaScript

            iotagent-json

            by telefonicaidJavaScript