GOCDB / gocdb

Grid Operations Configuration Management Database. A Repository, Portal and REST style API for managing Grid and Cloud topology objects including; projects, administrative domains, sites, services, service-endpoints, service-groups, downtimes, users, roles and business rules.
Apache License 2.0
12 stars 27 forks source link

Allow editing of downtimes to API #462

Open tofu-rocketry opened 1 year ago

tofu-rocketry commented 1 year ago

From discussions with @jose-caballero, there's a use case to be able to add downtimes across multiple sites/services at once, such as for CVMFS at RAL when the Tier 1 also needs a downtime. Adding write functionality to the API would at least allow people to script this if they have a virtual or physical grouping they need to cover that isn't part of the strict GOCDB hierarchy.

Service Groups don't allow you to add downtimes from them, only list relevant ones.

gregcorbett commented 1 year ago

261 is related as it covers adding the ability to add downtimes across multiple sites/services at once via the portal.

jose-caballero commented 1 year ago

Is this something that can be achieved using Service Groups? Now, my understanding from conversations with @tofu-rocketry is that you can not create groups of groups. Is that correct?

gregcorbett commented 1 year ago

Is this something that can be achieved using Service Groups?

Possibly, I could see functionality whereby you can downtime all/some Services in a ServiceGroup.

Now, my understanding from conversations with @tofu-rocketry is that you can not create groups of groups. Is that correct?

That is correct yes. ServiceGroups currently can only contain Services, not other ServiceGroups.