# 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.

* migrate
If you want to migrate Azkaban Job File, use migrate
```
ayd migrate --jobdir azkaban_job_dir --outputyaml aaa.yaml
```
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.

* migrate
If you want to migrate Azkaban Job File, use migrate
```
ayd migrate --jobdir azkaban_job_dir --outputyaml aaa.yaml
```
Metadata
Release files for ayd 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ayd-0.0.7.tar.gz | 3.1 kB | Details |
Release files / ayd-0.0.7.tar.gz
| Download URL | ayd-0.0.7.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df92541281f0526373f04e858cc086db2856fab73b64488c19f20951108f3319
|
|
BLAKE2b-256 checksum How to use checksums |
1d9b2dd51b9bd39ba0ffec1567d75800ff0a81ad100de4769184cbaf764b569f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |