# yaml-language-server: $schema=file:///Users/borysbabii/Projects/collab/bbabiy/python/service-dependencies/services.schema.json

services:
# ECS services
  - name: ecs-ows-abacus-account
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-account"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-account"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3312"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
        - name: managed-kafka-cdc
          type: connects_to
        - name: topic-graphql.subscription.abacusAccountTaxInfoUpdated
          type: publishes_to
        - name: topic-event.payee.programMove
          type: publishes_to
        - name: schema-registry
          type: connects_to
        - name: ecs-ows-permissions
          type: connects_to
        - name: ecs-ows-pdp
          type: connects_to
        - name: dynamo-ows-request-authorization
          type: connects_to
  - name: ecs-ows-abacus-contract
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-contract"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-contract"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3313"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
        - name: managed-kafka-cdc
          type: connects_to
        - name: schema-registry
          type: connects_to
        - name: neo4j
          type: connects_to
        - name: ecs-ows-abacus-account
          type: depends_on
        - name: topic-event.abacus.contract
          type: publishes_to
  - name: ecs-ows-abacus-event
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-event"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-event"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3314"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: airflow
        type: depends_on
      - name: rds-royalty_accounting
        type: connects_to
      - name: lambda-abacus-commit-ledger-account-contract
        type: invokes
      - name: lambda-abacus-correction-apply
        type: invokes
      - name: lambda-abacus-correction-stage
        type: invokes
      - name: lambda-abacus-snapshot-contracts
        type: invokes
      - name: lambda-abacus-sync-contract
        type: invokes
      - name: lambda-abacus-sync-contract-sap
        type: invokes
      - name: lambda-documents-calculate-payments
        type: invokes
      - name: lambda-documents-close-balance
        type: invokes
      - name: lambda-collaborator-auto-report-run
        type: invokes
      - name: lambda-documents-send-payments
        type: invokes
  - name: ecs-ows-abacus-legacy-sync
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-legacy-sync"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-legacy-sync"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3315"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: rds-art_relations
        type: connects_to
  - name: ecs-ows-abacus-schedule
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-schedule"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-schedule"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3316"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
  - name: ecs-ows-abacus-state
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-state"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-state"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3317"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
        - name: ecs-ows-permissions
          type: depends_on
  - name: ecs-ows-abacus-worksheet
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-abacus-worksheet"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-abacus-worksheet"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3318"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
        - name: s3-abacus-adjustments
          type: reads_from
  - name: ecs-ows-account
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-account"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-account"
      jira_issue: ""
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-art_relations
          type: connects_to
        - name: neo4j
          type: connects_to
        - name: managed-kafka-artis
          type: connects_to
        - name: topic-event.accounts
          type: publishes_to
        - name: ecs-ows-users
          type: depends_on
        - name: ecs-ows-permissions
          type: depends_on
        - name: ecs-ows-collaborator
          type: depends_on
  - name: ecs-ows-accounting
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-accounting"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-accounting"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
        - name: s3-orcdbucket
          type: reads_from
        - name: s3-statement-detail-exports
          type: reads_from
        - name: s3-cucumbers
          type: reads_from
        - name: dynamo-accounting-statement-export
          type: depends_on
        - name: dynamo-ows-accounting-owsrequest
          type: depentds_on
        - name: dynamo-statement_attachments_success
          type: depends_on
        - name: swf_processing_accounting
          type: depends_on
        - name: rds-art_relations
          type: connects_to
        - name: rds-ows-accounting
          type: connects_to
        - name: snowflake-facts
          type: connects_to
        - name: redis-ows-accounting
          type: connects_to
  - name: ecs-ows-ledger
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-ledger"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/blob/master/qa/ows-ledger"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3319"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
  - name: ecs-ows-users
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-users"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-users"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
  - name: ecs-ows-moneyhub
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-moneyhub"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-moneyhub"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: connects_to
        - name: redis-ows-moneyhub
          type: connects_to
        - name: snowflake-ROYALTY_ACCOUNTING
          type: connects_to
        - name: ecs-ows-abacus-contract
          type: depends_on
        - name: ecs-ows-abacus-event
          type: depends_on
        - name: ecs-ows-moneyhub
          type: depends_on
        - name: ecs-ows-permissions
          type: depends_on
        - name: sqs-moneyhub-custom-reports-queue
          type: depends_on
        - name: sqs-moneyhub-generate-attachments-queue
          type: depends_on
        - name: s3-moneyhub-attachments
          type: depends_on
        - name: s3-moneyhub-custom-reports
          type: depends_on
  - name: ecs-ows-payee
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-payee"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-payee"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3320"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: depends_on
        - name: lambda-rotate-payoneer-auth-token
          type: depends_on
        - name: managed-kafka-cdc
          type: connects_to
        - name: topic-graphql.subscription.abacusAccountPayeeResyncPaymentReadiness
          type: publishes_to
        - name: s3-abacus-ows-payee
          type: depends_on
        - name: dynamo-ows-payee-payee-info
          type: depends_on
        - name: dynamo-ows-payee-payee-info-ci-cd
          type: depends_on
        - name: ecs-oes-abacus-account # GET /account-payee/{num}
          type: depends_on
        - name: ecs-ows-collaborator # GET /account/{num}/account-payment-term
          type: depends_on
  - name: ecs-ows-payment
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-payment"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-payment"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3321"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: depends_on
        - name: s3-abacus-payments
          type: depends_on
  - name: ecs-ows-permissions
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-permissions"
      terraform_configuration_path: "htps://github.com/theorchard/terraform-infra/tree/master/qa/ows-permissions"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
        - name: rds-art_relations
          type: depends_on
        - name: neo4j
          type: depends_on
        - name: redis-ows-permissions
          type: depends_on
  - name: ecs-ows-product
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-product"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-product"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-account
        type: depends_on
      - name: rds-art_relations
        type: depends_on
      - name: sqs-upc_repository-queue
        type: depends_on
      - name: dynamo-product_localization
        type: depends_on
  - name: ecs-ows-royalties
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-royalties"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-royalties"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3323"
      language: "python"
      auth: "owsrequest + pdp-sdk"
      group: null
    dependencies:
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-collaborator
        type: depends_on
      - name: rds-royalty_accounting
        type: depends_on
      - name: s3-royalties-sales-files
        type: depends_on
      - name: s3-abacus-adjustments
        type: depends_on
      - name: es-ows-royalties-log
        type: depends_on
  - name: ecs-ows-collaborator
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/ows-collaborator"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-collaborator"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: rds-ows-collaborator
        type: connects_to
      - name: snowflake-FACTS
        type: connects_to
  - name: ecs-graphql-abacus
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/graphql-abacus"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/graphql-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3326"
      language: "javascript"
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-abacus-schedule
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: ecs-ows-account
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-moneyhub
        type: depends_on
      - name: ecs-ows-payee
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-product
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: ecs-graphql-tax-payment
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/graphql-tax-payment"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/graphql-tax-payment"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3327"
      language: "typescript"
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: ecs-ows-payee
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-product
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: ecs-graphql-gateway
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/graphql-gateway"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/graphql-gateway"
      jira_issue: ""
      language: "typescript"
      auth: ""
      group: null
    dependencies:
      - name: ecs-graphql-abacus
        type: depends_on
  - name: ecs-graphql-router
    type: ecs
    meta:
      github_repo: "https://github.com/theorchard/graphql-router"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/graphql-router"
      jira_issue: ""
      language: "rust"
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: ecs-ows-payee
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-product
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on

