New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement listLogs API and provide sample snippet #602
Commits on Aug 12, 2021
-
feat: add listLogs and listLogsAsync to Logging
Add listLogs API support to hand-written layer of google-cloud-logging. Add unit testing for the new listLogs API. Fixes #593
Configuration menu - View commit details
-
Copy full SHA for 18c83dc - Browse repository at this point
Copy the full SHA 18c83dcView commit details -
feat: add listLogs snippet example
Add a sample snippet to demonstrate use of listLogs API. Refactor ListLogs to include snippets for listLogs and listLogEntries. Format all snippets. Fixes #358.
Configuration menu - View commit details
-
Copy full SHA for b81f8a0 - Browse repository at this point
Copy the full SHA b81f8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d460356 - Browse repository at this point
Copy the full SHA d460356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03e8d7b - Browse repository at this point
Copy the full SHA 03e8d7bView commit details -
chore(deps): fix clirr plugin 7012 error
Because of JDK 1.7 it is impossible to provide default implementation for new interface methods. File with exclusions is added instead. The file should be removed once JDK version is upgraded.
Configuration menu - View commit details
-
Copy full SHA for 353966d - Browse repository at this point
Copy the full SHA 353966dView commit details -
chore(tests): fix samples' tests
Fix printed string in LogEntryWriteHttpRequest.createLogEntryRequest(). Fix loops to wait for any data in STDOUT. Add test for listLogs snippet.
Configuration menu - View commit details
-
Copy full SHA for 093e93c - Browse repository at this point
Copy the full SHA 093e93cView commit details -
chore(test): forward exception throwing
Update testListLogNames() signature to throw exceptions
Configuration menu - View commit details
-
Copy full SHA for 2919ca4 - Browse repository at this point
Copy the full SHA 2919ca4View commit details -
chore(tests): refactoring tests
Test ListLogs.printLogNames vs audit logs to save time. Restore retrieval of log entries in the wait loop to ensure printing to STDOUT
Configuration menu - View commit details
-
Copy full SHA for c4c210c - Browse repository at this point
Copy the full SHA c4c210cView commit details -
chore(tests): fine tune clirr exceptions
Provide method level exception configuration in clirr-ignored-differences. Implement default methods for new methods in Logging and LoggingRpc interfaces. Following guidelines, remove serialVersionUID from LogNamePageFetcher.
Configuration menu - View commit details
-
Copy full SHA for 39027e8 - Browse repository at this point
Copy the full SHA 39027e8View commit details -
chore: refactoring method naming and sample snippets
Make more verbose naming for methods. Refactor testing after renaming interface method(s). Split ListLogs sample into two: ListLogEntries and ListLogs.
Configuration menu - View commit details
-
Copy full SHA for a119c11 - Browse repository at this point
Copy the full SHA a119c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca4bd89 - Browse repository at this point
Copy the full SHA ca4bd89View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ca4e0 - Browse repository at this point
Copy the full SHA e8ca4e0View commit details -
chore(fix): restore sample filter to list log entries
update the list log entries filter to bring results only for the last hour.
Configuration menu - View commit details
-
Copy full SHA for d5507c4 - Browse repository at this point
Copy the full SHA d5507c4View commit details -
chore(fix): fix snippet-bot errors
adding empty region tag logging_list_log_entries to ListLogs.java
Configuration menu - View commit details
-
Copy full SHA for a67a83c - Browse repository at this point
Copy the full SHA a67a83cView commit details