Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

generate Azkaban Flow

Project description

# ayd

ayd generates Azkaban Flow based on Azkaban YAML DSL.

##Prerequisites
Python 2.7

##Required Python Libraries
* cliff
* PyYAML

##Install
```
pip install ayd
```

Usage
----------

* aaa.yaml

```
foo:
type: command
command: echo "foo"
retries: 1
retry.backoff: 300000

bar:
type: command
command: echo "bar"
dependencies: foo
retries: 1
retry.backoff: 300000

hoge:
type: command
dependencies: foo
command: echo "hoge"
command.1: echo "hoge1"
retries: 2
retry.backoff: 30000

piyo:
type: command
dependencies: bar, hoge
command: echo "piyo"
retries: 1
retry.backoff: 300000
```

* execute
```
ayd generateFlow --flowyaml aaa.yaml --outputdir aaa
```

then, Azkaban Flow is generated.

If you archive aaa directory and upload aaa.zip, Azkaban Flow is the following.

![ayd](screenshot/azkaban_job.png)

* migrate

If you want to migrate Azkaban Job File, use migrate
```
ayd migrate --jobdir azkaban_job_dir --outputyaml aaa.yaml
```

Project details


Release history Release notifications

This version
History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ayd-0.0.7.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Aug 6, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page