Skip to content

Comments

Servantify conversation rename#1737

Merged
pcapriotti merged 8 commits intodevelopfrom
pcapriotti/servantify-conv-name
Sep 8, 2021
Merged

Servantify conversation rename#1737
pcapriotti merged 8 commits intodevelopfrom
pcapriotti/servantify-conv-name

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Sep 6, 2021

This migrates the conversation rename endpoints to Servant, makes them deprecated, and adds a qualified endpoint for renaming a conversation. The qualified endpoint still only works for local conversations.

I also added some tests for both deprecated endpoints and the qualified endpoint, and a failing test for the qualified endpoint.

No new nginx routes are needed.

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.
  • If end-points have been added or changed: the endpoint / config-flag checklist (see Wire-employee only backend wiki page) has been followed.
  • Section Unreleased of CHANGELOG-draft.md contains the following bits of information:
    • A line with the title and number of the PR in one or more suitable sub-sections.
    • If public end-points have been changed or added: does nginz need upgrade?

The hack in #1700 does not actually seem to work in CI, and in fact it
prevents log output from being displayed at all when helm test fails.

The integration-test-logs.sh script is still around, and it can be used
to display helm test output interactive when running tests manually in a
terminal.
Comment on lines 2429 to 2430
putQualifiedConversationName (qUnqualified qbob) qconv "gossip"
!!! const 404 === statusCode
Copy link
Contributor

Choose a reason for hiding this comment

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

Just nitpicking: how about asserting on a label too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in b0bb104.

@pcapriotti pcapriotti merged commit 3236a12 into develop Sep 8, 2021
@pcapriotti pcapriotti deleted the pcapriotti/servantify-conv-name branch September 8, 2021 12:49
@jschaul jschaul mentioned this pull request Sep 13, 2021
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