-
Notifications
You must be signed in to change notification settings - Fork 1
/
DefaultBConf.pm
44 lines (41 loc) · 1.28 KB
/
DefaultBConf.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (c) 2011 bivio Software, Inc. All Rights Reserved.
# $Id$
package Bivio::DefaultBConf;
use strict;
use base 'Bivio::BConf';
sub merge_overrides {
my($proto) = @_;
return Bivio::IO::Config->merge_list(
{
$proto->merge_class_loader({
delegates => {
'Bivio::Agent::TaskId' => 'Bivio::Delegate::DefaultTaskId',
'Bivio::Auth::Support' => 'Bivio::Delegate::NoDbAuthSupport',
},
maps => {
Facade => ['Bivio::UI::Facade'],
},
}),
$proto->merge_http_log,
'Bivio::Ext::DBI' => {
database => 'none',
user => 'none',
password => 'none',
connection => 'Bivio::SQL::Connection::None',
},
'Bivio::UI::Facade' => {
default => 'Default',
http_host => 'default.bivio.biz',
mail_host => 'default.bivio.biz',
},
},
$proto->default_merge_overrides({
version => $proto->CURRENT_VERSION,
root => 'Bivio',
prefix => 'b',
owner => 'bivio Software, Inc.',
}),
shift->SUPER::merge_overrides(@_),
);
}
1;