-
Notifications
You must be signed in to change notification settings - Fork 26
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
[artifact-manager) (#588) Policies import and export for multi tenant environments #600
Conversation
No longer allows policies of the same type with the same name. Will do checks to enforce this. This is not tested Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
It may be important to set the projectId only if it was initially set Signed-off-by: Stefan Genov <[email protected]>
on functionality Signed-off-by: Stefan Genov <[email protected]>
fixes Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
.../main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgApprovalPolicyStore.java
Show resolved
Hide resolved
.../main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgApprovalPolicyStore.java
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Show resolved
Hide resolved
...in/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java
Show resolved
Hide resolved
...ava/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDeploymentLimitPolicyStore.java
Show resolved
Hide resolved
...src/main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgLeasePolicyStore.java
Show resolved
Hide resolved
...src/main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgLeasePolicyStore.java
Show resolved
Hide resolved
.../java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java
Show resolved
Hide resolved
.../java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java
Show resolved
Hide resolved
.../main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgApprovalPolicyStore.java
Outdated
Show resolved
Hide resolved
.../main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgApprovalPolicyStore.java
Outdated
Show resolved
Hide resolved
.../main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgApprovalPolicyStore.java
Outdated
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Outdated
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Outdated
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great effort, Stef, thank you so much!
There's a few comments here and there, some might trigger discussions on the tool behaviour, the comments will be applicable for multiple operations even if it's only one comment, these might require more broad discussions, mainly concerns:
- Configuration significance - no config - pull all, empty config - pull none, specific config - pull specified - do we want that, is it there already?
- Rollback type of behaviour - in cases where we delete items and create the new ones and the creation fails, how do we ensure business continuity? Re-creating the original entries? We should also consider partial state being uploaded - some policies are there, some are not, would there be business disruptions caused.
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Show resolved
Hide resolved
...java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgContentSharingPolicyStore.java
Show resolved
Hide resolved
...ava/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDeploymentLimitPolicyStore.java
Show resolved
Hide resolved
...in/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java
Outdated
Show resolved
Hide resolved
...in/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java
Outdated
Show resolved
Hide resolved
...in/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java
Outdated
Show resolved
Hide resolved
...ava/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgDeploymentLimitPolicyStore.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgLeasePolicyStore.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgLeasePolicyStore.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgLeasePolicyStore.java
Outdated
Show resolved
Hide resolved
.../java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java
Outdated
Show resolved
Hide resolved
.../java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java
Outdated
Show resolved
Hide resolved
.../java/com/vmware/pscoe/iac/artifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java
Outdated
Show resolved
Hide resolved
…ifact/aria/automation/store/VraNgApprovalPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgApprovalPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgApprovalPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgContentSharingPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgDay2ActionsPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgLeasePolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgLeasePolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
…ifact/aria/automation/store/VraNgResourceQuotaPolicyStore.java Co-authored-by: Venelin Bakalov <[email protected]> Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
…re-aria into fix/588-policy-import-and-export Signed-off-by: Stefan Genov <[email protected]>
Signed-off-by: Stefan Genov <[email protected]>
Description
Checklist
Fixed #XXX -
orClosed #XXX -
prefix to auto-close the issueTesting
Release Notes
Related issues and PRs
Closes #588