No error Message for caching:rules: no name and no request url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
Fix Released
|
Medium
|
Amit Gandhi |
Bug Description
Post a request
a valid name value
a domain entry with a domain property set to "invalid"
an origin entry with the origin property set to a "not an origin" and port property set to 80 and the ssl property set to true
an origin entry with a rules entry with the name property set to "name." and request_url set to "www.somewebsit
a caching entry without a name property and without a ttl property and an empty rules entry
{
"name": "Bill's New CDN Service",
"domains": [{
}],
"origins": [{
"port": 80,
"ssl": true,
"rules"
}],
"caching"
}
Expected to get an error message for the missing propertied of name and requested_url, but didn't.
Actual response:
{
"message": "{\"errors\": [{\"message\": \"['caching'
}
Documentation states that these fields are required
Changed in poppy: | |
importance: | Undecided → Medium |
milestone: | none → kilo-2 |
Changed in poppy: | |
status: | New → In Progress |
assignee: | nobody → Amit Gandhi (amit-gandhi) |
Changed in poppy: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/144378 /git.openstack. org/cgit/ stackforge/ poppy/commit/ ?id=68561541c85 729e20d1dfb2e29 1423b7a733190c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 68561541c85729e 20d1dfb2e291423 b7a733190c
Author: amitgandhinz <email address hidden>
Date: Mon Dec 29 18:13:19 2014 -0500
Fixes validation of caching rules
Change-Id: I1e4b8a48847890 c58e612455d56e0 2e3583533db
Closes-Bug: 1405276