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

feat(domains): add multiple SNI endpoint support to domains:add #1412

Merged
merged 3 commits into from
Jan 7, 2020

Conversation

cafreeman
Copy link
Contributor

@cafreeman cafreeman commented Dec 16, 2019

Closes https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07B0000007rFIYIA2/view

This PR adds multiple SNI endpoint support to domains:add by doing the following things:

  • Checking for the allow-multiple-sni-endpoints feature flag
  • Exposing a --cert flag that allows users to specify a cert name when adding a domain to an app with multiple certs
  • Exposing an interactive UI for choosing with cert to associate with a domain when the app has multiple certs and no cert has been specified.

- Check for multiple cert feature flag
- Send cert if provided
- Show picker if not provided
@cafreeman cafreeman requested a review from a team as a code owner December 16, 2019 21:57
@cafreeman cafreeman changed the title WIP WIP WIP feat(domains): add multiple SNI endpoint support to domains:add feat(domains): add multiple SNI endpoint support to domains:add Jan 7, 2020
})
.reply(422, {
id: 'invalid_params',
message: '\'sni_endpoint\' param is required when adding a domain to an app with multiple SSL certs.'
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is fine for now, but I do find an issue with sni_endpoint... I really wish we just call it --cert or something

Copy link
Contributor

@brettgoulder brettgoulder left a comment

Choose a reason for hiding this comment

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

👍

@cafreeman cafreeman merged commit 5d87d99 into master Jan 7, 2020
@cafreeman cafreeman deleted the cfreeman/domains-add-multiple-certs branch January 7, 2020 22:31
code0100fun pushed a commit that referenced this pull request Jan 21, 2020
tmock12 pushed a commit that referenced this pull request Jan 21, 2020
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