From 8739af46c5ec5f0b4792fb48e76ee1c95c1032f3 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 17 Nov 2017 09:31:06 +0200 Subject: [PATCH] Remove dev config for eightpoints/guzzle-bundle and add client in main config --- .../config/packages/dev/eight_points_guzzle.yaml | 2 -- .../7.0/config/packages/eight_points_guzzle.yaml | 14 +++++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) delete mode 100644 eightpoints/guzzle-bundle/7.0/config/packages/dev/eight_points_guzzle.yaml diff --git a/eightpoints/guzzle-bundle/7.0/config/packages/dev/eight_points_guzzle.yaml b/eightpoints/guzzle-bundle/7.0/config/packages/dev/eight_points_guzzle.yaml deleted file mode 100644 index d52927c0..00000000 --- a/eightpoints/guzzle-bundle/7.0/config/packages/dev/eight_points_guzzle.yaml +++ /dev/null @@ -1,2 +0,0 @@ -eight_points_guzzle: - logging: true diff --git a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml index 5cfd90c1..baaf6851 100644 --- a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml +++ b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml @@ -1,2 +1,14 @@ eight_points_guzzle: - clients: ~ + clients: + api_payment: + base_url: "http://api.domain.tld" + + options: + timeout: 30 + + headers: + Accept: "application/json" + + # Find plugins here: + # https://github.com/8p/EightPointsGuzzleBundle#known-and-supported-plugins + plugin: ~