From 638cb77db4b733e7e28f868d1fbcbee3cf01f252 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Date: Sat, 19 Feb 2022 09:36:16 +0000 Subject: [PATCH] Added recipes for coka/service-discovery-bundle (#1354) --- .../1.0/config/packages/oka_service_discovery.yaml | 11 +++++++++++ coka/service-discovery-bundle/1.0/manifest.json | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 coka/service-discovery-bundle/1.0/config/packages/oka_service_discovery.yaml create mode 100644 coka/service-discovery-bundle/1.0/manifest.json diff --git a/coka/service-discovery-bundle/1.0/config/packages/oka_service_discovery.yaml b/coka/service-discovery-bundle/1.0/config/packages/oka_service_discovery.yaml new file mode 100644 index 00000000..1facacf8 --- /dev/null +++ b/coka/service-discovery-bundle/1.0/config/packages/oka_service_discovery.yaml @@ -0,0 +1,11 @@ +oka_service_discovery: + cache_id: cache.app + load_balancing_algorithm: 'round-robin' + dsn: 'php://array' + options: + # Put the options of catalog for the current registry +# services: +# localhost: +# - scheme: 'http' +# host: 127.0.0.1 +# port: 80 diff --git a/coka/service-discovery-bundle/1.0/manifest.json b/coka/service-discovery-bundle/1.0/manifest.json new file mode 100644 index 00000000..9ceaff05 --- /dev/null +++ b/coka/service-discovery-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\ServiceDiscoveryBundle\\OkaServiceDiscoveryBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}