Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12931

Server configuration overlays

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.Final
    • 12.1.0.Final
    • Configuration, Server
    • None

      Add a way for the server to parse multiple configuration files which are overlayed on top of each other in order:

      ./bin/server.sh -c infinispan.xml -c overlay.yml

      • you can overlay as many files as you want
      • you can use any file types you want in any order you want
      • each file must be a full "infinispan configuration file" but it doesn't have to be a full server configuration as long as the end result is a proper server config
      • there is no check for conflicts: each file is loaded on top of the other, overwriting any configs

      for example, using the default infinispan.xml and the following yaml:

      infinispan:   cacheContainer:     caches:       - distributed-cache:         name: "yaml"
      

      you get the default server with a distributed cache called yaml

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: