Skip to content
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

Merged
merged 14 commits into from Aug 12, 2021

Commits on Aug 12, 2021

  1. 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
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    18c83dc View commit details
    Browse the repository at this point in the history
  2. 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.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    b81f8a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d460356 View commit details
    Browse the repository at this point in the history
  4. chore(code): fixing errors

    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    03e8d7b View commit details
    Browse the repository at this point in the history
  5. 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.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    353966d View commit details
    Browse the repository at this point in the history
  6. 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.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    093e93c View commit details
    Browse the repository at this point in the history
  7. chore(test): forward exception throwing

    Update testListLogNames() signature to throw exceptions
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    2919ca4 View commit details
    Browse the repository at this point in the history
  8. 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
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    c4c210c View commit details
    Browse the repository at this point in the history
  9. 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.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    39027e8 View commit details
    Browse the repository at this point in the history
  10. 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.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    a119c11 View commit details
    Browse the repository at this point in the history
  11. chore(fix): fix formatting

    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    ca4bd89 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e8ca4e0 View commit details
    Browse the repository at this point in the history
  13. chore(fix): restore sample filter to list log entries

    update the list log entries filter to bring results only for the last hour.
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    d5507c4 View commit details
    Browse the repository at this point in the history
  14. chore(fix): fix snippet-bot errors

    adding empty region tag logging_list_log_entries to ListLogs.java
    minherz committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    a67a83c View commit details
    Browse the repository at this point in the history