| 48 | } |
| 49 | |
| 50 | void ServiceGroup::EvaluateObjectRules(const Service::Ptr& service) |
| 51 | { |
| 52 | CONTEXT("Evaluating group membership for service '" << service->GetName() << "'"); |
| 53 | |
| 54 | for (const ConfigItem::Ptr& group : ConfigItem::GetItems(ServiceGroup::TypeInstance)) |
| 55 | { |
| 56 | if (!group->GetFilter()) |
| 57 | continue; |
| 58 | |
| 59 | EvaluateObjectRule(service, group); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | std::set<Service::Ptr> ServiceGroup::GetMembers() const |
| 64 | { |