sling_aptsell/sync_prod_cbg.yaml

101 lines
3.8 KiB
YAML

# 1. Reference your saved connection profiles
source: tidb_prod
target: tidb_local
# 2. Set global defaults (Equivalent to --mode full-refresh)
defaults:
mode: truncate
# This pattern tells Sling: "Use the exact same name (schema.table) for the target"
# equivalent to --tgt-object 'autoflow.crm_accounts'
# object: "{stream}"
# 3. Define the list of tables (streams)
streams:
# Key = --src-stream
# Value = null (because we rely on the 'object' default above)
"autoflow.bi_reports":
object: "autoflow.bi_reports"
"autoflow.crm_account_assessment":
object: "autoflow.crm_account_assessment"
"autoflow.crm_account_review_execution_index":
object: "autoflow.crm_account_review_execution_index"
"autoflow.crm_accounts":
object: "autoflow.crm_accounts"
"autoflow.crm_accounts_snapshot":
object: "autoflow.crm_accounts_snapshot"
"autoflow.crm_acv_targets":
object: "autoflow.crm_acv_targets"
"autoflow.crm_contacts":
object: "autoflow.crm_contacts"
"autoflow.crm_daily_account_statistics":
object: "autoflow.crm_daily_account_statistics"
"autoflow.crm_data_authority":
object: "autoflow.crm_data_authority"
"autoflow.crm_department":
object: "autoflow.crm_department"
"autoflow.crm_eval_metrics":
object: "autoflow.crm_eval_metrics"
"autoflow.crm_ka_accounts":
object: "autoflow.crm_ka_accounts"
"autoflow.crm_log_processing_status":
object: "autoflow.crm_log_processing_status"
"autoflow.crm_opportunities":
object: "autoflow.crm_opportunities"
"autoflow.crm_opportunities_snapshot":
object: "autoflow.crm_opportunities_snapshot"
"autoflow.crm_opportunity_review_execution_index":
object: "autoflow.crm_opportunity_review_execution_index"
"autoflow.crm_orders":
object: "autoflow.crm_orders"
"autoflow.crm_payment_plans":
object: "autoflow.crm_payment_plans"
"autoflow.crm_poc":
object: "autoflow.crm_poc"
"autoflow.crm_push_notification":
object: "autoflow.crm_push_notification"
"autoflow.crm_report_index":
object: "autoflow.crm_report_index"
"autoflow.crm_sales_activities":
object: "autoflow.crm_sales_activities"
"autoflow.crm_sales_records":
object: "autoflow.crm_sales_records"
"autoflow.crm_sales_visit_records":
object: "autoflow.crm_sales_visit_records"
"autoflow.crm_stages":
object: "autoflow.crm_stages"
"autoflow.crm_system_configurations":
object: "autoflow.crm_system_configurations"
"autoflow.crm_todos":
object: "autoflow.crm_todos"
"autoflow.crm_tracked_field_snapshots":
object: "autoflow.crm_tracked_field_snapshots"
"autoflow.crm_user":
object: "autoflow.crm_user"
"autoflow.diagnostic_intermediate_callhigh":
object: "autoflow.diagnostic_intermediate_callhigh"
"autoflow.diagnostic_intermediate_decision_maker":
object: "autoflow.diagnostic_intermediate_decision_maker"
"autoflow.diagnostic_intermediate_decision_maker_engagement":
object: "autoflow.diagnostic_intermediate_decision_maker_engagement"
"autoflow.diagnostic_intermediate_playbook":
object: "autoflow.diagnostic_intermediate_playbook"
"autoflow.diagnostic_intermediate_playbook_tops":
object: "autoflow.diagnostic_intermediate_playbook_tops"
"autoflow.diagnostic_playbook":
object: "autoflow.diagnostic_playbook"
"autoflow.diagnostic_playbook_evaluation":
object: "autoflow.diagnostic_playbook_evaluation"
"autoflow.diagnostic_report":
object: "autoflow.diagnostic_report"
"autoflow.document_contents":
object: "autoflow.document_contents"
"autoflow.feishu_message_log":
object: "autoflow.feishu_message_log"
"autoflow.user":
object: "autoflow.user"
"autoflow.user_fxiaoke":
object: "autoflow.user_fxiaoke"
"autoflow.user_profiles":
object: "autoflow.user_profiles"
"autoflow.users":
object: "autoflow.users"