-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
5
-
False
-
-
True
-
subs-swatch-1
-
-
The swatch-metrics-hbi service should use the swatch-common-security library/module to secure its API endpoints. Configure the service to add the schemes required by the service and apply security to POST /api/swatch-metrics-hbi/internal/outbox to ensure that it is working correctly.
Security schemes
The following security schemes should be added to the openapi.yaml
service:
- type: apiKey
- header: x-rh-swatch-psk
test
- type: apiKey
- header: x-rh-swatch-psk
Acceptance Criteria
- The swatch-metrics-hbi service is configured to use the new library/module.
- Security schemes are defined in the API schema file and ready to use by the service's other endpoints.
- The test scheme is set on the POST /api/swatch-metrics-hbi/internal/outbox endpoint and adequate tests exist.
- blocks
-
SWATCH-3915 Remove CRUD apis for direct interaction with the outbox table
-
- In Progress
-
-
SWATCH-3784 Implement PUT /api/swatch-metrics-hbi/internal/rpc/outbox/flush
-
- Review
-
-
SWATCH-3781 Implement GET /api/swatch-metrics-hbi/internal/outbox/{org_id}
-
- Closed
-
-
SWATCH-3782 Implement DELETE /api/swatch-metrics-hbi/internal/outbox/{uuid}
-
- Closed
-
-
SWATCH-3783 Implement PUT /api/swatch-metrics-hbi/internal/outbox/
-
- Closed
-
-
SWATCH-3779 Implement GET /api/swatch-metrics-hbi/internal/outbox
-
- Closed
-
- is blocked by
-
SWATCH-3860 Create Reusable REST API Security library for Quarkus Services
-
- Release Pending
-