Skip to content

adding replication rule modify function#156

Merged
AkshaySainiDell merged 5 commits into
mainfrom
replication_rule_enhancement
Dec 16, 2024
Merged

adding replication rule modify function#156
AkshaySainiDell merged 5 commits into
mainfrom
replication_rule_enhancement

Conversation

@shenda1

@shenda1 shenda1 commented Dec 13, 2024

Copy link
Copy Markdown
Contributor

PR Submission checklist

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
https://github.com/dell/terraform-provider-powerstore/issues/120

Common PR Checklist:

  • Have you made sure that the code compiles?
  • Have you commented your code, particularly in hard-to-understand areas
  • Did you run tests in a real Kubernetes cluster?
  • Have you maintained backward compatibility

Description of your changes:

PR is raised to add modify functionality for replication rule. Also, the ReplicationRuleCreate is enhanced to support optional params during create operation. Tested with unit test. Please find below screenshot.

image

Signed-off-by: shenda1 <akash.shendge@dell.com>
Signed-off-by: shenda1 <akash.shendge@dell.com>
@adarsh-dell

Copy link
Copy Markdown
Contributor

LGTM. Please take approval from @AkshaySainiDell @donatwork @santhoshatdell ....

@AkshaySainiDell

Copy link
Copy Markdown
Contributor

@shenda1 Please generate mock for the new method.

donatwork
donatwork previously approved these changes Dec 13, 2024
Signed-off-by: shenda1 <akash.shendge@dell.com>
@shenda1

shenda1 commented Dec 13, 2024

Copy link
Copy Markdown
Contributor Author

@shenda1 Please generate mock for the new method.

Hi @AkshaySainiDell The modify function does not return any response apart from status code. Please find below screenshot.
image

@shenda1 shenda1 requested a review from donatwork December 13, 2024 11:49
Signed-off-by: shenda1 <akash.shendge@dell.com>
Signed-off-by: shenda1 <akash.shendge@dell.com>
@AkshaySainiDell AkshaySainiDell merged commit e3e9d2a into main Dec 16, 2024
@AkshaySainiDell AkshaySainiDell deleted the replication_rule_enhancement branch December 16, 2024 05:05
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