-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
Future Sustainability
-
False
-
-
False
-
None
-
Unset
-
None
-
-
Currently the code/configuration requires each topic to only support one `Normalizer`. This is not very flexible. We should be able to modify the code so that each service can specify which `Normalizer` to use.
The configuration could be modified to look like the following:
platform.upload.validation: # topic normalizer: Validation # normalizer (to be covered further down) platform.upload.announce: services: # list of services openshift: # service (defined by content type) normalizer: Openshift format: "{org_id}/{cluster_id}/{timestamp}-{request_id}" # format of resulting file object bucket: "insights-buck-it-openshift" # storage bucket ansible: normalizer: Openshift format: "{org_id}/{cluster_id}/{timestamp}-{request_id}" bucket: "insights-buck-it-ansible" ols: normalizer: Validation format: "{org_id}/{cluster_id}/{timestamp}-{request_id}" # format of resulting file object bucket: "ols-bucket" # storage bucket
Notice the normalizer is moved under the service definition.
Slack thread:
https://redhat-internal.slack.com/archives/C022YV4E0NA/p1749104024235759