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

[7.x] [Logs UI] HTTP API for log entries (#53798) #54024

Merged
merged 2 commits into from
Jan 7, 2020

Commits on Jan 6, 2020

  1. [Logs UI] HTTP API for log entries (elastic#53798)

    * Scaffold `log_entries/entries` route
    
    * Scaffold a log entry response
    
    * Add `after` pagination
    
    * Add `before` pagination
    
    * Process `query` parameter
    
    * Use pre-existing structure for the columns
    
    * Change type of date ranges
    
    We will move the responsibility to parse the dates to the client. The
    API will only take timestamps
    
    * Add `center` parameter
    
    Allows consumers of the API to get log items around a certain cursor
    
    * Change default page size
    
    * Test the defaults of the API
    
    * Add optional `size` parameter
    
    This makes easier to test the pagination. By default it returns a 200
    size page.
    
    * Test the pagination
    
    * Test centering around a point
    
    * Handle `0` sizes
    
    Co-Authored-By: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
    
    * Add highlights endpoint
    
    * Refactor `processCursor`
    
    * Tweak cursor handling in the routes
    
    * Refine `LogEntry` type
    
    * Add tests for highlights endpoint
    
    * Tweak the types for the LogEntry
    
    Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
    Alejandro Fernández and Zacqary committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    28752fb View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Skip failing test (elastic#54100)

    ES behaves differently in master and in 7.x, causing the test to fail in
    the latter.
    Alejandro Fernández committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    1a4621b View commit details
    Browse the repository at this point in the history