Update Search Service to Display Feature Flags in Info Endpoint

Context

ADR: osdu/platform/system/lib/core/os-core-common#86

We need to update services that use feature flags to include their states in the info endpoint response.

Technical Notes

Here, we've updated Core-Common to include feature flag states in the info endpoint: osdu/platform/system/lib/core/os-core-common!296 (merged)

Here, we are using the updated Core-Common: indexer-service!887 (merged)

TODO:

  • Add bean configuration for each feature flag. image
  • Use either the common feature flag state resolver or the custom FF uses custom configuration. Screenshot_2025-04-10_154732
  • Update acceptance tests and verify that all future flags are present in response. image

Acceptance criteria

AC1 – The service displays all its feature flag states in the info endpoint response.

AC2 – The service utilizes the common feature flag state resolver if feature flags are configured via Core-Common FF interfaces.

AC3 – The service uses custom feature flag state resolvers if feature flags have custom configurations.

AC4 – Acceptance tests are updated to verify that all feature flags are present in the info endpoint response.

Edited by Rustam Lotsmanenko (EPAM)