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,7 @@
version: 2
sources:
- name: c2d
schema: c2d
tables:
- name: V_EA_SNAPSHOT_DATES

View File

@@ -0,0 +1,7 @@
version: 2
sources:
- name: dw_rar
schema: dw_rar
tables:
- name: NH_ASSET_updated_test

View File

@@ -0,0 +1,7 @@
version: 2
sources:
- name: dw_ref_main
schema: dw_ref_main
tables:
- name: ASSET_CODE_TYPE

View File

@@ -0,0 +1,7 @@
version: 2
sources:
- name: dw_tmp
schema: dw_tmp
tables:
- name: TE_ASSET

View File

@@ -0,0 +1,7 @@
version: 2
sources:
- name: mpec
schema: mpec
tables:
- name: T_MPEC

186
dbt/models/sources/ods.yaml Normal file
View File

@@ -0,0 +1,186 @@
version: 2
sources:
- name: ods
schema: ods
tables:
- name: DEBT
identifier: CSDB_DEBT_ODS
- name: DEBT_DAILY
identifier: CSDB_DEBT_DAILY_ODS
- name: INSTR_DESC_FULL
identifier: CSDB_INSTR_DESC_FULL_ODS
- name: INSTR_RAT_FULL
identifier: CSDB_INSTR_RAT_FULL_ODS
- name: ISSUER_DESC_FULL
identifier: CSDB_ISSUER_DESC_FULL_ODS
- name: ISSUER_RAT_FULL
identifier: CSDB_ISSUER_RAT_FULL_ODS
- name: RATINGS_RT_INSTRUMENT_RATING
identifier: CSDB_RT_INSTRUMENT_RATING_ODS
- name: STANDING_FACILITIES_HEADER
identifier: LM_STANDING_FACILITIES_HEADER_ODS
- name: STANDING_FACILITIES
identifier: LM_STANDING_FACILITIES_ODS
- name: FORECAST_HEADER
identifier: LM_FORECAST_HEADER_ODS
- name: FORECAST_ITEM
identifier: LM_FORECAST_ITEM_ODS
- name: BALANCESHEET_HEADER
identifier: LM_BALANCESHEET_HEADER_ODS
- name: BALANCESHEET_ITEM
identifier: LM_BALANCESHEET_ITEM_ODS
- name: QR_ADJ_HEADER
identifier: LM_QRE_ADJUSTMENTS_HEADER_ODS
- name: QR_ADJ_ITEM_HEADER
identifier: LM_QRE_ADJUSTMENTS_ITEM_HEADER_ODS
- name: QR_ADJ_ITEM
identifier: LM_QRE_ADJUSTMENTS_ITEM_ODS
- name: ADHOC_ADJ_HEADER
identifier: LM_ADHOC_ADJUSTMENTS_HEADER_ODS
- name: ADHOC_ADJ_ITEM_HEADER
identifier: LM_ADHOC_ADJUSTMENTS_ITEM_HEADER_ODS
- name: ADHOC_ADJ_ITEM
identifier: LM_ADHOC_ADJUSTMENTS_ITEM_ODS
- name: CSM_ADJ_HEADER
identifier: LM_CSM_ADJUSTMENTS_HEADER_ODS
- name: CSM_ADJ_ITEM_HEADER
identifier: LM_CSM_ADJUSTMENTS_ITEM_HEADER_ODS
- name: CSM_ADJ_ITEM
identifier: LM_CSM_ADJUSTMENTS_ITEM_ODS
- name: TTS_HEADER
identifier: LM_TTS_HEADER_ODS
- name: MRR_IND_CURRENT_ACCOUNT_HEADER
identifier: LM_CURRENT_ACCOUNTS_HEADER_ODS
- name: MRR_IND_CURRENT_ACCOUNT_ITEM
identifier: LM_CURRENT_ACCOUNTS_ITEM_ODS
- name: AGGREGATED_ALLOTMENT
identifier: TOP_AGGREGATED_ALLOTMENT_ODS
- name: ALLOTMENT
identifier: TOP_ALLOTMENT_ODS
- name: ALLOTMENT_MODIFICATION_HEADER
identifier: TOP_ALLOTMENT_MODIFICATION_HEADER_ODS
- name: ALLOTMENT_MODIFICATION_ITEM
identifier: TOP_ALLOTMENT_MODIFICATION_ITEM_ODS
- name: ANNOUNCEMENT
identifier: TOP_ANNOUNCEMENT_ODS
- name: FBL_ITEM
identifier: TOP_FULLBIDLIST_ITEM_ODS
- name: FULLBID_ARRAY_COMPILED
identifier: TOP_FULLBID_ARRAY_COMPILED_ODS
- name: ALLOTMENT_MODIFICATION_AGGREGATED
identifier: TOP_ALLOTMENT_MODIFICATION_AGGREGATED_ODS
- name: MPEC_ADMIN
identifier: C2D_MPEC_ADMIN_ODS
- name: MPEC_CONTENT
identifier: C2D_MPEC_CONTENT_ODS
- name: MPEC_CONTENT_CRITERION
identifier: C2D_MPEC_CONTENT_CRITERION_ODS
- name: MPEC_CONTENT_CRITERION_FULL
identifier: C2D_MPEC_CONTENT_CRITERION_FULL_ODS
- name: MPEC_CONTENT_FULL
identifier: C2D_MPEC_CONTENT_FULL_ODS
- name: MPEC_MID_FULL
identifier: C2D_MPEC_MID_FULL_ODS
- name: ELA_INFO_REPLICATION
identifier: C2D_ELA_INFO_REPLICATION_ODS
- name: PRICING
identifier: CEPH_PRICING_ODS
- name: BRANCH
identifier: TMS_BRANCH # Current table name in the database
- name: CALENDAR
identifier: TMS_CALENDAR
- name: CLIENT_ACCOUNT # This is the alias used in dbt
identifier: TMS_CLIENT_ACCOUNT # Current table name in the database
- name: CLIENT_INSTRUCTION
identifier: TMS_CLIENT_INSTRUCTION
- name: HISTORY_LOG
identifier: TMS_HISTORY_LOG
- name: PARAMETER
identifier: TMS_PARAMETER
- name: LIMIT_ACCESS
identifier: TMS_LIMIT_ACCESS
- name: PORTFOLIO_ACCESS
identifier: TMS_PORTFOLIO_ACCESS
- name: PORTFOLIO_TREE
identifier: TMS_PORTFOLIO_TREE
- name: RULES
identifier: TMS_RULES
- name: SDM_ENTITY_STATE
identifier: TMS_SDM_ENTITY_STATE
- name: ACMCURRENCYFLOW # This is the alias used in dbt
identifier: TMS_ACM_CURRENCY_FLOW # Current table name in the database
- name: ACMENTRYSTATELEDGERGROUP # This is the alias used in dbt
identifier: TMS_ACM_ENTRY_STATE_LEDGER_GROUP # Current table name in the database
- name: ACTIVITY
identifier: TMS_ACTIVITY # Current table name in the database
- name: CLIENT
identifier: TMS_CLIENT
- name: CUSTODYBALANCE
identifier: TMS_CUSTODY_BALANCE
- name: EFFECTIVEROLEPROFILE
identifier: TMS_EFFECTIVE_ROLE_PROFILE
- name: ACTIVITYINTERVAL
identifier: TMS_ACTIVITY_INTERVAL
- name: CLIENTGROUPMAP # This is the alias used in dbt
identifier: TMS_CLIENT_GROUP_MAP # Current table name in the database
- name: EFFECTIVEPERMISSIONS
identifier: TMS_EFFECTIVE_PERMISSIONS
- name: LIMITLOG
identifier: TMS_LIMIT_LOG_ODS
- name: ROLE_PORTFOLIO_PROFILE
identifier: TMS_ROLE_PORTFOLIO_PROFILE
- name: TMS_SECURITY_POSITION
indentifier: TMS_SECURITY_POSITION
- name: F_BRANCH
identifier: FXCD_F_BRANCH_ODS
- name: F_CLEARER
identifier: FXCD_F_CLEARER_ODS
- name: F_CLEARER_NCB_LIMIT
identifier: FXCD_F_CLEARER_NCB_LIMIT_ODS
- name: F_CONSTANT
identifier: FXCD_F_CONSTANT_ODS
- name: F_COUNTERPARTY
identifier: FXCD_F_COUNTERPARTY_ODS
- name: F_COUNTRY
identifier: FXCD_F_COUNTRY_ODS
- name: F_COUNTRY_NCB_LIMIT
identifier: FXCD_F_COUNTRY_NCB_LIMIT_ODS
- name: F_CTP_GROUP
identifier: FXCD_F_CTP_GROUP_ODS
- name: F_CTP_GROUP_NCB_LIMIT
identifier: FXCD_F_CTP_GROUP_NCB_LIMIT_ODS
- name: F_CTP_NCB_LIMIT
identifier: FXCD_F_CTP_NCB_LIMIT_ODS
- name: F_ELIGIBILITY
identifier: FXCD_F_ELIGIBILITY_ODS
- name: F_ELIGIBILITY_GROUP_MAP
identifier: FXCD_F_ELIGIBILITY_GROUP_MAP_ODS
- name: F_ELIGIBILITY_ISSUER
identifier: FXCD_F_ELIGIBILITY_ISSUER_ODS
- name: F_ELIGIBILITY_ISSUER_MAP
identifier: FXCD_F_ELIGIBILITY_ISSUER_MAP_ODS
- name: F_ELIGIBILITY_MAP
identifier: FXCD_F_ELIGIBILITY_MAP_ODS
- name: F_ENTITY
identifier: FXCD_F_ENTITY_ODS
- name: F_EQUIVALENCE_RULE
identifier: FXCD_F_EQUIVALENCE_RULE_ODS
- name: F_ISSUER
identifier: FXCD_F_ISSUER_ODS
- name: F_ISSUER_NCB_LIMIT
identifier: FXCD_F_ISSUER_NCB_LIMIT_ODS
- name: F_LIQUIDITY_NCB_LIMIT
identifier: FXCD_F_LIQUIDITY_NCB_LIMIT_ODS
- name: F_NCB_PORTFOLIO_SHARE
identifier: FXCD_F_NCB_PORTFOLIO_SHARE_ODS
- name: F_RATING
identifier: FXCD_F_RATING_ODS
- name: F_RATING_AGENCY
identifier: FXCD_F_RATING_AGENCY_ODS
- name: T2_MAXIMA_CREDIT_LINE_AMOUNT
identifier: T2_MAXIMA_CREDIT_LINE_AMOUNT_ODS
- name: PEAK_INTRADAY_CREDIT_USE
identifier: T2_PEAK_INTRADAY_CREDIT_USE_ODS
- name: PEAK_LIQUIDITY_NEED
identifier: T2_PEAK_LIQUIDITY_NEED_ODS

View File

@@ -0,0 +1,25 @@
version: 2
sources:
- name: ou_c2d
schema: ou_c2d
tables:
- name: UC_NMA_ACC
- name: UC_NMA_DISSEM
- name: UC_NMA_DECC_DISSEM
- name: UC_MA_DISSEM
- name: EA_ELIGIBLE_ASSET
- name: EA_ADDITIONAL_GUARANTOR
- name: EA_FOREIGN_EXCHANGE_SWAP_COUNT
- name: EA_INTEREST_RATE_SWAP_PROVIDER
- name: EA_ISSUER_ACCOUNT_BANK
- name: EA_LIQUIDITY_SUPPORT_PROVIDER
- name: EA_ORIGINATOR
- name: EA_SERVICER
- name: EA_RIAD_MFI_ISIN
- name: MPEC_ADMIN
- name: MPEC_CONTENT
- name: MPEC_CONTENT_CRITERION
- name: MPEC_CONTENT_CRITERION_FULL
- name: MPEC_CONTENT_FULL
- name: MPEC_MID_FULL

View File

@@ -0,0 +1,8 @@
version: 2
sources:
- name: ou_csdb
schema: ou_csdb
tables:
- name: RATINGS_RT_PARTY_RATING

View File

@@ -0,0 +1,41 @@
version: 2
sources:
- name: OU_LM
schema: ODS
tables:
- name: STANDING_FACILITIES_HEADER
identifier: LM_STANDING_FACILITIES_HEADER_ODS
- name: STANDING_FACILITIES
identifier: LM_STANDING_FACILITIES_ODS
- name: FORECAST_HEADER
identifier: LM_FORECAST_HEADER_ODS
- name: FORECAST_ITEM
identifier: LM_FORECAST_ITEM_ODS
- name: BALANCESHEET_HEADER
identifier: LM_BALANCESHEET_HEADER_ODS
- name: BALANCESHEET_ITEM
identifier: LM_BALANCESHEET_ITEM_ODS
- name: QR_ADJ_HEADER
identifier: LM_QRE_ADJUSTMENTS_HEADER_ODS
- name: QR_ADJ_ITEM_HEADER
identifier: LM_QRE_ADJUSTMENTS_ITEM_HEADER_ODS
- name: QR_ADJ_ITEM
identifier: LM_QRE_ADJUSTMENTS_ITEM_ODS
- name: ADHOC_ADJ_HEADER
identifier: LM_ADHOC_ADJUSTMENTS_HEADER_ODS
- name: ADHOC_ADJ_ITEM_HEADER
identifier: LM_ADHOC_ADJUSTMENTS_ITEM_HEADER_ODS
- name: ADHOC_ADJ_ITEM
identifier: LM_ADHOC_ADJUSTMENTS_ITEM_ODS
- name: CSM_ADJ_HEADER
identifier: LM_CSM_ADJUSTMENTS_HEADER_ODS
- name: CSM_ADJ_ITEM_HEADER
identifier: LM_CSM_ADJUSTMENTS_ITEM_HEADER_ODS
- name: CSM_ADJ_ITEM
identifier: LM_CSM_ADJUSTMENTS_ITEM_ODS
- name: TTS_HEADER
identifier: LM_TTS_HEADER_ODS
- name: TTS_ITEM
identifier: LM_TTS_ITEM_ODS

View File

@@ -0,0 +1,10 @@
version: 2
sources:
- name: OU_MRR
schema: ODS
tables:
- name: MRR_IND_CURRENT_ACCOUNT_HEADER
identifier: LM_CURRENT_ACCOUNTS_HEADER_ODS
- name: MRR_IND_CURRENT_ACCOUNT_ITEM
identifier: LM_CURRENT_ACCOUNTS_ITEM_ODS

View File

@@ -0,0 +1,16 @@
version: 2
sources:
- name: ou_riad
schema: ou_riad
tables:
- name: ENTTY_IDNTFRS_FLTTND
- name: RIAD_CLOSE_LINK
- name: RIAD_CLOSE_LINK_ADHOC
- name: ENTTY_FLTTND_C2D
- name: ENTTY_RIAD_CD_ALS
- name: ENTTY_FLTTND_ECMS
- name: GRP_FTR_STRCTR
- name: RLTNSHP

View File

@@ -0,0 +1,9 @@
version: 2
sources:
- name: ou_rqsd
schema: ou_rqsd
tables:
- name: RQSD_OBSERVATIONS
- name: RQSD_SUBA_DEVO
- name: RQSD_FX

View File

@@ -0,0 +1,37 @@
version: 2
sources:
- name: ou_tms
schema: ou_tms
tables:
- name: ACMCURRENCYFLOW
- name: ACTIVITYLOGDUE
- name: ACMENTRYSTATELEDGERGROUP
- name: ACTIVITY_LOG
- name: BALANCE
- name: BLACKOUT_LOG
- name: BRANCH
- name: CALENDAR
- name: CASHFLOW
- name: CLIENT
- name: CUSTODYBALANCE
- name: ECBINSTRUMENTBONDCASHFLOW
- name: EFFECTIVEROLEPROFILE
- name: FINMESSAGELOG
- name: HISTORY_LOG
- name: INSTRUMENTBONDCASHFLOW
- name: INSTRUMENT_REPORT
- name: MARKETINFO
- name: PARAMETER
- name: PORTFOLIOTREE
- name: PRICES
- name: PROPERTY
- name: RECONCILIATION
- name: ROLEPORTFOLIOPROFILE
- name: RULES
- name: SDM_ENTITY_STATE
- name: SECURITYPOSITION
- name: SETTLEMENTCASHFLOW
- name: SETTLEMENTLOG
- name: TRANSACTION
- name: USERINFORMATION

View File

@@ -0,0 +1,11 @@
sources:
- name: ou_top
schema: ou_top
tables:
- name: AGGREGATED_ALLOTMENT
- name: ALLOTMENT
- name: allotment_modification_header
- name: allotment_modification_item
- name: ANNOUNCEMENT
- name: FBL_ITEM
- name: FULLBID_ARRAY_COMPILED

View File

@@ -0,0 +1,7 @@
version: 2
sources:
- name: riad
schema: riad
tables:
- name: T_ENTTY_FLTTND_ESSNTL_CURRENT

View File

@@ -0,0 +1,15 @@
version: 2
sources:
- name: sf_c2d
schema: sf_c2d
tables:
- name: EA_ELIGIBLE_ASSET
- name: EA_SERVICER
- name: EA_ISSUER_ACCOUNT_BANK
- name: EA_ADDITIONAL_GUARANTOR
- name: EA_FOREIGN_EXCHANGE_SWAP_COUNT
- name: EA_INTEREST_RATE_SWAP_PROVIDER
- name: EA_ORIGINATOR
- name: EA_LIQUIDITY_SUPPORT_PROVIDER

View File

@@ -0,0 +1,8 @@
version: 2
sources:
- name: sf_led
schema: sf_led
tables:
- name: ISIN_WITH_LARGER_LIMITS

View File

@@ -0,0 +1,9 @@
version: 2
sources:
- name: sf_tms
schema: sf_tms
tables:
- name: UMISECURITYINFO
- name: ASSET_ENRICHMENT