private void updateServiceRegistryWithRegisteredService(final List<RegisteredService> services,
                                                            final RegisteredService cachedService,
                                                            final ServiceRegistry serviceRegistry) {
        saveRegisteredServiceIfNecessary(serviceRegistry, cachedService);
        services.add(cachedService);
    }
This is {@link DefaultRegisteredServiceReplicationStrategy}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/replication/DefaultRegisteredServiceReplicationStrategy.java