# lambda services
  - name: lambda-abacus-adjustment-file-import
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/adjustment_file_import"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: rds-royalty_accounting
        type: depends_on
      - name: s3-abacus-adjustments
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-adjustment-file-validation
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/adjustment_file_validation"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: s3-abacus-adjustments
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
      - name: snowflake-ORCHARD_APP_REPORTING_V2
        type: depends_on
  - name: lambda-abacus-adjustments-apply
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/adjustments_apply"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-commit-ledger-account-contract
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/commit_ledger_account_contract"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-moneyhub
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-commit-mechanicals
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/commit_mechanicals"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-ledger
        type: depends_on
      - name: snowflake-ROYALTY_ACCOUNTING
        type: depends_on
  - name: lambda-abacus-commit-royalties
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/commit_royalties"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
      - name: snowflake-ROYALTY_ACCOUNTING
        type: depends_on
  - name: lambda-abacus-contract-lifecycle-automation
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/contract_lifecycle_automation"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-contract
        type: depends_on
  - name: lambda-abacus-correction-apply
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/correction_apply"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
  - name: lambda-abacus-correction-stage
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/correction_stage"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-worksheet
        type: depends_on
      - name: snowflake-ROYALTY_ACCOUNTING
        type: connects_to
  - name: lambda-abacus-json-contract-file-import
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/json_contract_file_import"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
        - name: rds-royalty_accounting
          type: depends_on
        - name: ecs-ows-abacus-account
          type: depends_on
        - name: ecs-ows-abacus-contract
          type: depends_on
        - name: ecs-ows-abacus-state
          type: depends_on
        - name: ecs-ows-royalties
          type: depends_on
        - name: s3-abacus-json-contract-file-import
          type: connects_to
  - name: lambda-abacus-ledger-accounting-run-balance
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/ledger_accounting_run_balance"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: snowflake-ROYALTY_ACCOUNTING
        type: connects_to
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-payments-generate
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/payments_generate"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
  - name: lambda-abacus-payoneer-payments-payout
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/payoneer_payments_payout"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-payee
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
  - name: lambda-abacus-reserves-release
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/reserves_release"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-ledger
        type: depends_on
  - name: lambda-abacus-reserves-schedule
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/reserves_schedule"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
  - name: lambda-abacus-reserves-take
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/reserves_take"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: snowflake-ROYALTY_ACCOUNTING
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-schedule-auto-add
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/schedule_auto_add"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-graphql-router
        type: depends_on
  - name: lambda-abacus-snapshot-contracts
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/snapshot_contracts"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: snowflake-ROYALTY_ACCOUNTING
        type: depends_on
      - name: ecs-ows-royalties
        type: depends_on
  - name: lambda-abacus-sync-account
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/sync_account"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-graphql-router
        type: depends_on
  - name: lambda-abacus-sync-contract
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/sync_contract"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-legacy-sync
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
  - name: lambda-abacus-sync-contract-sap
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-abacus/tree/master/lambda/sync_contract_sap"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-abacus"
      jira_issue: "https://theorchard.atlassian.net/browse/WIZ-3325"
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: sap-api-connect-tsme
        type: depends_on
  - name: lambda-collaborator-auto-report-run
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-collaborator-report/tree/master/lambda/collaborator-auto-report-run"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/lambda-collaborator/auto-report-run"
      jira_issue: ""
      language: "python"
      auth: ""
      group: null
    dependencies:
      - name: rds-royalty_accounting
        type: depends_on
      - name: rds-ows-collaborator
        type: depends_on
      - name: sqs-collaborator-report-trigger-queue
        type: depends_on
  - name: lambda-documents-calculate-payments
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/calculate-payments"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/calculate-payments"
      jira_issue: ""
      language: "python"
      auth: "owsrequest"
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
  - name: lambda-documents-close-balance
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/close-balance"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/close-balance"
      jira_issue: ""
      language: "typescript"
      auth: ""
      group: null
    dependencies:
      - name: snowflake-ROYALTY_ACCOUNTING
        type: depends_on
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-ledger
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
  - name: lambda-documents-evaluate-payment-eligibility
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/evaluate-payment-eligibility"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/evaluate-payment-eligibility"
      jira_issue: ""
      language: "typescript"
      auth: "jwt_token"
      group: null
    dependencies:
      - name: ecs-graphql-gateway
        type: depends_on
  - name: lambda-documents-generate-payments
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/generate-payments"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/generate-payments"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-contract
        type: depends_on
      - name: ecs-ows-abacus-event
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
  - name: lambda-documents-knr-payments
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/knr-payments"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/knr-payments"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: snowflake-ORCHARD_APP_REPORTING_V2
        type: depends_on
      - name: s3-lambda-documents-knr-payments
        type: depends_on
  - name: lambda-documents-knr-payments-approve
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/knr-payments-approve"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/knr-payments-approve"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-account
        type: depends_on
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-payment
        type: depends_on
      - name: s3-lambda-documents-knr-payments
        type: depends_on
      - name: s3-lambda-documents-knr-payments-approve
        type: depends_on
      - name: s3-abacus-sap-payment-files
        type: depends_on
  - name: lambda-documents-knr-update-abacus-ledger
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/knr-update-abacus-ledger"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/knr-update-abacus-ledger"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: s3-lambda-documents-knr-payments
        type: depends_on
  - name: lambda-documents-payoneer-webhooks-payee
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/payoneer-webhooks-payee"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/payoneer-webhooks-payee"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-ows-abacus-state
        type: depends_on
      - name: ecs-ows-payee
        type: depends_on
      - name: ecs-ows-abacus-account
        type: depends_on
  - name: lambda-documents-post-to-subledger
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/post-to-subledger"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/post-to-subledger"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-graphql-gateway
        type: depends_on
  - name: lambda-documents-send-payments
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/send-payments"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/send-payments"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-graphql-gateway
        type: depends_on
  - name: lambda-documents-update-payee-cotr
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/update-payee-cotr"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/update-payee-cotr"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
    dependencies:
      - name: ecs-graphql-gateway
        type: depends_on
  - name: lambda-documents-update-payee-info
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/update-payee-info"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/update-payee-info"
      jira_issue: ""
      language: "typescript"
      auth: "jwt"
      group: null
    dependencies:
      - name: ecs-ows-payee
        type: depends_on
  - name: lambda-rotate-payoneer-auth-token
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-rotate-payoneer-auth-token"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/ows-payee/lambda-rotate-payoneer-auth-token"
      jira_issue: ""
      language: "typescript"
      auth: ""
      group: null
  - name: lambda-documents-evaluate-tax-eligibility
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/evaluate-tax-eligibility"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/evaluate-tax-eligibility"
      jira_issue: ""
      language: ""
      auth: ""
      group: null
  - name: lambda-documents-evaluate-payment-eligibility
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/evaluate-payment-eligibility"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/evaluate-payment-eligibility"
      jira_issue: ""
      language: "typescript"
      auth: ""
      group: null
  - name: lambda-documents-payoneer-program-move
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/payoneer-program-move"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/payoneer-program-move"
      jira_issue: ""
      language: "python"
      auth: ""
      group: null
  - name: lambda-documents-update-knr-vat-details
    type: lambda
    meta:
      github_repo: "https://github.com/theorchard/lambda-documents/tree/master/lambda/update-knr-vat-details"
      terraform_configuration_path: "https://github.com/theorchard/terraform-infra/tree/master/qa/documents/update-knr-vat-details"
      jira_issue: ""
      language: "python"
      auth: ""
      group: null

# RDS services
  - name: rds-art_relations
    type: rds
  - name: rds-royalty_accounting
    type: rds
  - name: rds-ows-accounting
    type: rds
  - name: rds-ows-collaborator
    type: rds
  

# Kafka services
  - name: managed-kafka-cdc
    type: kafka
  - name: managed-kafka-artis
    type: kafka

# Kafka topics
  - name: topic-graphql.subscription.abacusAccountPayeePayoneerStatusUpdated
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
      - name: lambda-documents-update-payee-info
        type: triggers
      - name: lambda-documents-evaluate-payment-eligibility
        type: triggers

  - name: topic-graphql.subscription.abacusAccountPayeePayoneerReleased
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
  - name: topic-graphql.subscription.abacusAccountPayeeResyncEligibility
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
  - name: topic-graphql.subscription.abacusAccountPayeeResyncPaymentReadiness
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
      - name: lambda-documents-update-payee-cotr
        type: triggers
      - name: lambda-documents-evaluate-tax-eligibility
        type: triggers
  - name: topic-event.payee.programMove
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
      - name: lambda-documents-payoneer-program-move
        type: triggers
  - name: topic-event.abacus.contract
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
      - name: lambda-documents-update-knr-vat-details
        type: triggers
  - name: topic-event.accounts
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to
  - name: topic-graphql.subscription.abacusAccountTaxInfoUpdated
    type: kafka-topic
    dependencies:
      - name: managed-kafka-cdc
        type: belongs_to

# Schema Registry service
  - name: schema-registry
    type: schema-registry

# Neo4j services
  - name: neo4j
    type: neo4j

# Airflow services
  - name: airflow
    type: airflow

# S3 services
  - name: s3-abacus-adjustments
    type: s3
  - name: s3-cucumbers
    type: s3
  - name: s3-orcdbucket
    type: s3
  - name: s3-statement-detail-exports
    type: s3
  - name: s3-moneyhub-attachments
    type: s3
  - name: s3-moneyhub-custom-reports
    type: s3
  - name: s3-abacus-ows-payee
    type: s3
  - name: s3-abacus-payments
    type: s3
  - name: s3-royalties-sales-files
    type: s3
  - name: s3-abacus-json-contract-file-import
    type: s3
  - name: s3-lambda-documents-knr-payments
    type: s3
  - name: s3-lambda-documents-knr-payments-approve
    type: s3
  - name: s3-abacus-sap-payment-files
    type: s3

# DynamoDB services
  - name: dynamo-accounting-statement-export
    type: dynamodb
  - name: dynamo-ows-accounting-owsrequest
    type: dynamodb
  - name: dynamo-statement_attachments_success
    type: dynamodb
  - name: dynamo-ows-payee-payee-info
    type: dynamodb
  - name: dynamo-ows-payee-payee-info-ci-cd
    type: dynamodb
  - name: dynamo-product_localization
    type: dynamodb
  - name: dynamodb-ows-request-authorization
    type: dynamodb

