Загрузка данных


asyncapi: 3.0.0
id: urn:https:gitlabci:raiffeisen:ru:coreplatform:active-products:personal-loans:csp-personal-loan-bpadapter
info:
  title: csp-retail-loan-bp-adapter
  version: 1.0.0
  description: CSP Personal Loan BP Adapter Service API — Выдача кредита (create-non-retail-deal)
  contact:
    name: CoreActiveProducts
    url: https://confluence.raiffeisen.ru/display/CORS/Active+Products
    email: csp_active_products@raiffeisen.ru
  license:
    name: Apache License 2.0
defaultContentType: application/json
servers:
  jms-server:
    host: tcp://localhost:61616
    protocol: jms
channels:
  INT.CSP.NRTLOANDEAL.REQ:
    address: INT.CSP.NRTLOANDEAL.REQ
    messages:
      ru.raiffeisen.csp.ap.devpack.starter.common.model.IncomingEventRu.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload:
        $ref: "#/components/messages/ru.raiffeisen.csp.ap.devpack.starter.common.model.IncomingEventRu.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload"
    servers:
      - $ref: "#/servers/jms-server"
  INT.CSP.NRTLOANDEAL.RESP:
    address: INT.CSP.NRTLOANDEAL.RESP
    messages:
      createNrtDealResponse:
        $ref: "#/components/messages/createNrtDealResponse"
    servers:
      - $ref: "#/servers/jms-server"
operations:
  INT.CSP.NRTLOANDEAL.REQ_receive_handle:
    action: receive
    channel:
      $ref: "#/channels/INT.CSP.NRTLOANDEAL.REQ"
    title: INT.CSP.NRTLOANDEAL.REQ_receive
    description: Выдача кредита
    bindings:
      jms: {}
    messages:
      - $ref: "#/channels/INT.CSP.NRTLOANDEAL.REQ/messages/ru.raiffeisen.csp.ap.devpack.starter.common.model.IncomingEventRu.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload"
  INT.CSP.NRTLOANDEAL.RESP_send_createNrtDealSuccessOutgoingEventService:
    action: send
    channel:
      $ref: "#/channels/INT.CSP.NRTLOANDEAL.RESP"
    title: INT.CSP.NRTLOANDEAL.RESP_send
    description: Выдача кредита
    bindings:
      jms: {}
    messages:
      - $ref: "#/channels/INT.CSP.NRTLOANDEAL.RESP/messages/createNrtDealResponse"
components:
  schemas:
    createNrtDeal:
      title: createNrtDeal
      type: object
      properties:
        operation:
          type: string
          enum: [create-non-retail-deal]
          examples: [create-non-retail-deal]
        replyTo:
          type: string
          enum: [cib_dlm]
          examples: [cib_dlm]
        requestId:
          type: string
          enum: [cba69984-2a85-49b1-a4c3-b38d80384e26]
          examples: [cba69984-2a85-49b1-a4c3-b38d80384e26]
        sendTo:
          type: string
          enum: [csp-loan-deal]
          examples: [csp-loan-deal]
        systemName:
          type: string
          enum: [CIBDLM]
          examples: [CIBDLM]
    createNrtDealResponse:
      title: createNrtDealResponse
      type: object
      properties:
        creditLineId:
          type: string
          description: Номер договора (Midas)
          examples: [CAAZVS60416]
        sourceAgreementId:
          type: string
          description: Идентификатор договора (Agora)
          examples: [0acf4c3d-25ec-45ea-a060-42485af6bee1]
        dealNumber:
          type: string
          description: Номер сделки
          examples: [LNMG2025050100000001]
        dealMidasId:
          type: string
          description: Идентификатор сделки (Midas)
        dealStatus:
          type: string
          description: Статус сделки
        createdDateTime:
          type: string
          format: date-time
    ru.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload:
      $ref: "#/components/schemas/ru.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload"
  messages:
    ru.raiffeisen.csp.ap.devpack.starter.common.model.IncomingEventRu.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload:
      headers:
        $ref: "#/components/schemas/createNrtDeal"
      payload:
        schemaFormat: application/vnd.aai.asyncapi+json;version=3.0.0
        schema:
          $ref: "#/components/schemas/ru.raiffeisen.csp.ap.devpack.starter.common.model.IncomingEventRu.raiffeisen.csp.rl.bpadapter.ingress.jms.dto.CreateNrtDealPayload"
      name: IncomingEventCreateNrtDealPayload
      title: IncomingEventCreateNrtDealPayload
      bindings:
        jms:
          bindingVersion: 0.0.1
    createNrtDealResponse:
      headers:
        $ref: "#/components/schemas/createNrtDealResponse"
      payload:
        schemaFormat: application/vnd.aai.asyncapi+json;version=3.0.0
        schema:
          $ref: "#/components/schemas/createNrtDealResponse"
      name: createNrtDealResponse
      title: createNrtDealResponse
      bindings:
        jms:
          bindingVersion: 0.0.1