Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Mariana Cardoso 20af695890 Add Power BI refresh (#13) 2018-04-12 14:34:35 -07:00
Troy Dai 1ca14c1bc4
Save log and recording path in task details 2018-03-19 16:42:10 -07:00
Mariana Cardoso 8a3953a91a Use secret owners (#9)
* Add secret owners

* Do not decode secret data

* Delete owners from metadata file
2018-03-15 10:57:59 -07:00
Troy Dai 9bf6ca9fe3
Add the concept of status to the dispatcher
Fix Issue #7

The dispatcher now understand the concept of run status and will act
differently based on the current status of the run. This will prevent a
dispatcher from repeatedly publish jobs to the queue after it crashes
and restarted by the Kubernetes.

Additionally in this commit, major refactory is done to the dispatcher
to move logics closer to the data models.
2018-03-13 16:31:40 -07:00
Troy Dai 5875efc710
Merge branch 'master' into multireceiver 2018-03-13 09:16:44 -07:00
Mariana Cardoso 3a1112682d Feedback 2018-03-12 23:28:44 -07:00
Troy Dai 9d35bbff3f
Change the command execution logic 2018-03-12 23:07:43 -07:00
mcardosos 1b7c4cc93d Add multiple receivers 2018-03-12 18:25:54 -07:00
Troy Dai 0f73504a33
Major update: Introduce message broker
Introduce a RabbitMq as the message broker to dispatch tasks. This is a
major overhaul of the internal architecture. As a result both a01droid
and a01dispatch underwent major overhaul.

After database lock is eliminated from the message broker equation,
there are fewer HTTP requests to the task store is needed. Tasks are not
added until it is actually executed. The controller job also stop
querying the tasks for run status update.

Many logics originally in the main.go are moved to be closer to the data
model or other utility package.
2018-03-11 22:50:10 -07:00
Troy Dai 36adef8e66
Major overhaul
1. Allow droid and dispatcher to be mount
2. Reduce reliance on the environment variable
2018-03-09 18:18:03 -08:00
Troy Dai ca80c91a2e
Major iteration v3
Introduce a01dispatcher executable. The dispatcher is loaded to the
test image and acts as the central control of in cluster actions.
2018-03-02 19:11:24 -08:00