[FEATURE] Create #NR_Datacenter_AVA
❄️ Problème
🛷 Proposition
☃️ Remarques
🧑🎄 Pour tester
Choisir les applications à déployer :
- [x] API | 👩💻 Dashboard Scalingo
- [x] App (.fr) – App (.org) | 👩💻 Dashboard Scalingo
- [ ] Orga (.fr) – Orga (.org) | 👩💻 Dashboard Scalingo
- [ ] Certif (.fr) – Certif (.org) | 👩💻 Dashboard Scalingo
- [ ] Junior | 👩💻 Dashboard Scalingo
- [ ] Admin | 👩💻 Dashboard Scalingo
- [ ] API MaDDo | 👩💻 Dashboard Scalingo
- [ ] Audit Logger | 👩💻 Dashboard Scalingo
[!IMPORTANT] N'oubliez pas de déployer l'API pour pouvoir accéder aux fronts et/ou à l’API MaDDo.
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoad (node:internal/modules/esm/load:108:3)
at ModuleLoader.load (node:internal/modules/esm/loader:815:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:594:31)
at #createModuleJob (node:internal/modules/esm/loader:624:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:343:34)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:311:41)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:664:25) {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoad (node:internal/modules/esm/load:108:3)
at ModuleLoader.load (node:internal/modules/esm/loader:815:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:594:31)
at #createModuleJob (node:internal/modules/esm/loader:624:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:343:34)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:311:41)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:664:25) {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoadSync (node:internal/modules/esm/load:164:3)
at #loadAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:795:12)
at #loadSync (node:internal/modules/esm/loader:815:49)
at ModuleLoader.load (node:internal/modules/esm/loader:780:26)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:526:31)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:571:36)
at afterResolve (node:internal/modules/esm/loader:624:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:630:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:649:32)
at TracingChannel.tracePromise (node:diagnostics_channel:350:14)
at ModuleLoader.import (node:internal/modules/esm/loader:645:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:225:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:267:12)
at importModules (file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:64:33)
at async file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:8:21 {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoadSync (node:internal/modules/esm/load:164:3)
at #loadAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:795:12)
at #loadSync (node:internal/modules/esm/loader:815:49)
at ModuleLoader.load (node:internal/modules/esm/loader:780:26)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:526:31)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:571:36)
at afterResolve (node:internal/modules/esm/loader:624:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:630:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:649:32)
at TracingChannel.tracePromise (node:diagnostics_channel:350:14)
at ModuleLoader.import (node:internal/modules/esm/loader:645:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:225:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:267:12)
at importModules (file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:64:33)
at async file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:8:21 {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoadSync (node:internal/modules/esm/load:164:3)
at #loadAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:795:12)
at #loadSync (node:internal/modules/esm/loader:815:49)
at ModuleLoader.load (node:internal/modules/esm/loader:780:26)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:526:31)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:571:36)
at afterResolve (node:internal/modules/esm/loader:624:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:630:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:649:32)
at TracingChannel.tracePromise (node:diagnostics_channel:350:14)
at ModuleLoader.import (node:internal/modules/esm/loader:645:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:225:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:267:12)
at importModules (file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:64:33)
at async file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:8:21 {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoadSync (node:internal/modules/esm/load:164:3)
at #loadAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:795:12)
at #loadSync (node:internal/modules/esm/loader:815:49)
at ModuleLoader.load (node:internal/modules/esm/loader:780:26)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:526:31)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:571:36)
at afterResolve (node:internal/modules/esm/loader:624:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:630:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:649:32)
at TracingChannel.tracePromise (node:diagnostics_channel:350:14)
at ModuleLoader.import (node:internal/modules/esm/loader:645:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:225:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:267:12)
at importModules (file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:64:33)
at async file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:8:21 {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}
Les tests Modulix ont échoué. Voici les détails :
> [email protected] modulix:test
> npm run test:api:path -- 'tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js' 'tests/devcomp/acceptance/module-instantiation_test.js' 'tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js' 'tests/devcomp/integration/repositories/module-repository_test.js'
> [email protected] test:api:path
> NODE_ENV=test node --env-file-if-exists=.env ./node_modules/mocha/bin/mocha --exit --recursive --reporter=${MOCHA_REPORTER:-dot} tests/devcomp/unit/infrastructure/datasources/learning-content/module-datasource_test.js tests/devcomp/acceptance/module-instantiation_test.js tests/devcomp/unit/infrastructure/datasources/learning-content/validation/module-validation_test.js tests/devcomp/integration/repositories/module-repository_test.js
.env not found. Continuing without it.
Exception during run: TypeError [ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE]: Module "file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/modules/%23NR_Datacenter_AVA" is not of type "json"
at handleInvalidType (node:internal/modules/esm/assert:109:9)
at validateAttributes (node:internal/modules/esm/assert:77:14)
at defaultLoadSync (node:internal/modules/esm/load:164:3)
at #loadAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:795:12)
at #loadSync (node:internal/modules/esm/loader:815:49)
at ModuleLoader.load (node:internal/modules/esm/loader:780:26)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:526:31)
at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:571:36)
at afterResolve (node:internal/modules/esm/loader:624:52)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:630:12)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:649:32)
at TracingChannel.tracePromise (node:diagnostics_channel:350:14)
at ModuleLoader.import (node:internal/modules/esm/loader:645:21)
at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:225:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:267:12)
at importModules (file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:64:33)
at async file:///home/runner/work/pix/pix/api/src/devcomp/infrastructure/datasources/learning-content/module-datasource.js:8:21 {
code: 'ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE'
}