Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions docs/plantuml/controllers/ProjectController.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
@startuml

!include ../services/ProjectService.puml

package controllers {
class ProjectController {
-service *services.HostNetworkService
--
-logger *logrus.Logger
--
+GetList(ctx *gin.Context)
--
+GetByID(ctx *gin.Context)
--
+Create(ctx *gin.Context)
--
+Delete(ctx *gin.Context)
}

note left of ProjectController::GetList
Get list of user projects
end note

note left of ProjectController::GetByID
Gets user project by id
end note

note left of ProjectController::Create
Create new user project
end note

note left of ProjectController::Delete
Delete user project by id
end note


UserProjectService -up- ProjectController::service
}

@enduml
274 changes: 274 additions & 0 deletions docs/plantuml/controllers/ProjectController.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/plantuml/dto/Project/ProjectBaseDto.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@startuml

package dtos {
class ProjectBaseDto {
+Name string
--
+Subnet string
}
}

@enduml
23 changes: 23 additions & 0 deletions docs/plantuml/dto/Project/ProjectBaseDto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/plantuml/dto/Project/ProjectCreateDto.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@startuml

!include ProjectBaseDto.puml

package dtos {
class ProjectCreateDto

ProjectCreateDto --* ProjectBaseDto
}


@enduml
47 changes: 47 additions & 0 deletions docs/plantuml/dto/Project/ProjectCreateDto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/plantuml/dto/Project/ProjectDto.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@startuml
!include ProjectBaseDto.puml
!include ../BaseDto.puml

package dtos {
class ProjectDto {
+BridgeName string
--
+DHCPServerID uuid.UUID
--
+TFTPServerID uuid.UUID
}
ProjectDto --* ProjectBaseDto
ProjectDto --* BaseDto
}

@enduml
69 changes: 69 additions & 0 deletions docs/plantuml/dto/Project/ProjectDto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs/plantuml/entities/Project.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@startuml Project

!include Entity.puml

package domain {
class Project {
+Name string
--
+BridgeName string
--
+Subnet string
--
+DHCPServerID uuid.UUID
--
+TFTPServerID uuid.UUID
}
Project -down-* EntityUUID
}

@enduml
Loading