Commit graph

18 commits

Author SHA1 Message Date
Shinya Maeda
2da420be04 Use update_pipeline_schedule 2017-05-31 00:06:37 +09:00
Shinya Maeda
3b61451c46 Return 202 for destory. Remove []. Remove def pipeline_schedules from helper. 2017-05-30 23:55:09 +09:00
Shinya Maeda
63ca126e97 Improve API with optinal and default. Allow to use scope as a parameter. 2017-05-30 23:55:09 +09:00
Shinya Maeda
b17c8d67d8 Use PipelineScheduleDetails 2017-05-30 23:55:09 +09:00
Shinya Maeda
c91292b61f Improve document 2017-05-30 23:55:09 +09:00
Shinya Maeda
bfa028e13a Remove deleted_at from Entity. Use find_by. Remove returns. 2017-05-30 23:55:09 +09:00
Shinya Maeda
f6a8894a59 Expose last_pipeline only when detailed status 2017-05-30 23:55:09 +09:00
Shinya Maeda
92bc1ddaf5 Dryup fetching pipeline_schedule with helper 2017-05-30 23:55:09 +09:00
Shinya Maeda
8c40bbbe7d Switch to preload. Remove unncecessary associations. 2017-05-30 23:55:09 +09:00
Shinya Maeda
20a07d26ff Include owner for pipeline_schedules. Improve N+1 spec. Use PipelineBasic for small payload. 2017-05-30 23:55:09 +09:00
Shinya Maeda
17b9128b30 includes last_pipeline 2017-05-30 23:55:09 +09:00
Shinya Maeda
df6040bbd4 zj keen eye2 2017-05-30 23:55:09 +09:00
Shinya Maeda
e828e835e4 avoids N + 1 queries 2017-05-30 23:55:09 +09:00
Shinya Maeda
a104e7a2c9 Move authenticate! to before 2017-05-30 23:55:09 +09:00
Shinya Maeda
f8cb5fd65a Add own! method on PipleineSchedule 2017-05-30 23:55:08 +09:00
Shinya Maeda
8743f765ab Use CreatePipelineScheduleService 2017-05-30 23:55:08 +09:00
Shinya Maeda
0a11ab4899 Reflect doc to api desc 2017-05-30 23:55:08 +09:00
Shinya Maeda
fbd3b3d8a2 Add API support for pipeline schedule 2017-05-30 23:55:08 +09:00