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

Add namespace to search attributes operations requests #346

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

rodrigozhou
Copy link
Contributor

What was changed

Upgraded API to v1.16.0.
Upgraded Server to master.
Updated search attributes operations to require namespace argument.

Why?

Namespace argument will become required for doing all search attributes operations.

Checklist

  1. Closes

  2. How was this tested:

Launched server, and ran commands to add/remove/list search attributes.

  1. Any docs updates needed?

@@ -148,7 +148,7 @@ func populateFlagsFunc(command *cli.Command, globalFlags []cli.Flag) func(ctx *c

for _, c := range ctx.Lineage() {
if !c.IsSet(name) {
value := tctlConfig.EnvProperty(tctlConfig.CurrentEnv, name)
value, _ := tctlConfig.EnvProperty(tctlConfig.CurrentEnv, name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh i wouldn't really upgrade tctl-kit since in the latest versions it has breaking changes (focusing on Temporal single binary). Though again i also wanted to completely remove tctl-next code from here so tctl-kit is not even imported. Just pushed the deprecation message #342

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@feedmeapples
What's the status of deprecating? I need to add this to next release of tctl to work with Server v1.20.
Can I merge this first?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently there is a notice in --help text output. tctl next code is unlikely to be removed asap so approving the PR

@feedmeapples feedmeapples self-requested a review February 7, 2023 18:00
@rodrigozhou rodrigozhou merged commit d124bd5 into temporalio:main Feb 7, 2023
@rodrigozhou rodrigozhou deleted the add-ns-sa-operations branch February 7, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants