This commit is contained in:
Grzegorz Michalski
2026-03-02 09:47:35 +01:00
commit 2c225d68ac
715 changed files with 130067 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
tmpdir: /tmp
inbox_prefix: INBOX/TOP/TenderAllotmentModifications
archive_prefix: ARCHIVE/TOP/TenderAllotmentModifications
workflow_name: w_ODS_TOP_ALLOTMENT_MODIFICATIONS
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_MODIFICATION_HEADER_PARSE
ods_prefix: INBOX/TOP/TenderAllotmentModifications/TOP_ALLOTMENT_MODIFICATIONS_HEADER
output_table: TOP_ALLOTMENT_MODIFICATIONS_HEADER
namespaces:
topV2: 'http://top.ecb.int/v2'
output_columns:
- type: 'xpath_element_id'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification'
column_header: 'A_KEY'
- type: 'workflow_key'
column_header: 'A_WORKFLOW_HISTORY_KEY'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:RefNo'
column_header: 'REF_NO'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:OperationCurrency'
column_header: 'OPERATION_CURRENCY'
is_key: 'N'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TimeStamp'
column_header: 'TIMESTAMP_'
is_key: 'N'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:Revision'
column_header: 'REVISION'
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:Checksum'
column_header: 'CHECKSUM'
is_key: 'N'
- task_name: m_ODS_TOP_ALLOTMENT_MODIFICATION_ITEM_PARSE
ods_prefix: INBOX/TOP/TenderAllotmentModifications/TOP_ALLOTMENT_MODIFICATIONS_ITEM
output_table: TOP_ALLOTMENT_MODIFICATIONS_ITEM
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_element_id'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification'
column_header: 'A_ALL_MOD_FK'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:SenderReferenc'
column_header: 'SENDER_REFERENCE'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:BidderId'
column_header: 'BIDDER_ID'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:FlowType'
column_header: 'FLOW_TYPE'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:Amount'
column_header: 'AMOUNT_ITEM'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:ValueDate'
column_header: 'VALUE_DATE'
- type: 'xpath'
value: '/topV2:Message/topV2:ReportAggregatedAllotmentModification/topV2:TransactionList/topV2:TransactionElement/topV2:FreeText'
column_header: 'FREE_TEXT'