-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix(KUI-1136): remove kursinfo-api dependency to this repository #386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, but I'd like to figure out how PDF links work in REF. Let's discuss this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice that we have a MEMO_STORAGE_URI
in prod.parameters.json, but not in ref.parameters.json.
I'm wondering right now - how does this actually work in REF? Because PDFs work in ref, but how? Where do we get the correct link from? Do we run the app in REF with the dev
or development
environment set in node?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, the correct fast way would be to add the parameter in ref.parameters as well (obviously the one pointing to REF)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was a really good point, it was my question as well. So inside commonSetting.js we are setting devMemoStorageUri.
const devMemoStorageUri = 'https://kursinfostoragestage.blob.core.windows.net/memo-blob-container/'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go!
Can you add a remark when sending this for testing that pdf-links should be checked as well? Probably good to check them yourself as well before assigning the task.
Sure, I have checked the PDFs and they are comming from kursinfostoragestage in the ref environemnt. I will also create a comment in Jira as well. |
I have removed everything related to kursinfo-API in this repository,
I have tested pages like:
kth.se/kurs-pm/HF1201/om-kurs-pm
https://app-r.referens.sys.kth.se/kurs-pm/SF1624/SF162420252-40001
on my local environment to be sure that the changes have not had any kind of side effect.
In my tests I focused on PDFs comming from kursinfostoragestage and PDFs that will be created for kurs-pm and the general functionalities.