Skip to content

{Monitor} Migrate monitor to track2#16551

Merged
yonzhan merged 3 commits intoAzure:devfrom
jsntcy:migrate-monitor-track2
Jan 20, 2021
Merged

{Monitor} Migrate monitor to track2#16551
yonzhan merged 3 commits intoAzure:devfrom
jsntcy:migrate-monitor-track2

Conversation

@jsntcy
Copy link
Member

@jsntcy jsntcy commented Jan 15, 2021

Description
Migrate monitor to track2

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


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

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 15, 2021

Monitor

@yonzhan yonzhan added this to the S182 milestone Jan 15, 2021
@qwordy
Copy link
Member

qwordy commented Jan 18, 2021

VM part looks good to me.

@jsntcy jsntcy force-pushed the migrate-monitor-track2 branch from 8c6d420 to 8de7f81 Compare January 18, 2021 02:53
Comment on lines -346 to +345
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did your remove the validator for receivers?

Copy link
Member Author

@jsntcy jsntcy Jan 18, 2021

Choose a reason for hiding this comment

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

Move it to g.command('create', 'create_or_update', table_transformer=action_group_list_table, validator=process_action_group_detail_for_creation) now, because :

  • The validator validates not only receivers, but also other arguments.
  • I need use command validator (process_action_group_detail_for_creation) to overwrite argument validator (validate_tags) asvalidate_tags should not used for this command as process_action_group_detail_for_creation defines its own _validate_tags.

In reply to: 559287114 [](ancestors = 559287114)

@jsntcy jsntcy force-pushed the migrate-monitor-track2 branch from 8de7f81 to 5653588 Compare January 18, 2021 03:21
@jsntcy jsntcy force-pushed the migrate-monitor-track2 branch from dc2cb17 to 83d8d17 Compare January 20, 2021 03:20
@yonzhan yonzhan merged commit ee405d3 into Azure:dev Jan 20, 2021
@qwordy
Copy link
Member

qwordy commented Jan 20, 2021

@jsntcy Can you help summarize common code changes in this PR?

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.

4 participants