65 lines
1.1 KiB
Plaintext
65 lines
1.1 KiB
Plaintext
@startuml
|
|
|
|
title: Python-Structure Overview mdm_to_neo4j
|
|
header version: 17.09.2024
|
|
|
|
left to right direction
|
|
|
|
skinparam nodesep 10
|
|
'skinparam ranksep 20
|
|
|
|
skinparam shadowing false
|
|
skinparam node {
|
|
}
|
|
|
|
together {
|
|
actor "User" as user
|
|
|
|
file conf [
|
|
**mdm.conf**
|
|
____
|
|
- database connection
|
|
]
|
|
|
|
folder "xml-files" as xmls {
|
|
collections "*.xml"
|
|
}
|
|
}
|
|
|
|
rectangle "mdm2neo4j" {
|
|
package "database_connector" {
|
|
component c_neo <<Singleton>> [
|
|
**Neo4jConnection**
|
|
]
|
|
}
|
|
package "xml_processor" {
|
|
component p_xml [
|
|
**XmlProcessor**
|
|
____
|
|
- parse XML file
|
|
- logic for inport
|
|
]
|
|
}
|
|
file run [
|
|
**run.py**
|
|
____
|
|
Parameters:
|
|
- path to xml-files
|
|
- path to mdm.conf
|
|
]
|
|
}
|
|
|
|
node "Neo4j DBMS" {
|
|
database "neo4j" as db
|
|
}
|
|
|
|
user --|> run : start
|
|
run --> p_xml : 1 Object\nper File
|
|
run ..> c_neo : init\nconnection
|
|
run -> conf : read-only
|
|
run -u-> xmls : read-only
|
|
p_xml --> c_neo
|
|
c_neo --> db : read/write
|
|
|
|
@enduml
|