From bf4190a78b800002f9f9427c6518a9e97be81bff Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 27 Sep 2023 10:11:48 +0200 Subject: [PATCH] Enhancement: Add recipe for `datana-gmbh/formulario-api` --- .../1.0/config/packages/datana_formulario_api.yaml | 14 ++++++++++++++ datana-gmbh/formulario-api/1.0/manifest.json | 9 +++++++++ 2 files changed, 23 insertions(+) create mode 100644 datana-gmbh/formulario-api/1.0/config/packages/datana_formulario_api.yaml create mode 100644 datana-gmbh/formulario-api/1.0/manifest.json diff --git a/datana-gmbh/formulario-api/1.0/config/packages/datana_formulario_api.yaml b/datana-gmbh/formulario-api/1.0/config/packages/datana_formulario_api.yaml new file mode 100644 index 000000000..12bd1c2f8 --- /dev/null +++ b/datana-gmbh/formulario-api/1.0/config/packages/datana_formulario_api.yaml @@ -0,0 +1,14 @@ +services: + _defaults: + autowire: true + + Datana\Formulario\Api\DatapoolClient: + arguments: + - '%env(FORMULARIO_API_BASE_URI)%' + - '%env(FORMULARIO_API_TOKEN)%' + + Datana\Formulario\Api\DateneingabenApi: null + Datana\Formulario\Api\DateneingabenApiInterface: '@Datana\Formulario\Api\DateneingabenApi' + + Datana\Formulario\Api\StatisticsApi: null + Datana\Formulario\Api\StatisticsApiInterface: '@Datana\Formulario\Api\StatisticsApi' diff --git a/datana-gmbh/formulario-api/1.0/manifest.json b/datana-gmbh/formulario-api/1.0/manifest.json new file mode 100644 index 000000000..aa34c7c22 --- /dev/null +++ b/datana-gmbh/formulario-api/1.0/manifest.json @@ -0,0 +1,9 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "FORMULARIO_API_BASE_URI": "", + "FORMULARIO_API_TOKEN": "", + } +}