-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cygnus-ngsi-ld] New cygnus agent for NGSLD support #1885
Conversation
…tore ngsi-ld notification in Postgresql, including documetation and Docker files
Feedback provided in the old PR (to be checked in this one in the review process)
|
doc/cygnus-ngsi-ld/user_and_programmer_guide/adding_new_sink.md
Outdated
Show resolved
Hide resolved
cygnus-ngsi-ld/src/main/java/com/telefonica/iot/cygnus/utils/NGSIUtils.java
Outdated
Show resolved
Hide resolved
cygnus-ngsi-ld/src/test/java/com/telefonica/iot/cygnus/sinks/NGSIPostgreSQLSinkTest.java
Outdated
Show resolved
Hide resolved
doc/cygnus-ngsi-ld/flume_extensions_catalogue/ngsi_rest_handler.md
Outdated
Show resolved
Hide resolved
cygnus-ngsi-ld/src/main/java/com/telefonica/iot/cygnus/sinks/NGSILDSink.java
Outdated
Show resolved
Hide resolved
…GSIUtils.java Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
…GSILDSink.java Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
It seems there is a small conflict in CHANGES_NEXT_RELEASE file. Please, fix it. |
Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
…r.md Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
CHANGES_NEXT_RELEASE
Outdated
@@ -2,4 +2,6 @@ | |||
[cygnus-ngsi][CKANSink] New datamodel for CKAN (dm-by-entity-id) implementing mapping: subservice -> org, entityId -> dataset, entityId -> resource (#1792) | |||
[cygnus-ngsi][PostgisSQLSink, PostgreSQLSink] Add dm-by-entity-database and dm-by-entity-database-schema. | |||
[cygnus-ngsi][Generic Aggregation] If name mappings is enabled, then the aggregation will take all attributes from the mapped element on the event. | |||
[cygnus-common][pom.xml] Update Hive-jdbc dependency from version 2.3.4 to version 3.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking this with @IvanHdzC and @AlvaroVega , we wonder why this upgrade is needed. I mean, it is just a routinary package version upgrade? Or is there any hive-jdbc functionality/fix need by cygnus-ngsi-ld that exists in 3.1.2 but not in 2.3.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, any update on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are still waiting for the answers to these questions:
- Is it just a routinary package version upgrade?
- Or is there any hive-jdbc functionality/fix need by cygnus-ngsi-ld that exists in 3.1.2 but not in 2.3.4?
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(In addition, an upgrade to CHANGES_NEXT_RELEASE in master due to recent 2.2.0 release yesterday has caused a minor conflict in this PR. Could you solve it so the PR gets mergeable again, please? Thanks!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 917bf6a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the pending questions @anmunoz ? Any update on them, pls? Thx!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, is just a routinary update, when we compile cygnus from sources we get an error about this dependency and the code for hive Sink, that is the reason why we decided to update it. Cygnus-ngsi-ld currently don't work with hive so that is not a necessary dependency for this development.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the answer!
Taking into account that change is not related to the purpose of the PR itself (cygnus-ngsi-ld) and that we (@AlvaroVega @IvanHdzC @fgalan ) have some doubts about compatibility (we haven't been able to trace the 2.3.4 to 3.1.2 changelog in that dependency) please move that change in pom.xml (and associated CHANGES_NEXT_RELEASE entry) to a separate PR so we can continue on it and this PR (the one in cygnus-ld) can be merged now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Waiting to travis to pass on the final commit (that's weird... travis should start automatically if the PR doesn't have any conflict, which is the case). |
Finally, travis ran (I manually triggered it). Looking to its results (on commit 6a012af ) I see
which is the same number we have now in master branch (on commit 9c2b3a2). So I guess that the tests included in this PR for cygnus-ngsi-ld are not being passed by travis. I think it's a matter of modifying |
Yes, of course, I added that in a9516ed |
Thanks! However, it seems that after that modification, tests have broken. Travis report:
Could you have a look, please? |
@anmunoz any update on this, please? Thx! |
Sorry for the delay, we removed the ArcGIS dependencies because we prioritize the development of other sinks first e6493ce |
LGTM to added commits fromm last LGTM (6a012af...6a91d97) |
This PR is related to issue #1875. From UPM we have been working with FIWARE Foundation for trying to define the first development for providing NGSI-LD support to Cygnus. This pull request incorporates this new cygnus agent called cygnus-ngsi-ld. We have been working in the source part for allowing to build NGSI-LD objects for NGSI-LD notifications, using a Modified versión of NGSIRest Handler, and the first sink provided for this implementation is the NGSILDPostgresqlSink.This PR replaces the PR #1879 to amend the packaging and provide a new bundle