Add Alarm Service Configuration API
This commit introduces support for the GET, PUT, and PATCH methods for
a new API URI.
The API enables clients to query and modify the Alarm Service
Configuration.
Test Plan:
- Query the Alarm Service Configuration and verify it returns the
default values as expected.
- Use the PUT method to update the Alarm Service Configuration values.
- Use the PATCH method to update the retentionPeriod parameter of the
Alarm Service Configuration.
- Attempt to update using a value below the minimum allowed threshold
and confirm it fails as expected.
- Confirm the POST and DELETE methods return a 405 Method Not Allowed
response as expected.
Issue-ID: INF-482
Change-Id: Id70d6d301ffd6f278b9989a04f45a416fbfad241
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
13 files changed: