forked from open-policy-agent/opa
-
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.
Add basic REST API support to server mode
- REST APIs * CRUDL on policy modules * Ad-hoc queries * Query and patch base documents * Query virtual documents - Add PolicyStore to manage policy definition/module CRUDL operations. * Supports persistence of policy definitons. * Serve REST API CRUDL operations. * Manage install/uninstall of rules into data store. * Manage persistence of policy definitions. - Misc. refactoring * Move storage creation into runtime Init. * Make AST types JSON serializable. Tweaked ast.Import to use Term instead of Value for the path.
- Loading branch information
Showing
24 changed files
with
2,305 additions
and
284 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# development environment | ||
.DS_Store | ||
.vscode | ||
|
||
# build artifacts | ||
coverage | ||
opa | ||
ast/parser.go | ||
coverage | ||
|
||
# runtime artifacts | ||
policies |
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
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.