Skip to content

Commit

Permalink
ADD illadrive to illadriveAction factory.
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Nov 9, 2023
1 parent 314c1a2 commit 3e022ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/model/action_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"github.com/illacloud/builder-backend/src/actionruntime/graphql"
"github.com/illacloud/builder-backend/src/actionruntime/hfendpoint"
"github.com/illacloud/builder-backend/src/actionruntime/huggingface"
"github.com/illacloud/builder-backend/src/actionruntime/illadrive"
"github.com/illacloud/builder-backend/src/actionruntime/mongodb"
"github.com/illacloud/builder-backend/src/actionruntime/mssql"
"github.com/illacloud/builder-backend/src/actionruntime/mysql"
Expand Down Expand Up @@ -117,6 +118,9 @@ func (f *ActionFactory) Build() (common.DataConnector, error) {
case resourcelist.TYPE_ORACLE_9I_ID:
oracle9iAction := &oracle9i.Connector{}
return oracle9iAction, nil
case resourcelist.TYPE_ILLA_DRIVE_ID:
illadriveAction := &illadrive.IllaDriveConnector{}
return illadriveAction, nil
default:
return nil, errors.New("invalid ActionType: unsupported type " + resourcelist.GetResourceIDMappedType(f.Type))
}
Expand Down

0 comments on commit 3e022ce

Please sign in to comment.