#account config
logLevel: debug
server:
  enableDataStreamToMysql: [1,30002,30033,60116,30073,30060,60232,30008,60205,90032]
  enableDataStreamToKafka: [1,30002,30033,60116,30073,30060,60232,30008,60205,90032]
  enableReplication: [1,30002,30073,30060,60232,30008,60205,90032]
  enableAuditLog: [1,5,30002,30011,30012,60061,60116,60158,30008,30060,120013,30061,15035,750004,210002,60205,90032,30073,60297,60178]
  clearAuditLogWhitelist: [1,1440002]
  enableXAccount: [1]
  enableOpenAPI: [1,30008,60009,1368900813459918408,60116,60129,30060,15033,15035,60205,90032]
  enableNewClusterListUI: [1]
#mysql:
#  host: tidb.e23bdccc.cb17aaf2.us-west-2.prod.aws.tidbcloud.com
marketPlace:
  marketplaceBackground: true
billing:
  enableCDCTCUMetering: true
  AliCloudManagerOrgID: 2130613

# rbac system  eum
rbac:
  systems: [cp-account,cp-billing,cp-dataservices-dataapp,cp-dbaas-ui,cm-core-portal,as-metrics-api,as-clinic-ngm,as-o11y-global-server,as-clinic-userdebug]

ops-admin:
  adminUsers:  ["letian.wang@pingcap.com","liqing.zhu@pingcap.com","bing.wang@pingcap.com"]
  ak-sk:
    ak_dev: "sk_dev"
    ak_devops_dev: "dev_cdb6cfba-3dee-4175-a064-f7fc9ca90285"


# exp white list config has been moved to table storage, and will be configured in OPS later. 
# Before OPS opens the entrance, you can contact liqing.zhu@pingcap.com to configure it manually.
#expWhiteList:
#  dataservice_enable_system_endpoint:
#    emailSuffixs: pingcap.com
#  dataservice_enable_dedicated:
#    orgIds: 30061,60205
#  chat2query_enable_dedicated:
#    orgIds: 1,30061,60205
#  chat2query_enable_beta_api:
#    orgIds: 150002
#    emailSuffixs: pingcap.com
#  account_enable_enterprise_org:
#    orgIds: 30061,60310
#    emailSuffixs: pingcap.com,snapmail.cc
#  account_enable_sqluser_on_console:
#    orgIds: 30061
#    emailSuffixs: pingcap.com
#  arch2024Exp:
#    minOrgId: 0
#  dedicated_enable_pause_resume_2024:
#    orgIds: 60205
#    minOrgId: 2130406
#  account_enable_audit_log_storage_org:
#    orgIds: 1,30061,60205

# cache
cache:
  cluster:
    expire: 60
    cleanupInterval: 10
    flush: false

# alert
alert:
  dbUserIgnoreOrg: [30061]
  dbUserIgnoreCluster: []

# cm
cm:
  timeout: 11

# message
message:
 notice: ""

# DANGER: 0,
# WARNING: 1,
# SUCCESS: 2,
# INFO: 3
 noticeLevel: 1

# partner
partner:
  pingCAPDealDeskNoticeEmail: ["letian.wang@pingcap.cn","nizheming@pingcap.cn","yichao.zhang@pingcap.cn"]
  closePartnerOrgInviteUserDomainLimit: "1"
  allowEmailDomains:
    2130359: [ "pingcap.com", "gmail.com", "test.com" ]

# db user
dbUser:
  createDbUserOrgBlacklist: [1]
  getBuiltinUserJwtOrgWhitelist: [1440002,2130392]
  getBuiltinUserJwtUsernameWhitelist: ["cloud_ai","chat_ai"]
skipUnsubscribedMap:
  60226: true
  470438934515: true
  
auth-server:
  InnerCreateApplicationEmailWhitelist: ["liqing.zhu@pingcap.com"]
sso:
  openConnectionWhitelist: [1440002]

register_org_create_default_project_type: "tidbx_virtual"
disableOfflineOriginalApi: ""
