1
0
Files

146 lines
5.5 KiB
YAML

kind: uapf.resources.mapping
targets:
- id: role.ierosinatajs
type: human_role
name: Būvniecības ierosinātājs
- id: role.buvvaldes-darbinieks
type: human_role
name: Būvvaldes darbinieks
capabilities:
- buvvalde.decision.record
- id: role.buvprojekta-vaditajs
type: human_role
name: Būvprojekta vadītājs
- id: role.tni-parstavis
type: human_role
name: Tehnisko noteikumu izdevēja pārstāvis
- id: role.buvinspektors
type: human_role
name: Būvinspektors
capabilities:
- buvvalde.decision.record
- id: system.kadastrs
type: system_api
name: Nekustamā īpašuma valsts kadastra informācijas sistēma
capabilities:
- registri.kadastrs.read
endpoint: env:KADASTRS_BASE_URL
- id: system.zemesgramata
type: system_api
name: Valsts vienotā datorizētā zemesgrāmata
capabilities:
- registri.zemesgramata.read
endpoint: env:ZEMESGRAMATA_BASE_URL
- id: system.dmn-engine
type: system_api
name: UAPF DMN dzinis
description: Deterministisks lēmumu tabulu izpildītājs. Nekas netiek secināts.
- id: system.audit-log
type: system_api
name: Procesa audita notikumu žurnāls
capabilities:
- event.emit
bindings:
- source: {type: bpmn.userTask, ref: Task_RegisterIecere}
targetId: role.ierosinatajs
mode: manual
notes: >-
Uzņēmējsistēma pārbauda ierosinātāja pilnvarojumu; modelis to nedara.
- source: {type: bpmn.serviceTask, ref: Task_FetchRegisterData}
targetId: system.kadastrs
mode: autonomous
requiredCapabilities: [registri.kadastrs.read, registri.zemesgramata.read]
- source: {type: bpmn.task, ref: Task_DetermineDocumentType}
targetId: system.dmn-engine
mode: autonomous
notes: "Izmanto dmn/01-ieceres-dokumenta-veids.dmn#Decision_IeceresDokumentaVeids"
- source: {type: bpmn.task, ref: Task_PublicConsultationCheck}
targetId: system.dmn-engine
mode: autonomous
notes: "Izmanto dmn/02-publiska-apspriesana.dmn#Decision_PubliskaApspriesana"
- source: {type: bpmn.userTask, ref: Task_PublicConsultation}
targetId: role.buvvaldes-darbinieks
mode: manual
- source: {type: bpmn.userTask, ref: Task_BuvvaldeReview}
targetId: role.buvvaldes-darbinieks
mode: manual
requiredCapabilities: [buvvalde.decision.record]
notes: >-
Būvatļauju izdod būvvalde. Modelis administratīvo aktu nesagatavo un neizdod.
- source: {type: bpmn.userTask, ref: Task_IzstradatBuvprojektu}
targetId: role.buvprojekta-vaditajs
mode: manual
- source: {type: bpmn.task, ref: Task_EkspertizeCheck}
targetId: system.dmn-engine
mode: autonomous
notes: >-
Ekspertīzes nepieciešamības tabula šajā redakcijā vēl nav pievienota;
sasaiste ir deklarēta, lai plūsma būtu pilnīga.
- source: {type: bpmn.userTask, ref: Task_SaskanotTNI}
targetId: role.tni-parstavis
mode: manual
- source: {type: bpmn.userTask, ref: Task_BuvvaldeAtzime}
targetId: role.buvvaldes-darbinieks
mode: manual
requiredCapabilities: [buvvalde.decision.record]
- source: {type: bpmn.userTask, ref: Task_IesniegtBUNDokumentus}
targetId: role.ierosinatajs
mode: manual
- source: {type: bpmn.userTask, ref: Task_BuvvaldeBUNAtzime}
targetId: role.buvvaldes-darbinieks
mode: manual
requiredCapabilities: [buvvalde.decision.record]
- source: {type: bpmn.task, ref: Task_VienotaisProcessCheck}
targetId: system.dmn-engine
mode: autonomous
notes: "Izmanto dmn/04-vienota-procesa-piemerojamiba.dmn#Decision_VienotaProcesaPiemerojamiba"
- source: {type: bpmn.userTask, ref: Task_GatavibaEkspluatacijai}
targetId: role.ierosinatajs
mode: manual
- source: {type: bpmn.userTask, ref: Task_PienemsanaEkspluatacija}
targetId: role.buvvaldes-darbinieks
mode: manual
requiredCapabilities: [buvvalde.decision.record]
- source: {type: bpmn.serviceTask, ref: Task_KadastraRegistracija}
targetId: system.kadastrs
mode: autonomous
- source: {type: bpmn.serviceTask, ref: Task_ZemesgramatasIeraksts}
targetId: system.zemesgramata
mode: autonomous
- source: {type: bpmn.serviceTask, ref: Task_WriteAudit}
targetId: system.audit-log
mode: autonomous
requiredCapabilities: [event.emit]
- source: {type: dmn.decision, ref: Decision_IeceresDokumentaVeids}
targetId: system.dmn-engine
mode: autonomous
- source: {type: dmn.decision, ref: Decision_PubliskaApspriesana}
targetId: system.dmn-engine
mode: autonomous
- source: {type: dmn.decision, ref: Decision_StadijasAtlautasDarbibas}
targetId: system.dmn-engine
mode: autonomous
- source: {type: dmn.decision, ref: Decision_VienotaProcesaPiemerojamiba}
targetId: system.dmn-engine
mode: autonomous
- source: {type: cmmn.humanTask, ref: HT_PlanotParbaudi}
targetId: role.buvinspektors
mode: manual
notes: Diskrecionārs uzdevums uzraudzības lietā.
- source: {type: cmmn.humanTask, ref: HT_VeiktParbaudi}
targetId: role.buvinspektors
mode: manual
- source: {type: cmmn.humanTask, ref: HT_FiksetParkapumu}
targetId: role.buvinspektors
mode: manual
- source: {type: cmmn.humanTask, ref: HT_AptuertBuvdarbus}
targetId: role.buvinspektors
mode: manual
requiredCapabilities: [buvvalde.decision.record]
- source: {type: cmmn.humanTask, ref: HT_ParbauditNoversanu}
targetId: role.buvinspektors
mode: manual
- source: {type: cmmn.humanTask, ref: HT_SlegtLietu}
targetId: role.buvinspektors
mode: manual