| | |
| | | fetcher.fnInitDBAPI(util.FSI.IP, util.FSI.HTTPort, util.FSI.HBPort, util.FSI.DataPort, logo.Infoln) |
| | | // fetcher.fnInitDBAPI("192.168.20.10", util.FSI.HTTPort, util.FSI.HBPort, util.FSI.DataPort, logo.Infoln) |
| | | sdks := fetcher.fnSDKInfo() |
| | | |
| | | if len(sdks) == 0 { |
| | | logo.Errorln("!!!!!!Fetcher Can't Get SDK Infos From Remote DB") |
| | | return false |
| | | } |
| | | return manualStart(ctx, sdks, configPath) |
| | | } |
| | | |
| | | func manualStart(ctx context.Context, sdks []sdkstruct.SDKInfo, configPath string) bool { |
| | | rPath := configPath |
| | | |
| | | params := app.GetParams() |
| | | |
| | | for _, v := range sdks { |
| | | |
| | |
| | | "-" + util.ConfigPath + "=" + file, |
| | | } |
| | | |
| | | args = append(args, app.GetParams(util.ConfigPath, file)...) |
| | | args = append(args, params...) |
| | | pid, err := runProc(ctx, "./analysis", args, cfg.Env) |
| | | |
| | | if err != nil { |