-
Notifications
You must be signed in to change notification settings - Fork 29
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
MTM-61873 - release notes - alarm/count returns 0 when more than one type specified #2881
Open
mbrz-c8y
wants to merge
5
commits into
develop
Choose a base branch
from
MTM-61873/release-notes
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6442cce
MTM-61873 - release notes - alarm/count returns 0 when more than one …
mbrz-c8y 0093538
Update content/change-logs/platform-services/cumulocity-20-25-37-0_al…
BeateRixen dfcf50b
Update content/change-logs/platform-services/cumulocity-20-25-37-0_al…
BeateRixen 2012801
Update content/change-logs/platform-services/cumulocity-20-25-37-0_al…
BeateRixen 2cd1401
Update content/change-logs/platform-services/cumulocity-20-25-37-0_al…
mbrz-c8y 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
21 changes: 21 additions & 0 deletions
21
...atform-services/cumulocity-20-25-37-0_alarm-collection-count-single-type-fix.md
This file contains 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
date: | ||
title: Type parameter in Alarm API now accepts multiple values | ||
product_area: Platform services | ||
change_type: | ||
- value: change-VSkj2iV9m | ||
label: Fix | ||
component: | ||
- value: component-JlFdtOPva | ||
label: REST API | ||
build_artifact: | ||
- value: tc-QHwMfWtBk7 | ||
label: cumulocity | ||
ticket: MTM-61873 | ||
version: 20.25.37.0 | ||
--- | ||
Previously, when retrieving the [total number of alarms](https://cumulocity.com/api/core/#operation/getAlarmCollectionCountResource) | ||
the `type` parameter could only take a single value, despite the documentation stating otherwise. This issue has been fixed. | ||
The `type` parameter now accepts multiple, comma-separated values. | ||
|
||
`GET /alarm/alarms/count?type=c8y_UnavailabilityAlarm,c8y_TemperatureAlarm` |
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.
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.
version looks wrong shouldn't it be 2025.37.0 ?
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.
Most of the other release note entries add dot to version number, and that is also what we do internally in Jira.
2025.37.0
does look more correct but I didn't want to change the way we set the version here.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 unfortunately have some inconsistencies here among the different build artifacts. I don´t know who is responsible for "cumulocity" to clarify this? We do not yet have any entries with "2025", the last ones are 10.20.664.0 or similar, so with a dot.
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.
At least take care to use the correct version for CD. I can unify the spelling later on. Any idea, whom I could ask?
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.
Please note that you cannot simply backport this entry as the version number is different for 2024 and 2025.