Issue: Generating Excel Scenarios File Template doesn't work if Java XOM contains attributes of type 'java.time.LocalDate'.
We tried changing the data type to 'java.util.Date' to make it work for the Decision Runner, but it breaks the decision service API by giving the 'date-time' format for the date fields.
Java XOM attribute with 'java.util.Date' type
"tradeDate" : {
"type" : "string",
"format" : "date-time"
}
Java XOM attribute with 'java.time.LocalDate' type
"tradeDate" : {
"type" : "string",
"format" : "date"
}
Also, we tried using @ApiModelProperty annotation with no luck.
@ApiModelProperty(dataType = "java.time.LocalDate")
private java.util.Date tradeDate;
To this issue, does anyone know a solution that works for decision service API consumers and decision runner scenarios template generation?
------------------------------
Charan Paladugu
------------------------------