We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
POST http://localhost:59860/api/v3/subscription [ { "subscription":{ "name":"Subscription-1730440698634", "description":"Test data for subscription", "channels":[ { "host":"localhost", "port":7770, "httpMethod":"POST", "type":"REST" } ], "categories":[ "health-check" ], "labels":[ "simple" ], "receiver":"tafuser", "resendLimit":1, "resendInterval":"24h", "AdminState":"UNLOCKED" }, "apiVersion":"v3" } ]
POST http://localhost:59860/api/v3/notification [ { "notification":{ "description":"Test notification data 1730440698644", "labels":[ "simple" ], "contentType":"string", "content":"This is a test notification", "sender":"taf-admin", "severity":"MINOR", "status":"NEW" }, "apiVersion":"v3" }, { "notification":{ "description":"Test notification data 1730440698646", "category":"health-check", "labels":[ "simple" ], "contentType":"string", "content":"This is a test notification", "sender":"taf-admin", "severity":"CRITICAL", "status":"NEW" }, "apiVersion":"v3" }, { "notification":{ "description":"Test notification data 1730440698647", "category":"no-subscription", "labels":[ "simple" ], "contentType":"string", "content":"This is a test notification", "sender":"taf-admin", "severity":"NORMAL", "status":"NEW" }, "apiVersion":"v3" }, { "notification":{ "description":"Test notification data 1730440698649", "category":"health-check", "labels":[ "simple" ], "contentType":"string", "content":"This is a test notification", "sender":"taf-admin", "severity":"MINOR", "status":"NEW" }, "apiVersion":"v3" }, { "notification":{ "description":"Test notification data 1730440698650", "category":"health-check", "labels":[ "simple" ], "contentType":"string", "content":"This is a test notification", "sender":"taf-admin", "severity":"NORMAL", "status":"NEW" }, "apiVersion":"v3" } ]
GET http://localhost:59860/api/v3/transmission/all?offset=10
{ "apiVersion": "v3", "statusCode": 200, "totalCount": 4, "transmissions": [] }
Expected result: Return status code 416
Deployment Environment: Ubuntu 2204 / arm64
EdgeX Version [REQUIRED]: Main
Anything else relevant?
The text was updated successfully, but these errors were encountered:
fix: check offset, limit, totalCount before querying transmissions
82df6aa
close edgexfoundry#4988 Signed-off-by: Ginny Guan <[email protected]>
6093cf6
jinlinGuan
Successfully merging a pull request may close this issue.
🐞 Bug Report
Affected Services [REQUIRED]
The issue is located in: support-notificationsIs this a regression?
YesDescription and Minimal Reproduction [REQUIRED]
GET http://localhost:59860/api/v3/transmission/all?offset=10
🔥 Exception or Error
Expected result: Return status code 416
🌍 Your Environment
Deployment Environment: Ubuntu 2204 / arm64
EdgeX Version [REQUIRED]: Main
Anything else relevant?
The text was updated successfully, but these errors were encountered: