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

Task/plugins refactor: alias, expressions, multientity and timestamp plugins #1314

Merged
merged 55 commits into from
Mar 21, 2023

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Feb 24, 2023

Issue #1195

This PR is about alias, expressions, multientity, timestamp plugins. This new implementation allow remove alias, expressions, multientity, timestamp plugins middelwares.
This PR still does not remove old stuff about plugins due ngsi-ld implementation and tests.

Test that were modified:

JSON reordered (but equivalent):
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityPlugin5.json
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityPlugin8.json
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityTimestampPlugin1.json
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityTimestampPlugin2.json

POST [batch 1 entity] -> PATCH [1 entity]
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityTimestampPlugin4.json

REMOVE ATT METADATA timestamp: timestamp is provided ad measure and other tests does not include it
test/unit/ngsiv2/examples/contextRequests/updateContextProcessTimestamp.json

REMOVE empty new multi entities (according with test not all entities are expected!)
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityPlugin6.json
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityPlugin7.json

ADD empty base entity
test/unit/ngsiv2/examples/contextRequests/updateContextMultientityPlugin11.json

The following plugin tests where modified:

This PR also fixes bug telefonicaid/iotagent-json#697 and #1291

Pending tasks (for further PRs?)

  • Removed unnecessary stuff from plugins (depends on ngsi-ld updates)
  • Updated doc (depends on previous task)

CHANGES_NEXT_RELEASE Outdated Show resolved Hide resolved
AlvaroVega and others added 2 commits March 7, 2023 09:43
Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
@mapedraza
Copy link
Collaborator

mapedraza commented Mar 21, 2023

@jason-fox This PR is going to be merged soon. A twin PR modifying NGSI-LD equivalent files should be merged before deleting old files and leftovers in #1321, otherwise, NGSI-LD functionality will be broken after merging #1321

Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
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

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.

None yet

4 participants