| 49 | ) |
| 50 | |
| 51 | type 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 | |
| 66 | func (i *imlImportConfigController) ImportAll(ctx *gin.Context) error { |
| 67 | return i.transaction.Transaction(ctx, func(transCtx context.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected