Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A DAG is defined in a Python script, which represents the DAGs structure (tasks and their dependencies) as code.

How to run DAG in Airflow?

1.Log onto the Punjab Prod server using the credentials:

...

Clicking on the Log option.

...

Configure the Airflow variables

Key

Value

password

eGov@123

username

SYSTEMSU3

token

ZWdvdi11c2VyLWNsaWVudDo=

tenantid

pg

usertype

SYSYTEM

totalulb_url

https://raw.githubusercontent.com/egovernments/punjab-mdms-data/master/data/pb/tenant/tenants.json

Configure the connections

ConnectionId

Connection Type

Host

Port

Schema

Remark

es_conn

ElasticSearch

elasticsearch-data-v1.es-cluster

9200

For the ES server

digit-auth

HTTP

http://staging.digit.org

https

For the auth api conenction

...