Skip to content
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

Finishes PR #594 #763

Conversation

dcalvoalonso
Copy link
Contributor

This PR finishes some very minor comments of #594.

LGTM was obtained in #594 (comment).

The only pending aspect was to split NGSIv2 tests in a separate file to be consistent with the overall approach: #594 (comment)

Moreover, this PR is rebased and changes of the master branch are merged.

@fgalan
Copy link
Member

fgalan commented Mar 26, 2019

I provided LGTM on 6d554eb in the old PR (see #594 (comment)) so I'll do now a review just of the three extra commits.

Fix: add ?type parameter in CB request updates to avoid potential entity ambiguities (#733)
Fix: incomplete HTTPS support for NGSI subscriptions (#593)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original PR (#594) used "NGSIv1" instead of "NGSI". Does the change means that at the end this PR is covering subscriptions both in NGSIv1 and NGSIv2?

(Looking to parent issue #593 (comment) is seems that only NGSIv1 is covered, but maybe that comment is wrong)

Copy link
Contributor Author

@dcalvoalonso dcalvoalonso Mar 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you can see in the new test I added with this PR https://github.com/dcalvoalonso/iotagent-node-lib/blob/bug/uncomplete-https-support-subscriptions/test/unit/ngsiv2/general/https-support-test.js#L268. registrations are already implemented in NGSIv2.

Probably you have also noticed that this PR only adds some unit tests. The changes the original PR(#594) had for https://github.com/telefonicaid/iotagent-node-lib/blob/master/lib/services/ngsi/subscriptionService.js were integrated by @AlvaroVega in ca8f850 and covered also NGSIv2.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification!

NTC

Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

There is a small conflict in CHANGES_NEXT_RELEASE that needs to be fixed before merging. In the meanwhile, we can wait for some days before merging, just in case @chicco785 has some final feedback to provide, as author of the initial contribution.

@dcalvoalonso
Copy link
Contributor Author

Conflicts fixed with 8c0aabb

@fgalan
Copy link
Member

fgalan commented Apr 1, 2019

Some days after, I think is a good moment to merge.

@fgalan fgalan merged commit 3a2d503 into telefonicaid:master Apr 1, 2019
@fgalan fgalan mentioned this pull request Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants