Giter Club home page Giter Club logo

Comments (15)

imihov1988 avatar imihov1988 commented on June 15, 2024 1

@joroaf It seems I will get off-projects time next week so I started working today again on this task.
I'm planning now the implementation of the other policy types, or at least the Day 2 Actions Policy as a start.
But I see not all data from the Content Sharing is represented in the Build Tools project VraNgContentSharingPolicy class, for example the list of items for content sharing.

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?

from build-tools-for-vmware-aria.

htourneu avatar htourneu commented on June 15, 2024 1

@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)

from build-tools-for-vmware-aria.

Michaelpalacce avatar Michaelpalacce commented on June 15, 2024 1

This is still active, it's currently in development

from build-tools-for-vmware-aria.

carlosaya avatar carlosaya commented on June 15, 2024 1

Thanks @Tchoui for the work on this one. Looking forward to trying it out soon! 🎉

from build-tools-for-vmware-aria.

Michaelpalacce avatar Michaelpalacce commented on June 15, 2024

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?

from build-tools-for-vmware-aria.

Michaelpalacce avatar Michaelpalacce commented on June 15, 2024

Closing this for now, feel free to re-open if needed.

from build-tools-for-vmware-aria.

htourneu avatar htourneu commented on June 15, 2024

Hello @Michaelpalacce ,

From the description, @RV1959 mentions day-2 action policies.
Looking further into vRA-NG it seems indeed this is not currently supported, is that right?

Best regards,

from build-tools-for-vmware-aria.

imihov1988 avatar imihov1988 commented on June 15, 2024

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.

from build-tools-for-vmware-aria.

RV1959 avatar RV1959 commented on June 15, 2024

I'd say we should keep close to the model vRA itself uses, that would mean
extract the common policy logic in a parent abstract VraNgPolicyStore store and make the VraNgContentSharingPolicyStore one of its 6 derived classes

from build-tools-for-vmware-aria.

joroaf avatar joroaf commented on June 15, 2024

We need to support all types of Aria Policies:
Policy Types

  • Content Sharing Policy
  • Resource Quota Policy
  • Lease Policy
  • Day 2 Actions Policy
  • Approval Policy
  • Deployment Limit Policy

from build-tools-for-vmware-aria.

VenelinBakalov avatar VenelinBakalov commented on June 15, 2024

@Michaelpalacce @joroaf this issue is going to be closed with those 2 PRs right?
#202
vmware-samples/build-tools-for-vmware-aria-samples#1

Or there are further extensions to the policies required? I want to create a link between the issue and the PR

from build-tools-for-vmware-aria.

github-actions avatar github-actions commented on June 15, 2024

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.

from build-tools-for-vmware-aria.

github-actions avatar github-actions commented on June 15, 2024

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.

from build-tools-for-vmware-aria.

VenelinBakalov avatar VenelinBakalov commented on June 15, 2024

@Michaelpalacce this is still active right? if yes, no need to respond, just adding this comment to remove stale

from build-tools-for-vmware-aria.

VenelinBakalov avatar VenelinBakalov commented on June 15, 2024

Closed with #242 and to be included in next release

from build-tools-for-vmware-aria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.