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

[Cases] Separate Cases SO attributes from HTTP APIs #155898

Merged
merged 10 commits into from
Apr 28, 2023

Commits on Apr 26, 2023

  1. [Cases] Separate Cases SO attributes from HTTP APIs (#155277)

    ## Summary
    
    This PR changes the types of the Case entity to separate the SO
    attributes from the HTTP APIs.
    
    ### Notable changes
    - A new server-side type is created to describe the data persistent into
    ES through the SO client. It is called `CasePersistedAttributes`.
    - The type `CaseResponse` is renamed to `Case`.
    - The type `CasesResponse` is renamed to `Cases`.
    - The type `Case` is renamed to `CaseUI`.
    - The type `Cases` is renamed to `CasesUI`.
    
    ### For maintainers
    
    - [x] This was checked for breaking API changes and was [labeled
    appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
    
    ---------
    
    Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
    cnasikas and jonathan-buttner authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    bf588bf View commit details
    Browse the repository at this point in the history
  2. [Cases] Separating http request contract from saved object persistenc…

    …e layer (#155325)
    
    This PR separates the http API io-ts types from the types that are used
    in the cases service layer to interact with the saved object client.
    This PR is specifically for the user actions it only affects the types
    used when interacting with the saved object client and doesn't touch the
    transformation logic yet.
    
    Issue: #153726
    jonathan-buttner authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    ed3d037 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6aea93f View commit details
    Browse the repository at this point in the history
  4. [Cases] Split attachment types for versioned http apis (#155440)

    This PR separates the http API io-ts types from the types that are used
    in the cases service layer to interact with the saved object client.
    This PR is specifically for the attachments it only affects the types
    used when interacting with the saved object client and doesn't touch the
    transformation logic yet.
    
    Issue: #153726
    jonathan-buttner authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9f9eb79 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. [Cases] Split remaining cases types (#155444)

    This PR separates the http API io-ts types from the types that are used
    in the cases service layer to interact with the saved object client.
    This PR is splits up the remaining types within the service layer
    (configure and connector mappings).
    
    Issue: #153726
    jonathan-buttner authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    4ea7182 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de3e438 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a108eb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84a9741 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bf7d91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a3fee10 View commit details
    Browse the repository at this point in the history