Add recipe for datana-gmbh/url-shortener-api (#1503)

This commit is contained in:
Oskar Stark
2023-04-27 11:30:21 +02:00
committed by GitHub
parent 8ea1e7e6d6
commit 45f40fd7a8
2 changed files with 22 additions and 0 deletions
@@ -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'
@@ -0,0 +1,10 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"URL_SHORTENER_API_BASE_URI": "",
"URL_SHORTENER_API_USERNAME": "",
"URL_SHORTENER_API_PASSWORD": ""
}
}