refactor: remove JobTemplate production code
Remove all JobTemplate model, store, handler, migrations, and wiring. Replaced by Application Definition system. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -27,11 +27,12 @@ func TestAllRoutesRegistered(t *testing.T) {
|
||||
{"GET", "/api/v1/partitions"},
|
||||
{"GET", "/api/v1/partitions/:name"},
|
||||
{"GET", "/api/v1/diag"},
|
||||
{"GET", "/api/v1/templates"},
|
||||
{"POST", "/api/v1/templates"},
|
||||
{"GET", "/api/v1/templates/:id"},
|
||||
{"PUT", "/api/v1/templates/:id"},
|
||||
{"DELETE", "/api/v1/templates/:id"},
|
||||
{"GET", "/api/v1/applications"},
|
||||
{"POST", "/api/v1/applications"},
|
||||
{"GET", "/api/v1/applications/:id"},
|
||||
{"PUT", "/api/v1/applications/:id"},
|
||||
{"DELETE", "/api/v1/applications/:id"},
|
||||
{"POST", "/api/v1/applications/:id/submit"},
|
||||
}
|
||||
|
||||
routeMap := map[string]bool{}
|
||||
@@ -74,7 +75,7 @@ func TestRegisteredPathReturns501(t *testing.T) {
|
||||
{"GET", "/api/v1/nodes"},
|
||||
{"GET", "/api/v1/partitions"},
|
||||
{"GET", "/api/v1/diag"},
|
||||
{"GET", "/api/v1/templates"},
|
||||
{"GET", "/api/v1/applications"},
|
||||
}
|
||||
|
||||
for _, ep := range endpoints {
|
||||
|
||||
Reference in New Issue
Block a user