Skip to content

[Feat]: Optimization on regex pattern usage in RecreateHttpDependenciesTask #200

@al-matushkin

Description

@al-matushkin

Is your feature request related to a problem? Please describe

In RecreateHttpDependenciesTask.removeOutdatedReportRecords(JsonObject comp, String dnsName, JsonArray reportRecords) we have a TODO comment

// TODO: Move pattern to static field and update logic

Describe the solution you'd like

The pattern there is being compiled on every run of the method, that might be optimized by making the pattern static

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions