Class OpenSearchConfig

java.lang.Object
com.mindstore.backend.security.OpenSearchConfig

@Configuration public class OpenSearchConfig extends Object
Configuration file for opensearch that uses the opensearch.host from application.properties creates openSearchClient that the application uses
  • Constructor Details

    • OpenSearchConfig

      public OpenSearchConfig()
      default constructor
  • Method Details

    • openSearchClient

      @Bean public org.opensearch.client.opensearch.OpenSearchClient openSearchClient()
      Bean that creates the opensearch client with custom config
      Returns:
      the created open search client