-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add policies to the content.yaml #77
Comments
Hey @RV1959, Regarding content sharing policies? https://github.com/vmware/build-tools-for-vmware-aria/releases/tag/v2.31.0 They are supported as of 2.31.0. Read more about them at: https://github.com/vmware/build-tools-for-vmware-aria/blob/v2.31.0/docs/versions/v2.31.0/Release.md Are you talking about other policies? |
Closing this for now, feel free to re-open if needed. |
Hello @Michaelpalacce , From the description, @RV1959 mentions day-2 action policies. Best regards, |
There is a discussion to be held around adding the new types of policies. The Content Sharing Policy is defined like a single policy (the VraNgContentSharingPolicyStore). However in Aria there are 6 types of policies - like Approval, Day 2 etc One possible solution is to refactor the VraNgContentSharingPolicyStore, extract the common policy logic in a parent abstract VraNgPolicyStore store and make the VraNgContentSharingPolicyStore one of its 6 derived classes. However there will be changes needed above because currently there is only one ContentType for policies - policy. Another option is to rename the VraNgContentSharingPolicyStore to a VraNgPolicyStore without making it a base abstract class and to make it handle internally with different strategies the implementations of the different policies processings. However this seems to me will not align with the current model of architecture. |
I'd say we should keep close to the model vRA itself uses, that would mean |
We need to support all types of Aria Policies:
|
@joroaf It seems I will get off-projects time next week so I started working today again on this task. I'd also like to know from where the string of 'policy' comes indicating the PackageContent.ContentType-s, I guess from Aria API, just for some reason I didnt find it in the docs. Would you have a possibility for a 15-20 min sync meeting on Monday just to exchange some knowledge about the domain of the desired functionality? |
@Michaelpalacce @joroaf this issue is going to be closed with those 2 PRs right? Or there are further extensions to the policies required? I want to create a link between the issue and the PR |
@VenelinBakalov - both PR you quoted are about vRo policies, this issue is related to vRa Service Broker policies, ie: day 2 action policies, content sharing, approvals, quota etc... (see the list from @joroaf above) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This is still active, it's currently in development |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
@Michaelpalacce this is still active right? if yes, no need to respond, just adding this comment to remove stale |
Thanks @Tchoui for the work on this one. Looking forward to trying it out soon! 🎉 |
Closed with #242 and to be included in next release |
Description
Currently, VBT does not support policies in the content.yaml
As a result, we now need to manually copy some organisation-wide Day-2-Actions policies from Development vRA to Acceptance and to Production. The large number of actions makes this an error-prone operation that should be automated.
It would be great if VBT was able to import/export these and other policies.
On export, the organisation-id should be taken from the settings.xml of course.
Alternatives
n/a
Additional Context
n/a
The text was updated successfully, but these errors were encountered: