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

Remove Whitehall asset #1220

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Remove Whitehall asset #1220

merged 1 commit into from
Dec 15, 2023

Conversation

yuetylauiris
Copy link
Contributor

@yuetylauiris yuetylauiris commented Dec 11, 2023

Whitehall app no longer using legacy url now so we can delete the related whitehall_assets methods/helpers/tests.

We are keeping the media ones since there are still so use cases of that.

This PR is dependent on the frontend csv preview PR as frontend is still using whitehall_asset endpoint.

Trello card

@yuetylauiris yuetylauiris force-pushed the remove-whitehall-asset branch 3 times, most recently from 273f4bf to 1717d4d Compare December 11, 2023 15:15
yuetylauiris added a commit to alphagov/frontend that referenced this pull request Dec 12, 2023
Whitehall assets related endpoints will be soon removed from GDS API adapters (for more context please see this [PR](alphagov/gds-api-adapters#1220) ) so we are cleaning up use cases in this repo.

Co-authored-by: Tuomas Nylund <[email protected]>
yuetylauiris added a commit to alphagov/frontend that referenced this pull request Dec 12, 2023
Whitehall assets related endpoints will be soon removed from GDS API adapters (for more context please see this [PR](alphagov/gds-api-adapters#1220) ) so we are cleaning up use cases in this repo.

Co-authored-by: Tuomas Nylund <[email protected]>
@yuetylauiris yuetylauiris force-pushed the remove-whitehall-asset branch from 1717d4d to 5ecd215 Compare December 14, 2023 10:26
Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

Looks good, minor comment on naming things. Thanks for this! Good to end some Whitehall weirdness!

@yuetylauiris yuetylauiris force-pushed the remove-whitehall-asset branch from 5ecd215 to 359323a Compare December 14, 2023 14:28
`Whitehall` app no longer using legacy url now so we can delete the related whitehall_assets methods/helpers/tests.

We are keeping the media ones since there are still so use cases of that. For more context please see [this trello card](https://trello.com/c/TREhvM0Q/126-task-upgrade-rake-task-to-modern-asset-endpoint)
Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

nice, thanks

@yuetylauiris yuetylauiris merged commit 6dc170f into main Dec 15, 2023
41 checks passed
@yuetylauiris yuetylauiris deleted the remove-whitehall-asset branch December 15, 2023 09:46
yuetylauiris added a commit that referenced this pull request Dec 15, 2023
Includes:
- #1220
- #1219
@yuetylauiris yuetylauiris mentioned this pull request Dec 15, 2023
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.

2 participants