Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Request idempotency

Sumit Rawal answered on May 10, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • request-id:

  • Request idempotency

    0

    CLU is idempotent; if you import exactly the same resource twice, the second operation will have

    no effect, and the output will be the same as for the first request. Internally, CLU deterministically

    generates a request ID from the payloads of your resources and uses these in the Vault API

    requests. The Vault API endpoint should then return the exact same response each time the same request ID is provided. This allows you to add new resources to your existing CLU configuration

    packs and run them without having to delete the old resources.

    However, there is a caveat to idempotency in CLU. Other tools are likely to use different request

    IDs, so if you import a resource with another tool (for example, hitting the APIs directly) and

    then add the same resource to your CLU configuration pack, you may see conflict errors. In this

    case, Vault returns a 409 error code on conflict. You can define the behaviour of CLU when

    encountering resource conflicts by setting the desired on_conflict parameter 

    Popularity 2/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 10 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.