Merge lp:~leonardr/lazr.restful/example-service-has-web-link into lp:lazr.restful
Proposed by
Leonard Richardson
Status: | Merged |
---|---|
Merged at revision: | 170 |
Proposed branch: | lp:~leonardr/lazr.restful/example-service-has-web-link |
Merge into: | lp:lazr.restful |
To merge this branch: | bzr merge lp:~leonardr/lazr.restful/example-service-has-web-link |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | code | Approve | |
Review via email: mp+48313@code.launchpad.net |
Description of the change
This branch registers adapters within the example web service to give it the 'web_link' feature. This feature is already well-tested in unit tests, but adding it to the example web service is the best way to test how well it works with lazr.restfulclient.
To post a comment you must log in.
Discussed on IRC (and thanks for being patient with me—this stuff is still largely black magic to me).
Points we covered:
* We looked for something more specific than Interface for the IAbsoluteURL adapter, but found nothing.
We considered ILocation but you found that it might be misleading. We didn't think it worth the trouble to invent a new interface for this.
* SimulatedWebsit eRequest is probably clearer than WebBrowserOrigi natingRequest.
I had to struggle to come up with criticisms. Keep 'em coming.
Jeroen