protected function getShopId(ContainerBuilder $container, $shop, $name)
    {
        $shops = $container->getParameter('ongr_connections.shops');
        if (!isset($shops[$shop])) {
            throw new \InvalidArgumentException('Non existing shop provided for pipeline ' . $name);
        }

        return $shops[$shop]['shop_id'];
    }