ETLp

 view release on metacpan or  search on metacpan

lib/ETLp/Audit/Browser/Controller/Schedule.pm  view on Meta::CPAN

    } else {
        $self->session->param('message', 'Schedule Created');
    }

    return $self->redirect(
        $self->conf->param('root_url') . '/schedule/edit/' . $schedule_id);
}

# Process ajax call to update the section list drop down if the config item
# changes
sub update_sections {
    my $self        = shift;
    my $config_file = $self->query->param('config_file');
    my $show_blank  = $self->query->param('show_blank') || 0;
    
    return $self->model->get_section_options(
        {
            app_conf_dir => $self->conf->param('app_conf_dir'),
            config_file  => $config_file,
            show_blank   => $show_blank
        }

lib/ETLp/Audit/Browser/Controller/Schedule.pm  view on Meta::CPAN

    $self->logger->debug("Publishing the crontab");
    # Publish the crontab now that the status has changed
    $self->model->publish_crontab(
        {crontab_file => $crontab_file, pipeline_script => $pipeline_script});

    return $self->redirect($self->conf->param('root_url') . '/schedule/');
}

# This runmode is used to return the chain of pipelines dependent on the one
# provided
sub update_dependencies {
    my $self        = shift;
    my $config_file = $self->query->param('config');
    my $section     = $self->query->param('section');

    if ($section =~ /^$config_file\-(.*)$/) {
        $section = $1;
    }

    return join(
        ' -> ',



( run in 1.297 second using v1.01-cache-2.11-cpan-49f99fa48dc )