Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2756

Quarkus/Spring: property for constraintStreamType

XMLWordPrintable

    • 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8)
    • 5
    • NEW
    • NEW

      Make it easy to switch between Drools and Bavet in Quarkus and Spring Boot, with a single line:

      quarkus.optaplanner.solver.constraint-stream-impl-type=BAVET
      

      Note that quarkus and spring automatically do the camelCase to hyphen-case translation

      Recommended reqs:

      • In Quarkus add it here: org.optaplanner.quarkus.config.SolverRuntimeConfig OR org.optaplanner.quarkus.deployment.config.SolverBuildTimeConfig
        • Geof: I think it should be a build time property, so we can do build time magic later, so the later. No one is going to need to switch this in production (YAGTNI).
      • In Spring boot add it here: org.optaplanner.spring.boot.autoconfigure.config.SolverProperties
      • Docs (Q + S): https://www.optaplanner.org/docs/optaplanner/latest/integration/integration.html#integrationWithQuarkus

              cchianel Christopher Chianelli (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: