add skeletons for new CIM file endpoints in simulationmodel endpoints

This commit is contained in:
Sonja Happ 2019-05-15 16:10:29 +02:00
parent 6894dd961f
commit 0438cfadea

View file

@ -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",
})
}