Skip to content

Remove getWikiHostsForDomain endpoint, controller and tests - #1340

Open
dati18 wants to merge 1 commit into
mainfrom
remove-unused-endpoint
Open

dati18 wants to merge 1 commit into
mainfrom
remove-unused-endpoint

Conversation

@dati18

@dati18 dati18 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

platform-nginx config will be changed to use the new endpoint, and /backend/getWikiHostsForDomain endpoint should be removed.

Bug: T444273

@dati18

dati18 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

You can run this test from the PlatformNginxWikiInfoControllerTest test class to check. I don't think it's necessary to add this check to the PR.

    public function testGetWikiHostsForDomainEndpointIsRemoved() {
        $this->get('/backend/getWikiHostsForDomain?domain=test.wikibase.cloud')
            ->assertStatus(404);
    }

@dati18 dati18 changed the title Remove getWikiHostsForDomain endpoint, controller and tests DNF: Remove getWikiHostsForDomain endpoint, controller and tests Nov 26, 2026
@tarrow tarrow changed the title DNF: Remove getWikiHostsForDomain endpoint, controller and tests Remove getWikiHostsForDomain endpoint, controller and tests Nov 30, 2026

@tarrow tarrow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Simply ripping everything out seems to be what we need

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