Description
In 2.5 ignite REST-API dosent show cache value structure correctly
rest-api 2.4
"0013289414": {
"timeFrom": 1527166800,
"timeTo": 1528199550,
"results": ["BUSINESS-EU"],
"child":
}
------------
rest-api2.5
"0013289414":
{ "timeFrom": 1527166800, "timeTo": 1528199550, "results": ["BUSINESS-EU"] }As you can see the child is missing. If i switch back to 2.4 REST-API everything works as expected.
The above structure is class ValidityNode and the child that is missing in 2.5 is also a ValidityNode. The structure is meant to be as parent-child implementation.
public class ValidityNode {
private long timeFrom;
private long timeTo;
private ArrayList<String> results = null;
private ValidityNode child = null;
public ValidityNode()
{ // default constructor }public long getTimeFrom()
{ return timeFrom; }public void setTimeFrom(long timeFrom)
{ this.timeFrom = timeFrom; }public long getTimeTo()
{ return timeTo; }public void setTimeTo(long timeTo)
{ this.timeTo = timeTo; }public ArrayList<String> getResults()
{ return results; }public void setResults(ArrayList<String> results)
{ this.results = results; }public ValidityNode getChild()
{ return child; }public void setChild(ValidityNode child)
{ this.child = child; }@Override
public String toString()
Is this issue maybe related to keyType and valueType that were intruduced in 2.5?