Migration to last.fm, removed old spotify api client. FOSRestBundle API serving data driven front end (JWT).
This commit is contained in:
1 parent
391ecf1732
commit
56dea097d6
51 files changed
+1749
-844
No files matched your search
+11
-3
@@ -20,10 +20,14 @@ services:
|
||||
# add more service definitions when explicit configuration is needed
|
||||
# please note that last definitions always *replace* previous ones
|
||||
|
||||
App\Service\SpotifyClient:
|
||||
GuzzleHttp\Client:
|
||||
arguments:
|
||||
$clientId: '%env(default::SPOTIFY_CLIENT_ID)%'
|
||||
$clientSecret: '%env(default::SPOTIFY_CLIENT_SECRET)%'
|
||||
$config: { timeout: 10.0, connect_timeout: 5.0, http_errors: false }
|
||||
|
||||
App\Service\LastFmClient:
|
||||
arguments:
|
||||
$httpClient: '@GuzzleHttp\Client'
|
||||
$apiKey: '%env(default::LASTFM_API_KEY)%'
|
||||
|
||||
App\Service\UploadStorage:
|
||||
arguments:
|
||||
@@ -33,3 +37,7 @@ services:
|
||||
App\Controller\AlbumController:
|
||||
arguments:
|
||||
$searchLimit: '%album_search_limit%'
|
||||
|
||||
App\Controller\Api\V1\AlbumApiController:
|
||||
arguments:
|
||||
$searchLimit: '%album_search_limit%'
|
||||
Reference in new issue
Block a user