Merge lp:~dooferlad/linaro-android-frontend/proxy_lava-job-info into lp:linaro-android-frontend
Proposed by
James Tunnicliffe
Status: | Merged |
---|---|
Approved by: | Paul Sokolovsky |
Approved revision: | 246 |
Merged at revision: | 241 |
Proposed branch: | lp:~dooferlad/linaro-android-frontend/proxy_lava-job-info |
Merge into: | lp:linaro-android-frontend |
Diff against target: |
124 lines (+74/-13) 3 files modified
android_build/frontend/api.py (+29/-0) android_build/urls.py (+1/-0) static/buildDetails.js (+44/-13) |
To merge this branch: | bzr merge lp:~dooferlad/linaro-android-frontend/proxy_lava-job-info |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Sokolovsky | Approve | ||
Review via email: mp+87971@code.launchpad.net |
Description of the change
Adds a proxy for lava-job-info files for the front end so results files will be loaded and parsed without being blocked by the license request web page.
django: Added proxy to the API. Checks to see if file is called lava-job-info so it can't just be used to proxy anything. Possibly should tie down a list of acceptable server names as well at some point.
JavaScript: Added a new URL to try to download lava-job-info from and push all requests through above proxy.
To post a comment you must log in.
Updated: Rev 245 locks down the proxy so only snapshots. linaro. org will be proxied, and only lava-job-info files on it. Front end understands this and will only use the proxy to access snapshots. linaro. org.