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.15'; |
4
|
11
|
|
|
11
|
|
6287
|
use strict; |
|
11
|
|
|
|
|
25
|
|
|
11
|
|
|
|
|
342
|
|
5
|
11
|
|
|
11
|
|
60
|
use warnings; |
|
11
|
|
|
|
|
25
|
|
|
11
|
|
|
|
|
326
|
|
6
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
59
|
use parent 'Tapper::Reports::Web::Controller::Base'; |
|
11
|
|
|
|
|
26
|
|
|
11
|
|
|
|
|
76
|
|
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
|
11
|
|
|
11
|
|
2043
|
} |
|
11
|
|
|
|
|
30
|
|
|
11
|
|
|
|
|
73
|
|
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) 2020 by Advanced Micro Devices, Inc.. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This is free software, licensed under: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |