1
|
object @resource
|
2
|
|
3
|
attributes :id, :name, :organization_id, :manual_trigger, :sync_trigger,
|
4
|
:levelup_trigger, :promote
|
5
|
|
6
|
child :content_view => :content_view do
|
7
|
extends "foreman_pipeline/api/content_views/show"
|
8
|
end
|
9
|
|
10
|
child :hostgroup => :hostgroup do
|
11
|
extends "foreman_pipeline/api/hostgroups/show"
|
12
|
end
|
13
|
|
14
|
child :compute_resource => :compute_resource do
|
15
|
extends "foreman_pipeline/api/compute_resources/show"
|
16
|
end
|
17
|
|
18
|
child :jenkins_instance => :jenkins_instance do
|
19
|
extends "foreman_pipeline/api/jenkins_instances/show"
|
20
|
end
|
21
|
|
22
|
child :environment => :environment do
|
23
|
extends "foreman_pipeline/api/environments/show"
|
24
|
end
|
25
|
|
26
|
child :jenkins_projects => :jenkins_projects do |project|
|
27
|
extends "foreman_pipeline/api/jenkins_projects/show"
|
28
|
end
|
29
|
|
30
|
child :to_environments => :to_environments do |to_environment|
|
31
|
extends "foreman_pipeline/api/environments/show"
|
32
|
end
|