mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
add skeletons for new CIM file endpoints in simulationmodel endpoints
This commit is contained in:
parent
6894dd961f
commit
0438cfadea
1 changed files with 14 additions and 0 deletions
|
@ -11,6 +11,8 @@ func SimulationModelsRegister(r *gin.RouterGroup) {
|
|||
r.PUT("/:SimulationModelID", simulationmodelUpdateEp)
|
||||
r.GET("/:SimulationModelID", simulationmodelReadEp)
|
||||
r.DELETE("/:SimulationModelID", simulationmodelDeleteEp)
|
||||
r.GET("/:SimulationModelID/cimfile", simulationmodelReadCIMfileEp)
|
||||
r.PUT("/:SimulationModelID/cimfile", simulationmodelUpdateCIMfileEp)
|
||||
}
|
||||
|
||||
func simulationmodelsReadEp(c *gin.Context) {
|
||||
|
@ -44,3 +46,15 @@ func simulationmodelDeleteEp(c *gin.Context) {
|
|||
"message": "NOT implemented",
|
||||
})
|
||||
}
|
||||
|
||||
func simulationmodelReadCIMfileEp(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"message": "NOT implemented",
|
||||
})
|
||||
}
|
||||
|
||||
func simulationmodelUpdateCIMfileEp(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"message": "NOT implemented",
|
||||
})
|
||||
}
|
Loading…
Add table
Reference in a new issue