m-lab / go

General purpose libraries / APIs for use in mlab code.
Apache License 2.0
5 stars 6 forks source link

Support third-party origins #171

Closed stephen-soltesz closed 1 year ago

stephen-soltesz commented 1 year ago

This change adds support for host.Parse to recognize the string 'third-party' in place of a hostname. This allows the jostler (or pusher) to be used by third parties without providing a false hostname. Archives will include the string "third" in place of machine and "party" in place of site. Coincidentally, "third" and "party" have the same number of characters as a standard M-Lab machine and site name.

For example:

20230428T151754.656207Z-ping1-third-party-revtr-data.jsonl.gz

This change is Reviewable