Moved Realis to be an interface for future testing classes. Removed AddURI API as AddURIs is able to do the same thing

This commit is contained in:
Renan DelValle 2016-08-12 12:48:42 -07:00
parent 5fc5aa8fc5
commit c610974208
5 changed files with 32 additions and 26 deletions

View file

@ -28,7 +28,7 @@ job = realis.NewJob().
InstanceCount(1).
AddPorts(1).
AddLabel("fileName", "sample-app/docker-compose.yml").
AddURI("https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz", true, true)
AddURIs(true, true, "https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz")
```
* Use client to send a job to Aurora: