conductor
conductor copied to clipboard
numbers in HTTP task json input are changed into strings
It seems that numbers are changed to strings in HTTP task's JSON input. For example when submitting following input.
"foo": {
"modified_client": "2017-04-07T08:15:25Z",
"prices": [
{
"id": "421a4f-0f0c-48c3-bf97-90f9f723953f",
"price": 899.23
}
]
}
And then looking at the input for the task from conductor ui. It has changed into:
{
"http_request": {
"uri": "http://localhost:8082/api/foo",
"method": "POST",
"body": {
"foo": {
"modified_client": "2017-04-07T08:15:25Z",
"prices": [
{
"id": "421a4f-0f0c-48c3-bf97-90f9f723953f",
"price": "899.23"
}
]
}
This should be addressed in the fix submitted here - https://github.com/Netflix/conductor/commit/651b50f8761656fbee74d3cc2e2852357535c85b#diff-726da9f2c587ce68d0917d879c8e702f.