Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4585

Server configuration overlays

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • RHDG 8.3 CD
    • None
    • 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
              Fabrizio Asta Fabrizio Asta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: