Task query optional parameters (#69)

* Change TaskQuery struct parameters to optional

* Thrift API is modified to make all the parameters in the
  TaskQuery struct optional

* Autogenerated code is regenerated

* Changes in TaskQuery structs used in the project

* Now that TaskQuery receive optional values, pointers
  instead of values must be passed to the struct
This commit is contained in:
Ezequiel Torres Feyuk 2018-06-28 15:48:28 -03:00 committed by Renan DelValle
parent 6c8ab10b64
commit fe567ee966
5 changed files with 253 additions and 162 deletions

View file

@ -75,11 +75,7 @@ func TestNonExistentEndpoint(t *testing.T) {
)
defer r.Close()
taskQ := &aurora.TaskQuery{
Role: "no",
Environment: "task",
JobName: "here",
}
taskQ := &aurora.TaskQuery{}
_, err = r.GetTasksWithoutConfigs(taskQ)