# ---------------------------------------------------------------------
# Generic databse object dumper.
# ./object_dumper.pl <bootstrap_config> <type>, <type>, ...
-# ./object_dumper.pl /openils/conf/bootstrap.conf permission.grp_tree
+# ./object_dumper.pl /openils/conf/opensrf_core.xml permission.grp_tree
# ---------------------------------------------------------------------
use strict;
use XML::LibXML;
my ($file,$config,$profileid,$identtypeid,$default_profile,$profile_map,$seenmap,$nosaveseen,$usermap) =
- ('return_file_0623-2.xml', '/openils/conf/bootstrap.conf', 1, 3, 'User', 'profile.map','/tmp/patron-import.seen');
+ ('return_file_0623-2.xml', '/openils/conf/opensrf_core.xml', 1, 3, 'User', 'profile.map','/tmp/patron-import.seen');
GetOptions(
'usermap=s' => \$usermap,
RECIPIENT=$2;
DATE=$(date +%Y-%m-%d);
DAY=$(date +%u);
-BSCONFIG="/openils/conf/bootstrap.conf"
+BSCONFIG="/openils/conf/opensrf_core.xml"
ODDIR="/openils/var/data/overdue";
export EG_OVERDUE_EMAIL_TEMPLATE="../extras/overdue_notice_email";
my $root = shift(@ARGV);
-OpenSRF::System->bootstrap_client( config_file => $root.'/conf/bootstrap.conf');
+OpenSRF::System->bootstrap_client( config_file => $root.'/conf/opensrf_core.xml');
try {
OpenILS::Utils::ScriptRunner->add_path($root.'/var/web/opac/common/js/');
exit;
}
-OpenSRF::System->bootstrap_client( config_file => '/pines/conf/bootstrap.conf' );
+OpenSRF::System->bootstrap_client( config_file => '/openils/conf/opensrf_core.xml' );
print "Content-Type: text/xml\n\n";
my $val = '';
MARC::Charset->ignore_errors(1);
my ($auth, $config) =
- (0, '/openils/conf/bootstrap.conf');
+ (0, '/openils/conf/opensrf_core.xml');
GetOptions(
'config=s' => \$config,
my @files;
my ($type, $config, $autoprimary) =
- ('biblio.record_entry', '/openils/conf/bootstrap.conf', 0);
+ ('biblio.record_entry', '/openils/conf/opensrf_core.xml', 0);
GetOptions(
'type=s' => \$type,
MARC::Charset->ignore_errors(1);
my ($utf8, $id_field, $count, $user, $password, $config, $marctype, $keyfile, @files, @trash_fields) =
- (0, '998', 1, 'admin', 'open-ils', '/openils/conf/bootstrap.conf', 'USMARC');
+ (0, '998', 1, 'admin', 'open-ils', '/openils/conf/opensrf_core.xml', 'USMARC');
GetOptions(
'startid=i' => \$count,
#MARC::Charset->ignore_errors(1);
my ($id_field, $recid, $user, $config, $idlfile, $marctype, $keyfile, $dontuse_file, $enc, $force_enc, @files, @trash_fields) =
- ('', 1, 1, '/openils/conf/bootstrap.conf', '/openils/conf/fm_IDL.xml', 'USMARC');
+ ('', 1, 1, '/openils/conf/opensrf_core.xml', '/openils/conf/fm_IDL.xml', 'USMARC');
GetOptions(
'marctype=s' => \$marctype,
my @files;
my ($config, $output, @auto, @order, @wipe) =
- ('/openils/conf/bootstrap.conf');
+ ('/openils/conf/opensrf_core.xml');
GetOptions(
'config=s' => \$config,
[%-
USE CGI;
USE ws = WebSession;
-j = ws.bootstrap_client("/pines/conf/bootstrap.conf");
+j = ws.bootstrap_client("/openils/conf/opensrf_core.xml");
rank_threshold = 5000;
base_url = 'http://dev.gapines.org/';
sub child_init_handler {
OpenSRF::System->bootstrap_client(
- config_file => "/pines/conf/web_bootstrap.conf" );
+ config_file => "/openils/conf/opensrf_core.xml" );
}
my $main_ttk = "opac/logic/page_router.ttk";
my $error_ttk = "opac/pages/error.ttk";
my $init_ttk = "opac/logic/page_init.ttk";
-my $bootstrap = "/pines/conf/bootstrap.conf";
+my $bootstrap = "/openils/conf/opensrf_core.xml";
my $child_init_ttk = "opac/logic/child_init.ttk";
my $includes = []; # [ '/pines/cvs/ILS/Open-ILS/src/templates' ];
use open ':utf8';
-my ($count, $config, $sleep_interval, $lockfile, $daemon) = (1, '/openils/conf/bootstrap.conf', 10, '/tmp/reporter-LOCK');
+my ($count, $config, $sleep_interval, $lockfile, $daemon) = (1, '/openils/conf/opensrf_core.xml', 10, '/tmp/reporter-LOCK');
GetOptions(
"daemon" => \$daemon,
# ---------------------------------------------------------------------
# Generic databse object dumper.
# ./object_dumper.pl <bootstrap_config> <type>, <type>, ...
-# ./object_dumper.pl /openils/conf/bootstrap.conf permission.grp_tree
+# ./object_dumper.pl /openils/conf/opensrf_core.xml permission.grp_tree
# ---------------------------------------------------------------------
use strict;
use Getopt::Long;
my ($od_length, $user, $password, $config) =
- ('180 days', 'admin', 'open-ils', '/openils/conf/bootstrap.conf');
+ ('180 days', 'admin', 'open-ils', '/openils/conf/opensrf_core.xml');
GetOptions(
'overdue=s' => \$od_length,
my @formats = qw/USMARC UNIMARC XML BRE/;
-my ($config,$format,$encoding,$location,$dollarsign,$idl,$help,$holdings) = ('/openils/conf/bootstrap.conf','USMARC','MARC8','','$');
+my ($config,$format,$encoding,$location,$dollarsign,$idl,$help,$holdings) = ('/openils/conf/opensrf_core.xml','USMARC','MARC8','','$');
GetOptions(
'help' => \$help,
print <<" HELP";
Usage: $0 [options]
--help or -h This screen.
- --config or -c Configuration file [/openils/conf/bootstrap.conf]
+ --config or -c Configuration file [/openils/conf/opensrf_core.xml]
--format or -f Output format (USMARC, UNIMARC, XML) [USMARC]
--encoding or -e Output Encoding (UTF-8, ISO-8859-?, MARC8) [MARC8]
--items or -i Include items (holdings) in the output