init
This commit is contained in:
0
airflow/ods/top/allotment/config/.gitkeep
Normal file
0
airflow/ods/top/allotment/config/.gitkeep
Normal file
139
airflow/ods/top/allotment/config/m_ODS_TOP_ALLOTMENT_PARSE.yaml
Normal file
139
airflow/ods/top/allotment/config/m_ODS_TOP_ALLOTMENT_PARSE.yaml
Normal file
@@ -0,0 +1,139 @@
|
||||
tmpdir: /tmp
|
||||
inbox_prefix: INBOX/TOP/AllotmentPublicationC2D
|
||||
archive_prefix:: ARCHIVE/TOP/AllotmentPublicationC2D
|
||||
workflow_name: w_ODS_TOP_ALLOTMENT
|
||||
validation_schema_path: 'opt/airflow/src/airflow/dags/ods/top/top_common/TOPV2.xsd'
|
||||
file_type: xml
|
||||
|
||||
# List of tasks
|
||||
tasks:
|
||||
- task_name: m_ODS_TOP_ALLOTMENT_PARSE
|
||||
ods_prefix: INBOX/TOP/AllotmentPublicationC2D/TOP_ALLOTMENT
|
||||
output_table: TOP_ALLOTMENT
|
||||
namespaces:
|
||||
topV2: http://top.ecb.int/v2
|
||||
output_columns:
|
||||
- type: 'a_key'
|
||||
column_header: 'A_KEY'
|
||||
- type: 'workflow_key'
|
||||
column_header: 'A_WORKFLOW_HISTORY_KEY'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:RefNo'
|
||||
column_header: 'REF_NO'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:SenderReference'
|
||||
column_header: 'SENDER_REF'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:UserReference'
|
||||
column_header: 'USER_REF'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:TimeStamp'
|
||||
column_header: 'TIMESTAMP'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:FourEyesVersion'
|
||||
column_header: 'VERSION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:BidAmount'
|
||||
column_header: 'AMOUNT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:NumberBidders'
|
||||
column_header: 'NUMBER_BIDDERS'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:CutoffLevel'
|
||||
column_header: 'CUTOFF_LEVEL'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:AllottedAmount'
|
||||
column_header: 'AMNT_ALLOTED'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:MinAllotment'
|
||||
column_header: 'MIN_ALLOTMENT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:PercentageAllotted'
|
||||
column_header: 'PERC_ALLOTED'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:BusinessValueType'
|
||||
column_header: 'MARGINAL_RATE_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:MarginalBusinessValue'
|
||||
column_header: 'MARGINAL_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:MinBusinessValue'
|
||||
column_header: 'MIN_RATE_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:MinBusinessValue'
|
||||
column_header: 'MIN_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:BusinessValueType'
|
||||
column_header: 'MAX_RATE_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:MaxBusinessValue'
|
||||
column_header: 'MAX_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:BusinessValueType'
|
||||
column_header: 'AVG_RATE_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:BusinessValueType'
|
||||
column_header: 'AVG_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:SpotRate'
|
||||
column_header: 'SPOT_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:FreeText'
|
||||
column_header: 'FREE_TEXT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:Checksum'
|
||||
column_header: 'CHECKSUM'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:Isin'
|
||||
column_header: 'ISIN'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:ReferenceEntity'
|
||||
column_header: 'REF_ENTITY'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:ReferenceEntityValue'
|
||||
column_header: 'REF_ENTITY_VALUE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:SpotRateWithMargin'
|
||||
column_header: 'SPOT_RATE_WITH_MARGIN'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:TimeStampSender'
|
||||
column_header: 'TIMESTAMP_SENDER'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:ID'
|
||||
column_header: 'ID'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:RepaidRefNo'
|
||||
column_header: 'REPAID_REF_NO'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AllotmentMessage/topV2:Revision'
|
||||
column_header: 'REVISION'
|
||||
is_key: 'N'
|
||||
Reference in New Issue
Block a user