[infinispan-issues] [JBoss JIRA] (ISPN-10809) Cache with empty persistence configuration not rendered in JSON

Gustavo Fernandes (Jira) issues at jboss.org
Wed Oct 23 09:47:00 EDT 2019


Gustavo Fernandes created ISPN-10809:
----------------------------------------

             Summary: Cache with empty persistence configuration not rendered in JSON
                 Key: ISPN-10809
                 URL: https://issues.jboss.org/browse/ISPN-10809
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 10.0.0.CR3
            Reporter: Gustavo Fernandes
            Assignee: Gustavo Fernandes
             Fix For: 10.0.0.Final


The following configuration: 

{code:xml}
<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>
{code}

When obtained via REST, with 
{code}
GET /rest/v2/caches/{cache}?action=config
{code}

Does not include the {{persistence}} element



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list