replace deprecated pooler.get_pool() by registry()
Merge pull request #23 from yvaucher/8.0-registry-replaces-get_pool

replace deprecated pooler.get_pool() by registry()