[ https://issues.apache.org/jira/browse/GEODE-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Khamesra closed GEODE-2080. ---------------------------------- > Rest POST put call not working with region valueConstraint > ---------------------------------------------------------- > > Key: GEODE-2080 > URL: https://issues.apache.org/jira/browse/GEODE-2080 > Project: Geode > Issue Type: Bug > Components: rest (dev) > Reporter: Bruce Schuchardt > Fix For: 1.1.0 > > > Gemfire REST POST call does not work on a region with value constraint eg If > I have a region definition like > > <region name="regionOne" refid="REPLICATE_PERSISTENT"> > <region-attributes> > <value-constraint> > com.support.pivotal.domain.Company > </value-constraint> > </region-attributes> > </region> > and try to do a POST call like > ResponseEntity< String> result = RestClientUtils.getRestTemplate().exchange( > "http://localhost:8080/gemfire-api/v1/regionOne?key=CITI-123" , > HttpMethod.POST, > entity, String.class); > It fails, whereas If I remove the value constraint in the region definition > it works fine. It is eaily reproducible. -- This message was sent by Atlassian JIRA (v6.3.15#6346)