-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-cedarling): Improve log searching and retrieval (#10772)
* chore(jans-cedarling): extend trait `Loggable` with methods that important for the memory logger Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): update to new interface Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): generate one request_id per `authorize request` Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): remove `PartialEq, Eq` macros from `KvEntry`, it is unused Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): add import entities from std lib Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): remove using `unwrap` Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling): add to sparkv API to push additional keys for existing key Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): update traits to work with additional index Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling): add methods for getting logs by tag Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): remove default implementation for some method in trait `Indexed` to not forget implement them It lead to less amount of the bugs, because of compiler highlight Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): fix `get_index_keys` to be more correct Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling): add to `AuthorizeResult` field `request_id` that allows to load information from `memory` logger Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): rename method `LogStorage::get_logs_by_id_and_tag` to the `get_logs_by_id_and_tag` Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling): add method `get_log_by_request_id` Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): update python bindings related to new memory logger API Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling): update python `pyi` file Signed-off-by: Oleh Bohzok <[email protected]> * test(jans-cedarling): add python tests to load data from memory logger Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): minor changes with naming - rename `get_log_by_request_id` to `get_logs_by_request_id` - remove in trait `LogWriter` method `log` and now use only `log_any` Signed-off-by: Oleh Bohzok <[email protected]> * feat(jans-cedarling):update WASM bindings, add new fields and method related to getting logs from memory logger by `request_id` and tags Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): add clippy rule to not use standart `uuid7` generator Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): fix clippy issues Signed-off-by: Oleh Bohzok <[email protected]> * chore(jans-cedarling): fix unit tests when compare id of log entry Signed-off-by: Oleh Bohzok <[email protected]> * test(jans-cedarling): add test logs for memory logger index Signed-off-by: Oleh Bohzok <[email protected]> * docs(jans-cedarling): update logger docs Signed-off-by: Oleh Bohzok <[email protected]> * test(jans-cedarling): fix python tests Signed-off-by: Oleh Bohzok <[email protected]> * docs(jans-cedarling): update python documentation Signed-off-by: Oleh Bohzok <[email protected]> * test(jans-cedarling): add test cases for sparkv index Signed-off-by: Oleh Bohzok <[email protected]> --------- Signed-off-by: Oleh Bohzok <[email protected]>
- Loading branch information
1 parent
d13bdbf
commit 9286f82
Showing
26 changed files
with
956 additions
and
200 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
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.