Repository navigation
chore(bbb-web): remove the dead api/guestWait route - #26117
antobinary merged 1 commit into
Conversation
/bigbluebutton/api/guestWait was mapped to a guestWaitHandler action that ApiController no longer has: 5d3178f (bigbluebutton#20344) turned the guest wait page into a React component, which reads the guest status over GraphQL, and deleted the action together with the static page it served. The mapping stayed behind, so the route has answered 404 since, and nothing in the repository builds that URL any more. The mapping goes, with the GUEST_WAIT validation entry, its GuestWait request class, which only that entry constructed, and the guestWait requests in the Postman collections, as was done when /enter was removed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe change removes the Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Merge Risk: ⚪ Minimal · up to
|
✅ Automated tests have passed! |
api/guestWait (bigbluebutton#26117) and presentation/delegate (bigbluebutton#26119) are gone. The cases pin the 404 and record the error page without comparing it.
What does this PR do?
Removes the
/bigbluebutton/api/guestWaitroute and the code that only existed for it:UrlMappings.groovyentry that pointed it atApiController.guestWaitHandlerGUEST_WAITentry and case inValidationServiceGuestWaitrequest class, which only that case constructedguestWaitrequests in the Postman collectionsThe guest lobby itself is not touched: since #20344 it is the client's
join-handler/guest-waitReact component, rendered bypresenceManagerfromuser_current.guestStatusover GraphQL.Why
#20344 (5d3178f) turned the guest wait page into that React component and deleted
guestWaitHandlertogether with the staticguest-wait.htmlit served and polled, but left the mapping behind. Grails has had no action to dispatch to since, so the route answers 404 (checked on a 4.0.1 build:GET /bigbluebutton/api/guestWaitis 404 while/api/joinwithout parameters is a 302), and nothing in the repository builds that URL any more. The validation entry and request class were only reachable through that action. Same cleanup as was done for/enter.How to test
guestPolicy=ASK_MODERATORstill lands in the lobby and is let in or denied by a moderator as before (nothing on that path changes).curl -I https://<server>/bigbluebutton/api/guestWaitis 404 before and after.Notes
bbb-common-webandbigbluebutton-webwere checked for remaining references toGuestWait,GUEST_WAIT,guestWaitHandlerandapi/guestWait(none outside this diff); the Java/Grails build was not run locally.