line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Reports::Web::Controller::Tapper::Preconditions::Id; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Reports::Web::Controller::Tapper::Preconditions::Id::VERSION = '5.0.13'; |
4
|
10
|
|
|
10
|
|
5981
|
use strict; |
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
279
|
|
5
|
10
|
|
|
10
|
|
34
|
use warnings; |
|
10
|
|
|
|
|
16
|
|
|
10
|
|
|
|
|
273
|
|
6
|
|
|
|
|
|
|
|
7
|
10
|
|
|
10
|
|
38
|
use parent 'Tapper::Reports::Web::Controller::Base'; |
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
69
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub index :Path :Args(1) |
10
|
|
|
|
|
|
|
{ |
11
|
0
|
|
|
0
|
|
|
my ( $self, $c, $id ) = @_; |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
my $precond_search = $c->model('TestrunDB')->resultset('Precondition')->find($id); |
14
|
0
|
0
|
|
|
|
|
if (not $precond_search) { |
15
|
0
|
|
|
|
|
|
$c->response->body(qq(No precondition with id "$id" found in the database!)); |
16
|
0
|
|
|
|
|
|
return; |
17
|
|
|
|
|
|
|
} |
18
|
0
|
|
|
|
|
|
$c->stash->{precondition} = $precond_search->precondition_as_hash; |
19
|
0
|
|
|
|
|
|
$c->stash->{precondition}{id} = $precond_search->id; |
20
|
0
|
|
|
|
|
|
return; |
21
|
10
|
|
|
10
|
|
1623
|
} |
|
10
|
|
|
|
|
17
|
|
|
10
|
|
|
|
|
57
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=pod |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=encoding UTF-8 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Tapper::Reports::Web::Controller::Tapper::Preconditions::Id |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 AUTHORS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over 4 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=back |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Advanced Micro Devices, Inc.. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This is free software, licensed under: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |