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

WSTEAM1-1347 Move Podcast & On Demand Audio Data Fetching to BFF #12208

Merged
merged 27 commits into from
Dec 4, 2024

Conversation

emilysaffron
Copy link
Contributor

Resolves JIRA WSTEAM1-1347

Overall changes

Fetch data from the BFF in getInitialData instead of calling ares and processing the data within simorgh

Code changes

  • Updates getInitalData for onDemandAudio and Podcast pages
  • Updates tests

Testing

Test plan is WIP ! 🚧

Make sure the following are all wokring as expected, can use the test environment to regression test against live.
Links for testing :
onDemandAudio brand: https://www.bbc.com/gahuza/bbc_gahuza_radio/programmes/p02pcb5c
onDemandAudio episode: https://www.bbc.com/gahuza/bbc_gahuza_radio/p0k1qjp9
podcast brand: https://www.bbc.com/gahuza/podcasts/p07yh8hb
podcast episode: https://www.bbc.com/gahuza/podcasts/p07yh8hb/p094vs2n

Helpful Links

Add Links to useful resources related to this PR if applicable.

Coding Standards

Repository use guidelines

data/gahuza/bbc_gahuza_radio/audio.json Outdated Show resolved Hide resolved
src/app/components/Curation/index.test.tsx Outdated Show resolved Hide resolved
src/app/legacy/containers/RadioSchedule/index.jsx Outdated Show resolved Hide resolved
src/app/legacy/containers/RadioSchedule/index.test.jsx Outdated Show resolved Hide resolved
src/app/routes/onDemandRadio/index.js Show resolved Hide resolved
src/app/routes/utils/processRecentEpisodes/index.test.jsx Outdated Show resolved Hide resolved
src/app/components/ATIAnalytics/params/index.ts Outdated Show resolved Hide resolved
src/app/components/ATIAnalytics/params/index.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@Isabella-Mitchell Isabella-Mitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 So much work here!

Looked over the links locally (e.g. http://localhost.bbc.com:7080/gahuza/podcasts/p07yh8hb/p0k4x0jm?renderer_env=live) and compared it to live. Looks good. Will test fully once approved 👍

@karinathomasbbc karinathomasbbc merged commit f8cfcc6 into latest Dec 4, 2024
11 checks passed
@karinathomasbbc karinathomasbbc deleted the WSTEAM1-1347-fetch-ondemand-podcast-from-bff branch December 4, 2024 09:31
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.

5 participants