Show buildinput and buildproduct information in the Builds API
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
1f711403be
commit
385ceaff4d
|
@ -179,4 +179,17 @@ __PACKAGE__->belongs_to(
|
|||
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-08 13:08:15
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OaJPzRM+8XGsu3eIkqeYEw
|
||||
|
||||
my %hint = (
|
||||
columns => [
|
||||
'type',
|
||||
'uri',
|
||||
'value',
|
||||
'revision',
|
||||
],
|
||||
);
|
||||
|
||||
sub json_hint {
|
||||
return \%hint;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -153,5 +153,22 @@ __PACKAGE__->belongs_to(
|
|||
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-06-13 01:54:50
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+0LkZiaRL5tGJvbLxnwD/g
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
my %hint = (
|
||||
columns => [
|
||||
'type',
|
||||
'subtype',
|
||||
'name',
|
||||
'fileSize',
|
||||
'sha1hash',
|
||||
'sha256hash',
|
||||
'description',
|
||||
'path',
|
||||
'defaultPath'
|
||||
],
|
||||
);
|
||||
|
||||
sub json_hint {
|
||||
return \%hint;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -603,9 +603,6 @@ makeQueries('ForJob', "and project = ? and jobset = ? and job = ?");
|
|||
|
||||
my %hint = (
|
||||
columns => [
|
||||
'id',
|
||||
'finished',
|
||||
'timestamp',
|
||||
'starttime',
|
||||
'stoptime',
|
||||
'project',
|
||||
|
@ -619,7 +616,9 @@ my %hint = (
|
|||
'releasename'
|
||||
],
|
||||
eager_relations => {
|
||||
buildoutputs => 'name'
|
||||
buildoutputs => 'name',
|
||||
buildinputs => 'name'
|
||||
buildproducts => 'productnr',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue