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

camel-spring-boot - Allow to define static service discovery with metadata from yml

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch

      Description

      Services in a static service discovery can have metadata in Camel because they are represented by ServiceDefinition. However, it is not possible to configure such entries from a spring boot yml, because org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration only contains a services configuration item which consists of a Map<String, List<String>> where the Key is the service name and the List of String has to contain host:port Strings.

      Suggestion: add a property serviceDefinitions with support for Service Metadata.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dschulten Dietrich Schulten
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: