Furthermore it returns a subset of the discovery to the client, this makes it trivial for us to implement discovery v3 without breaking clients as the upstream discovery format does not match the discovery format that we return to the client now. Also due to the fact that we return very few keys, there is a lot less data to convert when disco v3 is implemented.
Removed organizations keys:
v: you don't need this, common uses it to check rollbacks
go_timestamp: only used by go internally
Removed servers keys:
v: you don't need this, common uses it to check rollbacks
go_timestamp: only used by go internally
Removed server keys:
authentication_url_template: only used by common to skip WAYF
keyword_list: now only used by common for searching
public_key_list: clients don't need this anyways, only for guest access server side
support_contact: you get support contact through the common CurrentServer API
Removed organization keys:
secure_internet_home: only common needs this
keyword_list: only common needs this now for searching
This patch adds a second argument to DiscoOrganizations and DiscoServers for the search query. empty string = return all, see the docs https://github.com/eduvpn/eduvpn-common/blob/discovery-search/docs/src/api/functiondocs.md#discoorganizations
Furthermore it returns a subset of the discovery to the client, this makes it trivial for us to implement discovery v3 without breaking clients as the upstream discovery format does not match the discovery format that we return to the client now. Also due to the fact that we return very few keys, there is a lot less data to convert when disco v3 is implemented.
Removed organizations keys:
v
: you don't need this, common uses it to check rollbacksgo_timestamp
: only used by go internallyRemoved servers keys:
v
: you don't need this, common uses it to check rollbacksgo_timestamp
: only used by go internallyRemoved server keys:
authentication_url_template
: only used by common to skip WAYFkeyword_list
: now only used by common for searchingpublic_key_list
: clients don't need this anyways, only for guest access server sidesupport_contact
: you get support contact through the commonCurrentServer
APIRemoved organization keys:
secure_internet_home
: only common needs thiskeyword_list
: only common needs this now for searching