MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / imlImportConfigController

Struct imlImportConfigController

controller/system/import.go:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49)
50
51type imlImportConfigController struct {
52 teamModule team.ITeamModule `autowired:""`
53 serviceModule service.IServiceModule `autowired:""`
54 appModule service.IAppModule `autowired:""`
55 apiModule router.IRouterModule `autowired:""`
56 upstreamModule upstream.IUpstreamModule `autowired:""`
57 applicationAuthorizationModule application_authorization.IAuthorizationModule `autowired:""`
58 catalogueModule catalogue.ICatalogueModule `autowired:""`
59 subscribeModule subscribe.ISubscribeModule `autowired:""`
60 applyModule subscribe.ISubscribeApprovalModule `autowired:""`
61 publishModule publish.IPublishModule `autowired:""`
62 releaseModule release.IReleaseModule `autowired:""`
63 transaction store.ITransaction `autowired:""`
64}
65
66func (i *imlImportConfigController) ImportAll(ctx *gin.Context) error {
67 return i.transaction.Transaction(ctx, func(transCtx context.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected