-
Bug
-
Resolution: Done
-
Major
-
SaaS
-
False
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
GET /admin/api/services/{service_id}/proxy.json in 2.11 candidate3 returns different results in comparison of 2.10. type of "policies_config" value changed from list to string.
2.10 result (just relevant fragment included):
$ curl "https://$3SCALE_ADMIN/admin/api/services/$SERVICE_ID/proxy.json?access_token=$TOKEN"|python -m json.tool ... "policies_config": [ { "configuration": {}, "description": "Main functionality of APIcast.", "enabled": true, "humanName": "APIcast policy", "id": "apicast-policy", "name": "apicast", "removable": false, "version": "builtin" } ], ...
2.11 candidate3 result:
$ curl "https://$3SCALE_ADMIN/admin/api/services/$SERVICE_ID/proxy.json?access_token=$TOKEN"|python -m json.tool ... "policies_config": "[{\"name\":\"apicast\",\"version\":\"builtin\",\"configuration\":{},\"enabled\":true},{\"name\":\"policy_registry\",\"version\":\"builtin\",\"configuration\":{\"property1\":{\"value1\":{\"type\":\"string\",\"description\":\"Value1\"},\"value2\":{\"type\":\"string\",\"description\":\"Value2\"}}},\"enabled\":true}]", ...
The expectation is to receive decoded list as before, not the string
Affecting change likely introduced before Aug 3.