Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Remove unspecced GET endpoints for e2e keys #1694

Merged
merged 1 commit into from Dec 12, 2016

Conversation

Projects
None yet
2 participants
Member

richvdh commented Dec 12, 2016

GET /keys/claim is a terrible idea, since it isn't idempotent; also it throws
500 errors if you call it without all the right params.

GET /keys/query is arguable, but it's unspecced, so let's get rid of it too to
stop people relying on unspecced APIs.

Owner

erikjohnston commented Dec 12, 2016

I take it these are unused?

Owner

erikjohnston commented Dec 12, 2016

(I don't see any calls to those APIs on matrix.org over the weekend)

richvdh added a commit to matrix-org/sytest that referenced this pull request Dec 12, 2016

Make E2E key tests use specced endpoints
matrix-org/synapse#1694 removes the unspecced
endpoints, so don't try to use them.

@richvdh richvdh referenced this pull request in matrix-org/sytest Dec 12, 2016

Merged

Make E2E key tests use specced endpoints #330

Member

richvdh commented Dec 12, 2016

Yeah... apparently the tests don't think so though. Working on them.

Member

richvdh commented Dec 12, 2016

retest this please

Remove unspecced GET endpoints for e2e keys
GET /keys/claim is a terrible idea, since it isn't idempotent; also it throws
500 errors if you call it without all the right params.

GET /keys/query is arguable, but it's unspecced, so let's get rid of it too to
stop people relying on unspecced APIs.

@richvdh richvdh requested a review from erikjohnston Dec 12, 2016

LGTM, once the sytests have been merged

@richvdh richvdh merged commit d431c09 into develop Dec 12, 2016

5 of 8 checks passed

Sytest Dendron (Merged PR) Build finished.
Details
Sytest Postgres (Merged PR) Build finished.
Details
Sytest SQLite (Merged PR) Build finished.
Details
Sytest Dendron (Commit) Build #1239 origin/rav/no_get_e2e_keys succeeded in 13 min
Details
Sytest Postgres (Commit) Build #2080 origin/rav/no_get_e2e_keys succeeded in 7 min 52 sec
Details
Sytest SQLite (Commit) Build #2123 origin/rav/no_get_e2e_keys succeeded in 6 min 50 sec
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@richvdh richvdh deleted the rav/no_get_e2e_keys branch Mar 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment