-
Notifications
You must be signed in to change notification settings - Fork 91
allow use commands by simple subscriptions/notifications #1734
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
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
d7e5b36
add use cmd by subs
AlvaroVega 656e205
add subscriptionId
AlvaroVega f559088
fix subscription response handler
AlvaroVega 8866af5
notify all attributes
AlvaroVega e0ad376
add attrsFormat to subscribe
AlvaroVega ca671ca
update tests with attrsFormat when subscribe
AlvaroVega 28f2409
update test
AlvaroVega ad4d5c8
update tests
AlvaroVega 6156ab1
update test
AlvaroVega b99c53b
update tests
AlvaroVega ab0e614
replace useCmdBySubs by cmdMode
AlvaroVega 55087ea
fix typo
AlvaroVega 3e41e96
fix typo
AlvaroVega 929aef3
fix cmd mode
AlvaroVega c98e0c6
Update doc
AlvaroVega d793429
add simply test
AlvaroVega 93c8902
add config doc
AlvaroVega 68b4bf3
fix group model
AlvaroVega d2df9b6
update CNR
AlvaroVega f295e21
FIX improved docuemntation regarding commands
fgalan 0fc09e5
recover /notify suffix for providerUrl of notification
AlvaroVega 36ec053
simplify test
AlvaroVega 5160925
Apply suggestions from code review
fgalan 126cb64
Merge pull request #1735 from telefonicaid/improve-commands-doc
AlvaroVega 6f4c667
Update doc/admin.md
fgalan 0595e38
Update doc/admin.md
fgalan f366858
Update CHANGES_NEXT_RELEASE
fgalan 7e4cf16
Update doc/admin.md
fgalan 901c51b
Update doc/admin.md
fgalan e5010c3
Update CHANGES_NEXT_RELEASE
fgalan 461f040
Update CHANGES_NEXT_RELEASE
fgalan b557049
Apply suggestions from code review
fgalan 08dfb28
Update subscription-NGSI-v2.js
AlvaroVega b1dff66
Update simpleSubscriptionRequest2.json
AlvaroVega 3fa7da7
Update simpleSubscriptionRequest.json
AlvaroVega a70c28e
Update subscribeIoTAgentCommands.json
AlvaroVega 1c08fe6
update unsubscribe
AlvaroVega 7aaf3ee
use cmdMode from group in test
AlvaroVega 19c339d
check global config
AlvaroVega 2f7386f
update config
AlvaroVega 1127b8b
update test
AlvaroVega 1ea3e55
create initial entity when commands by subs
AlvaroVega 80542dd
update tests with initial entity when commands by subs
AlvaroVega ceecf81
update log
AlvaroVega 871875e
check subscriptions before use it
AlvaroVega 1ea2bb0
fix template validation
AlvaroVega 9201aa5
update tests with update command device
AlvaroVega e2ec47c
update CNR
AlvaroVega d028469
use newDevice when creates initialEntity by commands·
AlvaroVega b1ba69e
update log
AlvaroVega 3da4080
add more logs
AlvaroVega 3349467
check newDevice instead of deviceData
AlvaroVega 78de1f7
remove status and info of create initial reference with commands
AlvaroVega f35a679
add logs about diff
AlvaroVega 5e6218b
fix log
AlvaroVega dd03086
fix concat for commands
AlvaroVega ac6fa1e
fix old code
AlvaroVega 04824d4
Update CHANGES_NEXT_RELEASE
fgalan ad5303f
FIX doc about entity creation when cmdMode is notification
fgalan 4bdaa2a
Update documentation on entity creation and commands
fgalan 05c18f6
check if device has commands
AlvaroVega cbd4952
Update lib/services/devices/devices-NGSI-v2.js
AlvaroVega d7a95ff
simplify block
AlvaroVega d5a4b88
Apply suggestion from @fgalan
AlvaroVega 667eeaf
Apply suggestions from code review
fgalan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| - Fix: update device with useCBflowControl | ||
| - Add: command modes (new field cmdMode): legacy, notification and advancedNotification (#1732) | ||
| - Set Nodejs 20 as minimum version in packages.json (effectively removing Nodev16 and Nodev18 from supported versions) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.