# SWF services
  - name: swf-accounting-statement
    type: swf
  - name: swf-accounting
    type: swf
  - name: swf_processing_accounting
    type: swf

# Redis services
  - name: redis-ows-accounting
    type: redis
  - name: redis-ows-moneyhub
    type: redis
  - name: redis-ows-permissions
    type: redis

# Snowflake services
  - name: snowflake-facts
    type: snowflake
  - name: snowflake-ROYALTY_ACCOUNTING
    type: snowflake
  - name: snowflake-ORCHARD_APP_REPORTING_V2
    type: snowflake
  - name: snowflake-FACTS
    type: snowflake

# SQS services
  - name: sqs-moneyhub-custom-reports-queue
    type: sqs
  - name: sqs-moneyhub-generate-attachments-queue
    type: sqs
  - name: sqs-upc_repository-queue
    type: sqs
  - name: sqs-collaborator-report-trigger-queue
    type: sqs

# Elasticsearch services
  - name: es-ows-royalties-log
    type: elasticsearch

  - name: sap-api-connect-tsme
    type: sap-api
topic-event:
  accounts:
# API Gateway services
#  - name: apigateway-payoneer-webhooks-payee
#    type: apigateway
#    dependencies:
#      - name: lambda-documents-payoneer-webhooks-payee
#        type: depends_on
