Closed pyby closed 10 months ago
Various strategies exist.
Building a a new frontend with up to date components is one solution.
https://github.com/SRGSSR/playsrg-playfff/tree/76-fix-frontend-build
ng serve
run locally.
On Heroku, we need to understand how the node.js server is started and watched for urls after the /login
from Sprint boot.
The updated stack is adapted:
WebMvcConfigurerAdapter
Spring Boot server is mapping static file urls to the web Angular application files.Those tasks are under code control now.
Adaption required for Android requests:
//api/v2/deeplink/parsePlayUrl.js
-> "//"./api/v2/playlist/recommendation/{purpose}/{urn}", "/api/v2/playlist/recommendation/{purpose}/{urn}.json
-> ".json" extension.The CI needs to run unit test again.
To run mvn clean test
, an up to date maven-surefire-plugin
configuration needed. Done, the CI runs now 125 tests.
Issue type
Incorrect behavior
Description of the problem
Since 30.04.2023, the CI and Herokuapp can't install the frontend part in Nodejs. The PR https://github.com/SRGSSR/playsrg-playfff/pull/75 can't be deployed.
Environment information
Too old node.js libraries.
Reproducibility
Always reproducible
Steps to reproduce
mvn clean install -DskipTests