Skip to content

The current Sanitization and truncation logic does not adhere to new schema #429

@dhaval24

Description

@dhaval24

The current Sanitization logic placed in Sanitizer.java does not adhere to the new schema (has old specifications for Maximum length allowed of various fields)

The new schema has specific lengths for various kinds of telemetry whereas the current has a common length for name. Sanitization is based on regex which is not correct, needs to be done according to json specifications.

Solution: Move all the sanitization logic to JsonTelemetryDataSerializer class where the actual json string is created. Update the Bond Definitions to automatically generate write methods with parameters.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions