hashicorp / hashicorp/consul

Allow read/update/delete Prepared Query by name

Open
#10,531 17 comments 0 reactions 1 assignee View on GitHub

@jamestran201 is already working on this.

Since Dec 14, 2021.

  • #12053 by @jamestran201 — closed without merging
help-wanted theme/api theme/prepared-query type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Feature Description

Currently the UUID is needed to read, update or delete a prepared query. This is quite unflexible as the name has to be unique as well. So it looks like there is no reason to use force the user to use the uuid.
It is even more strange as for execute7explain the uuid AND the name are valid parameters:

https://www.consul.io/api/query

Be allowing the query name for read/update/delete as well the API will become much more user friendly.

Use Case(s)

deploy, debugging, ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.