...
Le module cards qui affichait un portefeuille avec la carte étudiante de l'établissement et la carte étudiante européenne a été retiré au profit de 2 modules indépendants card et card-eu.
Frontend
Il faut retirer les instances de cards dans les fichiers de configuration du client.
| Bloc de code | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
- "cards": {
- "projectType": "library",
- "root": "projects/cards",
- "sourceRoot": "projects/cards/src",
- "prefix": "lib",
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:ng-packagr",
- "options": {
- "project": "projects/cards/ng-package.json"
- },
- "configurations": {
- "production": {
- "tsConfig": "projects/cards/tsconfig.lib.prod.json"
- },
- "development": {
- "tsConfig": "projects/cards/tsconfig.lib.json"
- }
- },
- "defaultConfiguration": "production"
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "main": "projects/cards/src/test.ts",
- "tsConfig": "projects/cards/tsconfig.spec.json",
- "karmaConfig": "projects/cards/karma.conf.js"
- }
- },
- "lint": {
- "builder": "@angular-eslint/builder:lint",
- "options": {
- "lintFilePatterns": [
- "projects/cards/**/*.ts",
- "projects/cards/**/*.html"
- ]
- }
- }
- }
- }, |
Backend
dev/user-backend-nest/main
...
| Bloc de code | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
+ CARD_EU_SERVICE_HOST=localhost
+ CARD_EU_SERVICE_PORT=3020
+ CARD_EU_SERVICE_NATS_SERVERS=nats://localhost:4222
+ # Infos de connexion au connecteur fournissant les informations pour l'affichage de la carte dématérialisée
+ CARD_EU_SERVICE_PROVIDER_API_URL=http://localhost:3099/mocking/card-eu/{username}/extended
+ CARD_EU_SERVICE_PROVIDER_API_BEARER_TOKEN=
+ CARD_EU_SERVICE_PROVIDER_API_LIGHT_URL=https://router.europeanstudentcard.eu/esc-rest/api/v2/cards/{escn}
+ CARD_EU_SERVICE_PROVIDER_API_LIGHT_BEARER_TOKEN=
|
| Remarque |
|---|
Pour plus d'informations, se reporter à la configuration de la fonctionnalité card-eu côté client |
...