forked from openstack/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip the extra properties out when using legacy v2 compatible middle…
…ware Due to all the input validation with python code already removed for the V2.1 API. So there have some API code can't process the extra properties correctly. The most safe way is strip the extra properties out the input body. There have few APIs have validation for the extra properties in V2 API, after this patch applied the V2.1 legacy v2 compat mode will return 2xx for those APIs. But we think it is acceptable. Co-Authored-By: Ghanshyam Mann<[email protected]> Change-Id: I48b0f1854bce734f63e40a9f566ea2b7dc9cd82e
- Loading branch information
1 parent
83f972f
commit 4fefd25
Showing
4 changed files
with
138 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters