Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-5566 - fix merlin feathers service #4480

Merged
merged 5 commits into from
Oct 19, 2023

Conversation

virgilchiriac
Copy link
Contributor

@virgilchiriac virgilchiriac commented Oct 17, 2023

Feathers sometimes does not resolves sub-routes correctly.
In this case, it was better to have a distict route
instead of edu-sharing/merlinToken use edu-sharing-merlinToken

Description

Links to Tickets or other pull requests

BC-5566
hpi-schul-cloud/nuxt-client#2870
hpi-schul-cloud/dof_app_deploy#673

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

Feathers sometimes does not resolves sub-routes correctly.
Sub-routes need to be loaded before the main route.
@virgilchiriac virgilchiriac self-assigned this Oct 17, 2023
@Loki-Afro
Copy link
Member

no unit tests?

Rename the merlinToken feathers service path to a unique path instead of subpath of edu-shraring

Not clear why, but feathers service was suddenly mapped wrong and calling edu-sharing service instead of merlinToken service.
Changing the order of the services load helped, but then lots of tests fail.

fix player path

fix

fix

fix
@virgilchiriac
Copy link
Contributor Author

no unit tests?

it has already some unit tests and the service path was adjusted there accordingly

@virgilchiriac virgilchiriac enabled auto-merge (squash) October 19, 2023 08:04
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@virgilchiriac virgilchiriac merged commit fa3a4f7 into main Oct 19, 2023
45 of 46 checks passed
@virgilchiriac virgilchiriac deleted the BC-5566-lernstore-merlin-error branch October 19, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants