diff --git a/doc/uml/backend.png b/doc/uml/backend.png index f03ee1fdd59bb9efef85a319fb6772c688f68a8d..37c008fe788da0529c54093419b0463df4c529fa 100644 Binary files a/doc/uml/backend.png and b/doc/uml/backend.png differ diff --git a/doc/uml/backend.pu b/doc/uml/backend.pu index 6cc859217f3fe61033f20cbd7faf317515ea7f41..fdbf31b29e477d68ad5d17cba2605ee0e50fe022 100644 --- a/doc/uml/backend.pu +++ b/doc/uml/backend.pu @@ -23,7 +23,8 @@ RegistryService "*" --> "1" CertificationProcessor CertificationProcessor "1" --> "1" CertificationRepo NetworkService "1" --> "*" Node -NetworkService "*" --> "1" NodeRepo +NetworkService "*" --> "1" NodesProcessor +NodesProcessor "1" --> "1" NodesRepo BlockchainService "1" --> "1" Blockchain BlockchainService "1" --> "1" Community diff --git a/doc/uml/data.png b/doc/uml/data.png index 1d85979d54d1c523f0e91d0ed3e5537dd8449494..9926347691564e7f3e43ae5cc165e46f32d5b913 100644 Binary files a/doc/uml/data.png and b/doc/uml/data.png differ diff --git a/doc/uml/data.pu b/doc/uml/data.pu index 692bc4d3314cb8e8c72a15e12e36dd70634461f8..8303a44b0c7ee491550adbd5390c2deef6ebf06f 100644 --- a/doc/uml/data.pu +++ b/doc/uml/data.pu @@ -8,20 +8,23 @@ class Identity << (D,orchid) >> { blockstamp: BlockUID timestamp: int signature: str - written: bool - revoked: bool + written_on: BlockUID + revoked_on: BlockUID member: bool membership_buid: BlockUID membership_timestamp: int + membership_type: str + membership_written_on: BlockUID } class Certification << (D,orchid) >> { - currency: str (FK) - certifier: str - certified: str - blockstamp: BlockUID + currency: str (PK) + certifier: str (PK) + certified: str (PK) + blockstamp: BlockUID (PK) timestamp: int signature: str + written_on: BlockUID } class Transaction << (D,orchid) >> { @@ -119,7 +122,7 @@ class KeyRepo << (R,orange) >> { } -class NodeRepo << (R,orange) >> { +class NodesRepo << (R,orange) >> { Create() Update() Save() @@ -167,7 +170,7 @@ CommunityRepo "1" --* "*" Community BlockchainRepo "1" --* "*" Blockchain -NodeRepo "1" --* "*" Node +NodesRepo "1" --* "*" Node KeyRepo "1" --* "*" Key diff --git a/doc/uml/processors.png b/doc/uml/processors.png index c743fe24c83b874e85fddaa771c5dc593b9d593c..da005cebef0f6e9be98173e638a49fa91061fe2f 100644 Binary files a/doc/uml/processors.png and b/doc/uml/processors.png differ diff --git a/doc/uml/processors.pu b/doc/uml/processors.pu index 3ac282393228bea90ead6aab1aeea34a439e3396..92483fb87278b9722a21ae71efb14ed6f951e0f6 100644 --- a/doc/uml/processors.pu +++ b/doc/uml/processors.pu @@ -15,5 +15,7 @@ class CommunityProcessor << (P,lightgreen) >> { } class BlockchainProcessor << (P,lightgreen) >> { } +class NodesProcessor << (P,lightgreen) >> { +} @enduml \ No newline at end of file