Integration of Sunbird ED portal with Sunbird Knowlg #442
-
Hi Team Successfully did the Sunbird ED portal and Sunbird knowlg local setup by following the respective BB documentation. But haven't seen the integration document of these 2 building blocks anywhere. Tried updating the below mentioned config variables but couldn't able to connect with knowlg services : A guidance on the integration part of Sunbird ED portal and Sunbird Knowlg building block would be highly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@vinukumar-vs @rajeevsathish can you please get back on this |
Beta Was this translation helpful? Give feedback.
-
@ImranSk3 we have not working on it locally pointing to the Knowlg service of local. Please find the below environment variables & play with it content_Service_Local_BaseUrl: env.sunbird_content_service_local_base_url || 'http://content-service:5000', Learning service(for taxonomy) Configure the above variables with the right local values. |
Beta Was this translation helpful? Give feedback.
-
@vinukumar-vs Thanks for replying back. content_Service_Local_BaseUrl: env.sunbird_content_service_local_base_url || 'http://localhost:9000', LEARNER_URL: env.sunbird_learner_player_url || 'http://localhost:8080/api/', attaching the logs from knowlg local setup 2023-03-29 12:28:56,354 {"eid":"LOG","ets":1680073136353,"ver":"3.0","mid":"LP.1680073136353.682f3292-fc40-4e1e-aa80-f5a84a8177b5","actor":{"id":"org.sunbird.learning.platform","type":"System"},"context":{"channel":"in.ekstep","pdata":{"id":"local.sunbird.portal","pid":"","ver":"1.0"},"env":"content","sid":"2a1a3be2-6a7b-e34e-fbc4-b3e8d7d69004","did":"aa251621fd37d60d52377f873dda49e9"},"edata":{"level":"INFO","type":"api_access","message":"","params":[{"duration":27},{"protocol":"http"},{"size":34491},{"method":"POST"},{"uip":"127.0.0.1"},{"url":"/api/org/v2/search"},{"status":404}]},"syncts":1680073136353} Please help me how these endpoint proxies would get resolved! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
@ImranSk3 we have not working on it locally pointing to the Knowlg service of local. Please find the below environment variables & play with it
https://github.com/Sunbird-Ed/SunbirdEd-portal/blob/release-5.2.0/src/app/helpers/environmentVariablesHelper.js
content_Service_Local_BaseUrl: env.sunbird_content_service_local_base_url || 'http://content-service:5000',
CONTENT_SERVICE_UPSTREAM_URL: env.sunbird_content_service_upstream_url || 'http://localhost:5000/',
CONTENT_URL: env.sunbird_content_player_url || SB_DOMAIN + '/api/',
CONTENT_PROXY_URL: env.sunbird_content_proxy_url || SB_DOMAIN,
Learning service(for taxonomy)
LEARNER_URL: env.sunbird_learner_player_url || SB_DOMAIN + '/api/',
LEA…