App-Oozie
view release on metacpan or search on metacpan
lib/App/Oozie/Deploy/Template.pm view on Meta::CPAN
package App::Oozie::Deploy::Template;
use 5.014;
use strict;
use warnings;
our $VERSION = '0.020'; # VERSION
use namespace::autoclean -except => [qw/_options_data _options_config/];
use App::Oozie::Types::Common qw( IsDir );
use App::Oozie::Util::Misc qw( resolve_tmp_dir );
use App::Oozie::Constants qw(
DEFAULT_FILE_MODE
EMPTY_STRING
LAST_ELEM
TEMPLATE_DEFINE_VAR
);
use App::Oozie::Deploy::Template::ttree;
use Config::Properties;
use Data::Dumper ();
use File::Basename;
use File::Path qw(
make_path
remove_tree
);
use File::Spec;
use File::Temp ();
use Hash::Flatten ();
use Moo;
use MooX::Options;
use Ref::Util qw(
is_ref
is_arrayref
is_hashref
);
use Template ();
use Text::Trim qw( trim );
use Types::Standard qw(
ArrayRef
CodeRef
HashRef
InstanceOf
Int
Str
);
use XML::LibXML ();
with qw(
App::Oozie::Role::Log
App::Oozie::Role::Fields::Generic
App::Oozie::Role::Meta
);
# Temporary while testing
has write_ownership_to_workflow_xml => (
is => 'rw',
isa => Int,
default => sub { 0 },
);
has internal_conf => (
is => 'rw',
required => 1,
isa => HashRef,
);
has oozie_workflows_base => (
( run in 0.448 second using v1.01-cache-2.11-cpan-56fb94df46f )