-
Notifications
You must be signed in to change notification settings - Fork 88
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
[Do not merge] New config groups API endpoint #1637
Conversation
…t.js Co-authored-by: mapedraza <[email protected]>
Line 62 removed and rebased
Added feature config groups
Commit aa64573 solves pending point 2:
Tests use a constants strings ( |
Commit 0b38688 solves pending point 1):
|
package-lock.json
Outdated
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.
This file should not be part of repository.
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.
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.
Bidirectional feature was not removed on previous PRs ?
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.
Added this PR with more leftovers: #1644
Once it gets merged, this PR should be sync
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 in: 611b45f
CHANGES_NEXT_RELEASE
Outdated
@@ -3,4 +3,5 @@ | |||
- Fix: service header to use uppercase in case of update and delete (#1528) | |||
- Fix: Allow to send to CB batch update for multimeasures for NGSI-LD (#1623) | |||
- Add: new JEXL transformations for including into an array keys that have a certain value: valuePicker and valuePickerMulti | |||
- Add /iot/configGroups API endpoints (as equivalent to /iot/services) (#752) |
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.
- Add /iot/configGroups API endpoints (as equivalent to /iot/services) (#752) | |
- Add /iot/configGroups API endpoints (as equivalent to /iot/services) (#752) | |
- Deprecated: /iot/services API routes |
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.
Added here:e1f4e47
This commit also includes an entry in deprecated.md file
doc/api.md
Outdated
@@ -1847,11 +1850,11 @@ _**Response headers**_ | |||
|
|||
Successful operations return `Content-Type` header with `application/json` value. | |||
|
|||
#### Modify config group `PUT /iot/services` | |||
#### Modify config group `PUT /iot/configGroups` or `PUT /iot/services` |
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.
I'd suggest to remove references to /iot/services
in any file, as it is deprecated feature and, as stated in doc
Documentation on deprecated features is removed from the repository documentation. Documentation is still available in the documentation set associated to older versions (in the repository release branches).
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.
Pending to choose the final term for configGroups
doc/deprecated.md
Outdated
- Services API routes (`/iot/services`) in favor of the `/iot/configGroups`. Both are still supported, but the former | ||
is deprecated. |
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.
- Services API routes (`/iot/services`) in favor of the `/iot/configGroups`. Both are still supported, but the former | |
is deprecated. | |
- Services API routes (`/iot/services`) in favor of the `/iot/configGroups`. |
Looking the above elements, it is assumed that every deprecated feature is still supported, except the ones with the "(finally removed in x)" part.
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
}) | ||
], | ||
callback | ||
); |
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.
try to avoid "Linter changes" not corresponding to current PR.
After @mrutid @mapedraza @fgalan discussion today, this PR is going to be re-worked. |
overpassed by #1648 |
Issue #752
Overpasses #1375
Kudos to: @KeshavSoni2511
Pending:
Check before merging: