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

Cache with empty persistence configuration not rendered in JSON

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Final
    • 10.0.0.Final
    • Core
    • None

      The following configuration:

      <infinispan>
         <cache-container>
            <distributed-cache name="fscache">
               <encoding>
                  <key media-type="application/x-protostream"/>
                  <value media-type="application/x-protostream"/>
               </encoding>
               <persistence>
                  <file-store/>
               </persistence>
            </distributed-cache>
         </cache-container>
      </infinispan>
      

      When obtained via REST, with

      GET /rest/v2/caches/{cache}?action=config
      

      Does not include the persistence element

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: