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

CLI refresh for dynatrace #8201

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

shivansh257
Copy link
Contributor

@shivansh257 shivansh257 commented Oct 26, 2024


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copy link

azure-client-tools-bot-prd bot commented Oct 26, 2024

⚠️Azure CLI Extensions Breaking Change Test
⚠️dynatrace
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd dynatrace monitor tag-rule update cmd dynatrace monitor tag-rule update added parameter generic_update_add
⚠️ 1006 - ParaAdd dynatrace monitor tag-rule update cmd dynatrace monitor tag-rule update added parameter generic_update_force_string
⚠️ 1006 - ParaAdd dynatrace monitor tag-rule update cmd dynatrace monitor tag-rule update added parameter generic_update_remove
⚠️ 1006 - ParaAdd dynatrace monitor tag-rule update cmd dynatrace monitor tag-rule update added parameter generic_update_set
⚠️ 1006 - ParaAdd dynatrace monitor tag-rule update cmd dynatrace monitor tag-rule update added parameter no_wait

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 26, 2024

Thank you for your contribution! We will review the pull request and get back to you soon.

Copy link

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

Copy link

Comment on lines -146 to +176
self.TagRulesUpdate(ctx=self.ctx)()
self.TagRulesGet(ctx=self.ctx)()
self.pre_instance_update(self.ctx.vars.instance)
self.InstanceUpdateByJson(ctx=self.ctx)()
self.InstanceUpdateByGeneric(ctx=self.ctx)()
self.post_instance_update(self.ctx.vars.instance)
yield self.TagRulesCreateOrUpdate(ctx=self.ctx)()
Copy link
Contributor

Choose a reason for hiding this comment

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

The update changed from Patch to Get+Put. Is it by design?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.
We don't have Patch call for tag rules. We had to provide update CLI command so it design decision was made previously.

@kairu-ms kairu-ms merged commit 0f614da into Azure:main Oct 28, 2024
22 checks passed
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ dynatrace ] : https://dev.azure.com/azclitools/release/_build/results?buildId=201278&view=results

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.

5 participants