URL Substitution Support

Registered by Andy Doan

It would be if the dispatcher could do URL translation in code. For example, we might get a request to download a file like:
  http://foo.bar.com/file.tgz

But we could have some dispatcher configuration directive that told us to translate that URL to:

 http://localhost/file.tgz
 or file:///tmp/file.tgz

Blueprint information

Status:
Complete
Approver:
Andy Doan
Priority:
Medium
Drafter:
Andy Doan
Direction:
Approved
Assignee:
Andy Doan
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.08
Started by
Andy Doan
Completed by
Andy Doan

Related branches

Sprints

Whiteboard

Meta:
Headline: URL's can be manipulated via regular expressions in config file for the downloader
Acceptance: LAVA can deploy FastModel images using the OpenID backed URL's by downloading via SSH

[mwhudson, 2012-08-02] What's the motivation for this? :-)
[doanac, 2012-08-02] There's a need to have android -build submit jobs to LAVA for FastModel. They don't want to change any of their code about the download URL. However we have to map this to the SSH access we have to those images.

(?)

Work Items

Work items:
Come up a with a mapping scheme: DONE
Test with restricted builds: DONE

This blueprint contains Public information 
Everyone can see this information.