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

Mark DeployProcessCommand as deprecated for Go client #8997

Merged
merged 4 commits into from
Mar 28, 2022

Conversation

npepinpe
Copy link
Member

@npepinpe npepinpe commented Mar 26, 2022

Description

This PR marks DeployProcessCommand as a deprecated method in the Go client, and also the zbctl deploy <processPath>... usage (to be replaced by zbctl deploy resource <resourcePath>...).

Using the deprecated API in Go will trigger a warning (as you can see by our need to add //nolint in places 😄)

Related issues

related to #8995

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/1.3) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • New content is added to the release announcement
  • If the PR changes how BPMN processes are validated (e.g. support new BPMN element) then the Camunda modeling team should be informed to adjust the BPMN linting.

Copy link
Member

@korthout korthout left a comment

Choose a reason for hiding this comment

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

Thanks @npepinpe LGTM 👍

Please have a look at my comments before merging

clients/go/cmd/zbctl/internal/commands/deploy.go Outdated Show resolved Hide resolved
clients/go/pkg/zbc/client.go Show resolved Hide resolved
@npepinpe
Copy link
Member Author

bors merge

@zeebe-bors-camunda
Copy link
Contributor

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit d363bcb into main Mar 28, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the np-deprecate-go-api branch March 28, 2022 11:33
@npepinpe
Copy link
Member Author

/backport

@github-actions
Copy link
Contributor

Successfully created backport PR #9002 for release-8.0.0.

zeebe-bors-camunda bot added a commit that referenced this pull request Mar 28, 2022
9002: [Backport release-8.0.0] Mark DeployProcessCommand as deprecated for Go client r=npepinpe a=github-actions[bot]

# Description
Backport of #8997 to `release-8.0.0`.

relates to #8995

Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
zeebe-bors-camunda bot added a commit that referenced this pull request Mar 28, 2022
9002: [Backport release-8.0.0] Mark DeployProcessCommand as deprecated for Go client r=npepinpe a=github-actions[bot]

# Description
Backport of #8997 to `release-8.0.0`.

relates to #8995

Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
zeebe-bors-camunda bot added a commit that referenced this pull request Mar 28, 2022
9002: [Backport release-8.0.0] Mark DeployProcessCommand as deprecated for Go client r=npepinpe a=github-actions[bot]

# Description
Backport of #8997 to `release-8.0.0`.

relates to #8995

9007: [Backport release-8.0.0] Fix notification of snapshot replication listeners about missed events r=oleschoenburg a=oleschoenburg

## Description

Manual backport of #8994 for the `8.0`release branch

Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
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.

None yet

3 participants