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

Revert "Improve link handling in content endpoint" #2847

Conversation

tahb
Copy link
Contributor

@tahb tahb commented Aug 20, 2024

Reverts #2823

During the testing of this change on integration we found we got timeouts when trying to send the field: link_set_links.

We have proposed an alternative way for us to find embedded content via a new endpoint altogether. More information such as benchmarking can be found there.

As this doesn't work on integration it is unlikely that any API consumers other than us have started using this.

I asked in govuk-publishing-platform if there was a formal process for deprecating this and @callumknights suggested a straight revert should be fine.

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.

have a green tick :)

@tahb tahb merged commit 6cee925 into main Aug 21, 2024
13 checks passed
@tahb tahb deleted the revert-2823-content-modelling/377-improve-link-handling-in-content-endpoint branch August 21, 2024 09:02
@tahb
Copy link
Contributor Author

tahb commented Aug 21, 2024

Since being reverted @richardTowers may have found the flaw that might have improved the performance. Should this work need to go back in for any reason (perhaps someone else wants to query by the link_set_links field?) then the suggestion is worth investigating further!

That said I think the new approach we're taking of a dedicated endpoint for embedded content is a good idea so we'll leave this reverted.

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