Skip to content
Snippets Groups Projects
Commit 8c0c7765 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

Change konnector slugs

parent d1ce2035
No related branches found
No related tags found
No related merge requests found
...@@ -6,5 +6,5 @@ echo Adding secrets to DB ... ...@@ -6,5 +6,5 @@ echo Adding secrets to DB ...
source .env source .env
docker-compose exec db curl -X PUT -d "{\"_id\":\"egl\",\"grant_mode\":\"secret\",\"slug\":\"egl\",\"secret\":{\"eglBaseURL\":\"${EGL_BASE_URL}\",\"eglAPIAuthKey\":\"${EGL_API_AUTH_KEY}\"}}" http://127.0.0.1:5984/secrets%2Fio-cozy-account_types/egl docker-compose exec db curl -X PUT -d "{\"_id\":\"eglgrandlyon\",\"grant_mode\":\"secret\",\"slug\":\"eglgrandlyon\",\"secret\":{\"eglBaseURL\":\"${EGL_BASE_URL}\",\"eglAPIAuthKey\":\"${EGL_API_AUTH_KEY}\"}}" http://127.0.0.1:5984/secrets%2Fio-cozy-account_types/eglgrandlyon
docker-compose exec db curl -X PUT -d "{\"_id\":\"enedis\",\"grant_mode\":\"authorization_code\",\"client_id\":\"${ENEDIS_CLIENT_ID}\",\"client_secret\":\"${ENEDIS_CLIENT_SECRET}\",\"auth_endpoint\":\"${ENEDIS_AUTH_ENDPOINT}\",\"token_endpoint\": \"${ENEDIS_TOKEN_ENDPOINT}\",\"token_mode\":\"get\"}" http://127.0.0.1:5984/secrets%2Fio-cozy-account_types/enedis docker-compose exec db curl -X PUT -d "{\"_id\":\"enedisgrandlyon\",\"grant_mode\":\"authorization_code\",\"client_id\":\"${ENEDIS_CLIENT_ID}\",\"client_secret\":\"${ENEDIS_CLIENT_SECRET}\",\"auth_endpoint\":\"${ENEDIS_AUTH_ENDPOINT}\",\"token_endpoint\": \"${ENEDIS_TOKEN_ENDPOINT}\",\"token_mode\":\"get\"}" http://127.0.0.1:5984/secrets%2Fio-cozy-account_types/enedisgrandlyon
\ No newline at end of file \ No newline at end of file
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
echo "Updating Konnectors ..." echo "Updating Konnectors ..."
docker-compose exec cozy ./cozy konnectors update enedis --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/enedis-konnector.git#build docker-compose exec cozy ./cozy konnectors update enedisgrandlyon --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/enedis-konnector.git#build
docker-compose exec cozy ./cozy konnectors update grdf --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/grdf-konnector.git#build docker-compose exec cozy ./cozy konnectors update grdfgrandlyon --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/grdf-konnector.git#build
docker-compose exec cozy ./cozy konnectors update egl --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git#build docker-compose exec cozy ./cozy konnectors update eglgrandlyon --all-domains git://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git#build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment