init
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
tmpdir: /tmp
|
||||
inbox_prefix: INBOX/TOP/AnnouncementPublicationC2D
|
||||
archive_prefix: ARCHIVE/TOP/AnnouncementPublicationC2D
|
||||
workflow_name: w_ODS_TOP_ANNOUNCEMENT
|
||||
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_ACCOUNCEMENT_PARSE
|
||||
ods_prefix: INBOX/TOP/AnnouncementPublicationC2D/TOP_ANNOUNCEMENT
|
||||
output_table: TOP_ANNOUNCEMENT
|
||||
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:AnnouncementMessage/topV2:RefNo'
|
||||
column_header: 'REF_NO'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:SenderReference'
|
||||
column_header: 'SENDER_REF'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:UserReference'
|
||||
column_header: 'USER_REF'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:TimeStamp'
|
||||
column_header: 'TIMESTAMP'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:FourEyesVersion'
|
||||
column_header: 'VERSION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:OperationType'
|
||||
column_header: 'OPERATION_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:Procedure'
|
||||
column_header: 'PROCEDURE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:TransactionType'
|
||||
column_header: 'TRANSACTION_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:OperationName'
|
||||
column_header: 'OPERATION_NAME'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:AuctionType'
|
||||
column_header: 'AUCTION_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:AllotmentMethod'
|
||||
column_header: 'ALL_METHOD'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:Quotation'
|
||||
column_header: 'QUOTATION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:BusinessValueType'
|
||||
column_header: 'BUSINESS_VALUE_TYPE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:BusinessValue'
|
||||
column_header: 'BUSINESS_VALUE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:AllotmentDate'
|
||||
column_header: 'ALLOTMENT_DATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:ValueDate'
|
||||
column_header: 'VALUE_DATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MaturityDate'
|
||||
column_header: 'MATURITY_DATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:DurationOfOperation'
|
||||
column_header: 'DURATION_OF_OPERATION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:SpotRate'
|
||||
column_header: 'SPOT_RATE'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:OtherCurrency'
|
||||
column_header: 'OTHER_CURRENCY'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:OperationCurrencyLeg'
|
||||
column_header: 'OPERATION_CURRENCY_LEG'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MinBidAmount'
|
||||
column_header: 'MIN_BID_AMT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MaxBidAmount'
|
||||
column_header: 'MAX_BID_AMT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:IntendedVolume'
|
||||
column_header: 'INTENDED_VOLUME'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MinAllotment'
|
||||
column_header: 'MIN_ALLOTMENT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MinAllotmentRatio'
|
||||
column_header: 'MIN_ALLOTMENT_RATIO'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:DeadlineCP'
|
||||
column_header: 'DEADLINE_CP'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:DeadlineNCB'
|
||||
column_header: 'DEADLINE_NCB'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:PublicAnnouncement'
|
||||
column_header: 'PUBLIC_ANNOUNCEMENT'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/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:AnnouncementMessage/topV2:OperationCurrency'
|
||||
column_header: 'OPER_CURRENCY'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:Isin'
|
||||
column_header: 'ISIN'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:ReferenceEntity'
|
||||
column_header: 'REF_ENTITY'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:SpotRateWithMargin'
|
||||
column_header: 'SPOT_RATE_WITH_MARGIN'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:MaxBidsPerCounterparty'
|
||||
column_header: 'MAX_BIDS_COUNTER_PARTY'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:ExactDenomination'
|
||||
column_header: 'EXACT_DENOMINATION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:BidCurrency'
|
||||
column_header: 'BID_CURRENCY'
|
||||
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:AnnouncementMessage/topV2:RepaidRefNo'
|
||||
column_header: 'REPAID_REF_NO'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:Revision'
|
||||
column_header: 'REVISION'
|
||||
is_key: 'N'
|
||||
- type: 'xpath'
|
||||
value: '/topV2:Message/topV2:AnnouncementMessage/topV2:OperationCategory'
|
||||
column_header: 'OPERATION_CATEGORY'
|
||||
is_key: 'N'
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user