chorus: update API URLs (#80492)
gitea/barbacompta/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-08-22 13:51:20 +02:00
parent 44d6145b2d
commit 0a9e3b750e
1 changed files with 8 additions and 8 deletions

View File

@ -48,16 +48,16 @@ class ChorusAPI:
PLATFORMS = {
'qualif': {
URL.TOKEN: 'https://sandbox-oauth.aife.economie.gouv.fr/api/oauth/token',
URL.DEPOSER_FLUX: 'https://sandbox-api.aife.economie.gouv.fr/cpro/factures/v1/deposer/flux',
URL.TELECHARGER_ANNUAIRE_DESTINATAIRE: 'https://sandbox-api.aife.economie.gouv.fr/cpro/transverses/v1/telecharger/annuaire/destinataire',
URL.CONSULTER_CR: 'https://sandbox-api.aife.economie.gouv.fr/cpro/transverses/v1/consulterCR',
URL.TOKEN: 'https://sandbox-oauth.piste.gouv.fr/api/oauth/token',
URL.DEPOSER_FLUX: 'https://sandbox-api.piste.gouv.fr/cpro/factures/v1/deposer/flux',
URL.TELECHARGER_ANNUAIRE_DESTINATAIRE: 'https://sandbox-api.piste.gouv.fr/cpro/transverses/v1/telecharger/annuaire/destinataire',
URL.CONSULTER_CR: 'https://sandbox-api.piste.gouv.fr/cpro/transverses/v1/consulterCR',
},
'prod': {
URL.TOKEN: 'https://oauth.aife.economie.gouv.fr/api/oauth/token',
URL.DEPOSER_FLUX: 'https://api.aife.economie.gouv.fr/cpro/factures/v1/deposer/flux',
URL.TELECHARGER_ANNUAIRE_DESTINATAIRE: 'https://api.aife.economie.gouv.fr/cpro/transverses/v1/telecharger/annuaire/destinataire',
URL.CONSULTER_CR: 'https://api.aife.economie.gouv.fr/cpro/transverses/v1/consulterCR',
URL.TOKEN: 'https://oauth.piste.gouv.fr/api/oauth/token',
URL.DEPOSER_FLUX: 'https://api.piste.gouv.fr/cpro/factures/v1/deposer/flux',
URL.TELECHARGER_ANNUAIRE_DESTINATAIRE: 'https://api.piste.gouv.fr/cpro/transverses/v1/telecharger/annuaire/destinataire',
URL.CONSULTER_CR: 'https://api.piste.gouv.fr/cpro/transverses/v1/consulterCR',
},
}