[AAA-128] domainid should not be accepted as input when creating a domain Created: 04/May/17 Updated: 21/Mar/19 Resolved: 12/Feb/18 |
|
| Status: | Resolved |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jamo Luhrsen | Assignee: | Ryan Goulding |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8382 |
| Description |
|
email thread here: https://lists.opendaylight.org/pipermail/aaa-dev/2017-May/001352.html the create is allowing us to pass domainid when creating a domain, but example: curl -u "admin:admin" -X POST -d ' {"description":"karaf4 was not easy","name":"carbon_is_late","domainid":"ThisWillNotBeUsed","enabled":"true"}' -H "Content-Type:application/json" http://$ODL:8181/auth/v1/domains {"domainid":"carbon_is_late","name":"carbon_is_late","description":"karaf4 was not easy","enabled":true}curl -u "admin:admin" http://$ODL:8181/auth/v1/domains | python -m json.tool { , { "description": "karaf4 was not easy", "domainid": "carbon_is_late", "enabled": true, "name": "carbon_is_late" } ] |
| Comments |
| Comment by Ryan Goulding [ 11/May/17 ] |
| Comment by Jamo Luhrsen [ 15/May/17 ] |
|
need the carbon cherry-pick to get in too: |
| Comment by A H [ 15/May/17 ] |
|
Is |
| Comment by Jamo Luhrsen [ 15/May/17 ] |
|
(In reply to A H from comment #3) no, not a blocker. it's minor in nature. |
| Comment by Ryan Goulding [ 12/Feb/18 ] |
|
Forgot to mark this done. It is in fact done. |