diff --git a/models/models.go b/models/models.go index d384f85..eb062be 100644 --- a/models/models.go +++ b/models/models.go @@ -3,6 +3,7 @@ package models import ( "cloud.o-forge.io/core/oc-lib/logs" + "cloud.o-forge.io/core/oc-lib/models/resource_model" d "cloud.o-forge.io/core/oc-lib/models/resources/data" dc "cloud.o-forge.io/core/oc-lib/models/resources/datacenter" p "cloud.o-forge.io/core/oc-lib/models/resources/processing" @@ -23,6 +24,7 @@ var models = map[string]func() utils.DBObject{ utils.WORKFLOW.String(): func() utils.DBObject { return &w2.Workflow{} }, utils.WORKFLOW_EXECUTION.String(): func() utils.DBObject { return &workflow_execution.WorkflowExecution{} }, utils.WORKSPACE.String(): func() utils.DBObject { return &w3.Workspace{} }, + utils.RESOURCE_MODEL.String(): func() utils.DBObject { return &resource_model.ResourceModel{} }, } func Model(model int) utils.DBObject {