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

Cache with empty persistence configuration not rendered in JSON

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: