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

Change saved object bulkUpdate to work across multiple namespaces #75478

Merged

Commits on Aug 20, 2020

  1. Add namespaceStringToId and namespaceIdToString methods to core

    Now that saved objects' `namespaces` are exposed, we should provide
    a method to compare these strings to namespace IDs. The Spaces
    plugin already provided utility functions for this; I changed them
    to be a facade over the new core functions. The reason for this is
    that other plugins (alerting, actions) depend on the Spaces plugin
    and will use an `undefined` namespace if the Spaces plugin is not
    enabled.
    jportner committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    fa6ae1c View commit details
    Browse the repository at this point in the history
  2. Change bulkUpdate method to allow per-object namespaces

    Includes docs changes and integration tests.
    jportner committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    341052a View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Configuration menu
    Copy the full SHA
    6c78cd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Configuration menu
    Copy the full SHA
    9d849b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2096fc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    440d987 View commit details
    Browse the repository at this point in the history
  4. Don't expose core namespace conversion methods in the public contract

    This partially reverts commit fa6ae1c.
    jportner committed Aug 31, 2020
    Configuration menu
    Copy the full SHA
    0b2f62c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    1228d61 View commit details
    Browse the repository at this point in the history
  2. Normalize namespace strings for saved object CRUD operations

    Now, options.namespace can use `'default'` interchangeably with
    `undefined`.
    jportner committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    46bc77d View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Configuration menu
    Copy the full SHA
    9dd4d5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea2235f View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Updated non-dev usages of node-forge

    We have a direct dependency on node-forge `0.9.1`, and a also a
    transitive dependency via:
    @elastic/request-crypto@1.1.4 > node-jose@1.1.0 > node-forge@0.7.6
    
    This commit updates both of these to `0.10.0`.
    jportner committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    17985c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Configuration menu
    Copy the full SHA
    def73c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    978ccf1 View commit details
    Browse the repository at this point in the history
  3. Revert "Don't expose core namespace conversion methods in the public …

    …contract"
    
    This reverts commit 0b2f62c.
    jportner committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    ba8c72d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2c36a31 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    714a14e View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary comment

    jportner committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    c2a207a View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. Configuration menu
    Copy the full SHA
    0a36aa5 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Configuration menu
    Copy the full SHA
    0c97bf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65acf6d View commit details
    Browse the repository at this point in the history
  3. Address PR review feedback

    jportner committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    cf0a0a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Configuration menu
    Copy the full SHA
    71bf105 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70793b0 View commit details
    Browse the repository at this point in the history
  3. Update JSdocs

    There was a typo, and I took the opportunity to reword it a bit too
    jportner committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    f345891 View commit details
    Browse the repository at this point in the history