{"push_id":652820663,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"43cd84c9d45f71eb6f412a95d7ea7a08f87397f1","before":"fb02676511a6be35c4f70c8f9eab12f795339ad9","commits":[{"sha":"5b3d30d307058659811aac85fb8421474f65b66f","author":{"email":"781d2cbe80c5374c3e702bb1c4937a0741ab8364@lookout.com","name":"Andrew Kuhnhausen"},"message":"Support longer path-based services, make domain default\n\nThe use case for domain routing is really as a default to go to in case\nno service is specified in the path. Further, a path->service may\nrequire a longer path than the first component of a path, e.g.\n/api/service vs /service. This also applies to subdomains->service, e.g.\nsub.domain.com vs sub.sub2.domain.com.\n\nThis adds longest-substring matching for subdomain and path matches so\nthat we specify an entire subpath or entire subdomain to match proper\nservice name lookup.\n\nExample:\n  service_mappings = {[\"/api\"]=\"service_api\", [\"/api/service1\"]=\"service1\"}\n  subdomain_mappings = {[\"api.subdomain\"]=\"service1\", api=\"service_api\"}\n\nMaps the following URIs to their service name:\n  api.example.com/ => service_api\n  api.example.com/api/service1 => service1\n  api.subdomain.example.com/ => service1\n  api.subdomain.example.com/api => service_api","distinct":true,"url":"https://api.github.com/repos/lookout/ngx_borderpatrol/commits/5b3d30d307058659811aac85fb8421474f65b66f"},{"sha":"43cd84c9d45f71eb6f412a95d7ea7a08f87397f1","author":{"email":"e435157c091b9799ed01d0bc999ea05bd90a166a@gmail.com","name":"William Kimeria"},"message":"Merge pull request #48 from trane/longest_match\n\nSupport longer path-based services, make domain default","distinct":true,"url":"https://api.github.com/repos/lookout/ngx_borderpatrol/commits/43cd84c9d45f71eb6f412a95d7ea7a08f87397f1"}]}