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

Server configuration overlays

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: