Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19834

camel-test-infra-elasticsearch container start fails if ca cert is not present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • None
    • camel-elasticsearch
    • None
    • Unknown

    Description

      It is possible to configure elasticsearch container to not generate a self signed CA certificate by basically disabling SSL. In this case the container init would fail with java.util.NoSuchElementException: No value present

      this is due to https://github.com/apache/camel/blob/camel-4.0.x/test-infra/camel-test-infra-elasticsearch/src/test/java/org/apache/camel/test/infra/elasticsearch/services/ElasticSearchLocalContainerService.java#L99 being called even if CA cert is not present.

      Attachments

        Activity

          People

            valdar Andrea Tarocchi
            valdar Andrea Tarocchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: