-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove spec_hash and allow the use of IDs instead
Rather than provide spec_hash, the POST endpoint now accepts a parent policy ID and/or policy ID. This saves on network bandwidth and resource utilization when the ID is known. This also changes spec to be JSONB instead of a JSON string. This allows a unique constraint without serializing it in a special way with map keys sorted. Signed-off-by: mprahl <[email protected]> (cherry picked from commit 7f05e96)
- Loading branch information
1 parent
e0da4e0
commit fc329f3
Showing
5 changed files
with
291 additions
and
270 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
Oops, something went wrong.