diff --git a/datana-gmbh/url-shortener-api/1.0/config/packages/datana_url_shortener_api.yaml b/datana-gmbh/url-shortener-api/1.0/config/packages/datana_url_shortener_api.yaml new file mode 100644 index 00000000..56bbbd99 --- /dev/null +++ b/datana-gmbh/url-shortener-api/1.0/config/packages/datana_url_shortener_api.yaml @@ -0,0 +1,12 @@ +services: + _defaults: + autowire: true + + Datana\UrlShortener\Api\UrlShortenerClient: + arguments: + - '%env(URL_SHORTENER_API_BASE_URI)%' + - '%env(URL_SHORTENER_API_USERNAME)%' + - '%env(URL_SHORTENER_API_PASSWORD)%' + + Datana\UrlShortener\Api\UrlShortenerApi: null + Datana\UrlShortener\Api\UrlShortenerApiInterface: '@Datana\UrlShortener\Api\UrlShortenerApi' diff --git a/datana-gmbh/url-shortener-api/1.0/manifest.json b/datana-gmbh/url-shortener-api/1.0/manifest.json new file mode 100644 index 00000000..f5e8d42b --- /dev/null +++ b/datana-gmbh/url-shortener-api/1.0/manifest.json @@ -0,0 +1,10 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "URL_SHORTENER_API_BASE_URI": "", + "URL_SHORTENER_API_USERNAME": "", + "URL_SHORTENER_API_PASSWORD": "" + } +}