-
Notifications
You must be signed in to change notification settings - Fork 12
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 parent object to Service Group class #97
Comments
Attached serialization of a custom class 'Service Catalog'. Service Catalog can contain Service Groups, Services and Packets (as builing block for upper objects).
|
Great idea, will need to review internally on introducing nested groups and what level of sanity validation would be needed from the Django ORM perspective. |
Hi there, as per now I went deep into two different and quite opposite firewall manufacturer API's. Main focus is to serialize custom objects yet extending a base one (service, address, etc up to ruleset). Implemented. For both cases I could say (testing alternatives) to achive "infinite" levels of inheretance between service and service group is to use same serializer object towards foreign API endpoint: the existance of "members" or similar key within the returned object is the only difference between a service and a service group. Altough this code is not yet into own dev-lab for nauto (azure extension for secrets procider is) there is no problem to share. Btw: what an evolution in 6 month, nice to see! |
Environment
When you define a tenant group, you can select another object as parent. That leads to the ability to anidate this object.
Service Group would need same approach. This way amount of objects decreases as well as different levels of anidation of Services could be implemented.
Proposed Functionality
SERVICE1
SERVICE2
SERVICE3
SERVICE4
SERVICE5
SERVICE6
GROUP1 = SERVICE1+SERVICE2
GROUP2 = SERVICE3+SERVICE4
GROUP3= SERVICE4+SERVICE5
GROUP4, parent from GROUP3 + SERVICE4
The text was updated successfully, but these errors were encountered: