Skip to content

Commit

Permalink
Merge branch 'refactor/temporal_client' into 'main'
Browse files Browse the repository at this point in the history
Refactor temporal and add workflow tests

See merge request product/starhub/starhub-server!777
  • Loading branch information
yiling.ji authored and Yiling-J committed Jan 3, 2025
1 parent 92314cd commit b758a8b
Show file tree
Hide file tree
Showing 32 changed files with 4,470 additions and 575 deletions.
278 changes: 153 additions & 125 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,129 +4,157 @@ dir: "_mocks/{{.PackagePath}}"
# https://github.com/vektra/mockery/commit/13fc60740a1eab3fc705fcc131a4b9a6eacfd0fe#diff-4bc8f03915f15ecf2cb9965592fcf933bb06986003613b5633a8dea7962c31a9R40
resolve-type-alias: false
packages:
io:
config:
interfaces:
Reader:
opencsg.com/csghub-server/component:
config:
interfaces:
RepoComponent:
TagComponent:
AccountingComponent:
SpaceComponent:
SpaceResourceComponent:
RuntimeArchitectureComponent:
SensitiveComponent:
CodeComponent:
PromptComponent:
ModelComponent:
UserComponent:
GitHTTPComponent:
DiscussionComponent:
DatasetComponent:
CollectionComponent:
InternalComponent:
MirrorSourceComponent:
MirrorComponent:
EvaluationComponent:
io:
config:
interfaces:
Reader:
opencsg.com/csghub-server/component:
config:
interfaces:
RepoComponent:
TagComponent:
AccountingComponent:
SpaceComponent:
SpaceResourceComponent:
RuntimeArchitectureComponent:
SensitiveComponent:
CodeComponent:
PromptComponent:
ModelComponent:
UserComponent:
GitHTTPComponent:
DiscussionComponent:
DatasetComponent:
CollectionComponent:
InternalComponent:
MirrorSourceComponent:
MirrorComponent:
ImportComponent:
EvaluationComponent:
RecomComponent:
MultiSyncComponent:
ModelTreeComponent:
opencsg.com/csghub-server/component/callback:
config:
interfaces:
SyncVersionGenerator:
GitCallbackComponent:
opencsg.com/csghub-server/user/component:
config:
interfaces:
MemberComponent:
OrganizationComponent:


opencsg.com/csghub-server/user/component:
config:
interfaces:
MemberComponent:
opencsg.com/csghub-server/builder/store/database:
config:
all: True
opencsg.com/csghub-server/builder/rpc:
config:
interfaces:
UserSvcClient:
ModerationSvcClient:
opencsg.com/csghub-server/builder/sensitive:
config:
interfaces:
GreenClient:
Green2022Client:
SensitiveChecker:
opencsg.com/csghub-server/builder/git/gitserver:
config:
interfaces:
GitServer:
opencsg.com/csghub-server/builder/git/mirrorserver:
config:
interfaces:
MirrorServer:
opencsg.com/csghub-server/builder/git/membership:
config:
interfaces:
GitMemerShip:
opencsg.com/csghub-server/builder/rsa:
config:
interfaces:
KeysReader:
opencsg.com/csghub-server/mirror/cache:
config:
interfaces:
Cache:
opencsg.com/csghub-server/common/types:
config:
interfaces:
SensitiveRequestV2:
opencsg.com/csghub-server/mq:
config:
interfaces:
MessageQueue:
opencsg.com/csghub-server/builder/store/s3:
config:
interfaces:
Client:
opencsg.com/csghub-server/mirror/queue:
config:
interfaces:
PriorityQueue:
opencsg.com/csghub-server/builder/deploy:
config:
interfaces:
Deployer:
opencsg.com/csghub-server/builder/deploy/scheduler:
config:
interfaces:
Scheduler:
opencsg.com/csghub-server/builder/deploy/imagerunner:
config:
interfaces:
Runner:
opencsg.com/csghub-server/builder/deploy/imagebuilder:
config:
interfaces:
Builder:

opencsg.com/csghub-server/accounting/component:
config:
interfaces:
AccountingUserComponent:
AccountingStatementComponent:
AccountingBillComponent:
AccountingPresentComponent:
opencsg.com/csghub-server/builder/accounting:
config:
interfaces:
AccountingClient:
opencsg.com/csghub-server/builder/parquet:
config:
interfaces:
Reader:
opencsg.com/csghub-server/builder/multisync:
config:
interfaces:
Client:
github.com/nats-io/nats.go/jetstream:
config:
interfaces:
Msg:
go.temporal.io/sdk/client:
config:
interfaces:
Client:
opencsg.com/csghub-server/builder/store/database:
config:
all: True
opencsg.com/csghub-server/builder/store/database/ee:
config:
all: True
mock-build-tags: "saas || ee"
opencsg.com/csghub-server/builder/rpc:
config:
interfaces:
UserSvcClient:
ModerationSvcClient:
opencsg.com/csghub-server/builder/sensitive:
config:
interfaces:
GreenClient:
Green2022Client:
SensitiveChecker:
opencsg.com/csghub-server/builder/git/gitserver:
config:
interfaces:
GitServer:
opencsg.com/csghub-server/builder/git/mirrorserver:
config:
interfaces:
MirrorServer:
opencsg.com/csghub-server/builder/git/membership:
config:
interfaces:
GitMemerShip:
opencsg.com/csghub-server/builder/rsa:
config:
interfaces:
KeysReader:
opencsg.com/csghub-server/mirror/cache:
config:
interfaces:
Cache:
opencsg.com/csghub-server/common/types:
config:
interfaces:
SensitiveRequestV2:
opencsg.com/csghub-server/mq:
config:
interfaces:
MessageQueue:
opencsg.com/csghub-server/builder/store/s3:
config:
interfaces:
Client:
opencsg.com/csghub-server/mirror/queue:
config:
interfaces:
PriorityQueue:
opencsg.com/csghub-server/builder/deploy:
config:
interfaces:
Deployer:
opencsg.com/csghub-server/builder/deploy/scheduler:
config:
interfaces:
Scheduler:
opencsg.com/csghub-server/builder/deploy/imagerunner:
config:
interfaces:
Runner:
opencsg.com/csghub-server/builder/deploy/imagebuilder:
config:
interfaces:
Builder:
opencsg.com/csghub-server/accounting/component:
config:
interfaces:
AccountingUserComponent:
AccountingStatementComponent:
AccountingBillComponent:
AccountingPresentComponent:
MeteringComponent:
AccountingEventComponent:
AccountingPriceComponent:
AccountingOrderComponent:
opencsg.com/csghub-server/builder/accounting:
config:
interfaces:
AccountingClient:
opencsg.com/csghub-server/builder/parquet:
config:
interfaces:
Reader:
opencsg.com/csghub-server/builder/multisync:
config:
interfaces:
Client:
opencsg.com/csghub-server/builder/store/cache:
config:
interfaces:
RedisClient:
github.com/nats-io/nats.go/jetstream:
config:
interfaces:
Msg:
go.temporal.io/sdk/client:
config:
interfaces:
Client:
opencsg.com/csghub-server/builder/temporal:
config:
interfaces:
Client:
opencsg.com/csghub-server/builder/importer:
config:
interfaces:
Importer:
Loading

0 comments on commit b758a8b

Please sign in to comment.