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

Client cache API paging #5096

Closed
wants to merge 41 commits into from

Commits on Jul 31, 2024

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

Commits on Aug 1, 2024

  1. Result of tsccr-helper -log-level=info gha update -latest . (#4989)

    Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    b24f6dc View commit details
    Browse the repository at this point in the history
  2. refact: to use go-dbw CreateItems, DeleteItems (#4974)

    * refact: to use go-dbw CreateItems, DeleteItems
    
    Latest version of go-dbw updated the signature of
    CreateItems(...) and DeleteItems(...) on a happy
    note this latest version of go-dbw actually does
    batch inserts and updates for this functions.
    
    * all: regenerate protos with new protoc-gen-go version
    jimlambrt authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    28b465e View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

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

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    a77769f View commit details
    Browse the repository at this point in the history
  2. docs: Fix broken anchor link in Credential management (#4998)

    * docs: Fix broken anchor link in Credential management
    
    * docs: Update link titles
    Dan-Heath authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3dfe4ac View commit details
    Browse the repository at this point in the history
  3. 0.17.0 Changelog (#4945)

    * add changelog sections
    
    * doc: add changelog for storage bucket credential
    
    * add ui changes to changelog
    
    * fix indenting & parentheses
    
    ---------
    
    Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
    Co-authored-by: Elim Tsiagbey <elim.tsiagbey@hashicorp.com>
    Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
    4 people authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    bad65ac View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    903039e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a8e954 View commit details
    Browse the repository at this point in the history
  3. implement configurable getDownstreamWorker timeout (#5007)

    * implement configurable getDownstreamWorker timeout
    
    * add parsing test
    
    * typos
    
    * fix tests
    
    * fix worker tests
    
    * 0 is a valid value
    bosorawis authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    350ac90 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. test(e2e): Add test for worker api tags (#5005)

    * test(e2e): Add test for worker api tags
    
    * CR: Add additional check for an API tag that's the same as a config tag
    moduli authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    05f2816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3788ab View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    6c4db8b View commit details
    Browse the repository at this point in the history
  2. ci: don't fail on cache miss

    Other parts of CI do not fail on cache miss, and it might
    be necessary to allow it to fail to successfully restore it later.
    johanbrandhorst committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    9f6fc8b View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Merge pull request #5026 from hashicorp/jbrandhorst-upgrade-go

    all: upgrade Go to 1.23.0
    johanbrandhorst authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    8e95a7e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    6f370c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    abb2d50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3195dcb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf9dbd8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e3f215 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1c62470 View commit details
    Browse the repository at this point in the history
  7. fix: constant-time comparison of grpc-gateway tickets (#5031)

    Update GRPC Gateway tickets to compare tickets in constant-time
    elimt authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    e6d355b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Update changelog for 0.16.3 & 0.17.1 (#5032)

    * Update changelog for `0.16.3` & `0.17.1`
    elimt authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8885ce8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c025e44 View commit details
    Browse the repository at this point in the history
  3. docs: Update release notes (#5030)

    * docs: Update release notes
    
    * docs: Rephrase item
    
    * docs: Add Important changes table to 0.17.1
    
    * docs: Add info about wget and health checks
    
    * docs: Fix typos
    
    * docs: Minor rewrite
    
    * code block fixes, style guide enhancements, metadata description refresh
    
    * docs: Update location of wget binary
    
    * docs: Fix bulleted list
    
    * Update website/content/docs/operations/health.mdx
    
    Co-authored-by: Sorawis Nilparuk (Bo) <sorawis.nilparuk@hashicorp.com>
    
    * docs: Updates based on feedback
    
    ---------
    
    Co-authored-by: stellarsquall <stellarsquall@protonmail.ch>
    Co-authored-by: Sorawis Nilparuk (Bo) <sorawis.nilparuk@hashicorp.com>
    3 people authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8ee9057 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

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

Commits on Aug 27, 2024

  1. feat: Validate LDAP URL port number (#5046)

    Add validation for the port number in LDAP URLs. If a port number is provided, it is checked to ensure it is a valid integer and within the valid range. This validation helps prevent errors when configuring LDAP authentication.
    elimt authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    123286c View commit details
    Browse the repository at this point in the history
  2. internal/daemon: simplify time update tests (#5041)

    Using time.After makes the intent clearer
    johanbrandhorst authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    96688b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. feat: Disable path length fallback (#5050)

    Add `WithDisablePathLengthFallback()` runtime option to the grpc-gateway mux HTTP server. This prevents the issue where the request method can be overridden with a `X-HTTP-Method-Override` header.
    elimt authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    84707c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. api: remove items deleted during refresh pagination (#5056)

    The API automatically paginates to the end of a pagination,
    and would take into account any items updated and subsequently
    removed since the last pagination. It now also removes any items
    removed during the current pagination.
    johanbrandhorst authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    4a031d9 View commit details
    Browse the repository at this point in the history
  2. feat: Add support for capturing URL actions in request info (#5044)

    * feat: Add support for capturing URL actions in request info
    
    - Pass request context to services to validate actions.
    - Validate actions for auth methods during authentication. `/v1/auth-methods/{{AUTH_METHOD_ID}}:authenticate:callback` is currently only supported on `OIDC` auth methods. An error is thrown if `:callback` is not supported
    elimt authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    306c722 View commit details
    Browse the repository at this point in the history
  3. Restrict cache results to 250 entries by default (#5049)

    A query parameter `max_result_set_size` can be specified to set a
    per-request limit, with `-1` meaning all values. If there were more
    entries than the max size used for the request, an `incomplete` boolean
    is set in the response.
    jefferai committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    cd8487c View commit details
    Browse the repository at this point in the history
  4. feat (clientcache): use a persistent cache (#5051)

    * feat (clientcache): use a persistent cache
    
    By default, we will use a persistent cache for the
    client cache. This will allow us to keep the cache
    across restarts of the server and it will also
    reduce the amount of time it takes to start the
    server while reducing the amount of memory used.
    
    This change also includes a validation of the cache
    schema version. If the schema version is different
    from the one expected, the cache will be
    reset/recreated.
    jimlambrt authored and jefferai committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    09826ec View commit details
    Browse the repository at this point in the history
  5. Add implicit-scopes resource type to cache (#5053)

    This allows getting a list of scope IDs known by the cache via cached
    targets and sessions. It is not refreshed from the controller. The name
    contains `implicit` in case we ever want e.g. `scopes`.
    jefferai committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e3fca6d View commit details
    Browse the repository at this point in the history
  6. Ensure only one refresh is running for a user/resource at a time (#5054)

    This ensures we don't have competing update processes running. When doing the
    inline RefreshForSearch, a specific error will be returned so we can hint in
    the API that we're in the middle of a refresh.
    jefferai committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f687147 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Two fixes in our Go API code: (#5066)

    * Replace `interface{}` with `any`
    * For options that are bools, don't always set true; set to the actual
      value passed in (some options already behaved this way, but they all
      should)
    jefferai committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9a89956 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. test (cache/search): fix NewTestServer(...) storage (#5081)

    Fix ensures that the TestServer returned uses the
    correct directory for writing its sqlite files,
    which was created via t.TempDir()
    jimlambrt authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    2637c3f View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    a190bd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6addfc View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    e9e70a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    089c629 View commit details
    Browse the repository at this point in the history