NAME

Tapper::Model - Tapper - Context sensitive connected DBIC schema

SYNOPSIS

use Tapper::Model 'model';
my $testrun = model('TestrunDB')->schema('Testrun')->find(12);
my $testrun = model('TestrunDB')->schema('Report')->find(7343);

model

Returns a connected schema, depending on the environment (live, development, test).

@param 1. $schema_basename - optional, default is "Tests", meaning the Schema "Tapper::Schema::Tests"

@return $schema

get_or_create_owner

Search a owner based on login name. Create a owner with this login name if not found.

@param string - login name

@return success - id (primary key of owner table) @return error - undef

get_hardware_overview

Returns an overview of a given machine revision.

@param int - machine lid

@return success - hash ref @return error - undef

AUTHORS

  • AMD OSRC Tapper Team <tapper@amd64.org>

  • Tapper Team <tapper-ops@amazon.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..

This is free software, licensed under:

The (two-clause) FreeBSD License