-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I used "flogo create" to create an instance of an app. I then copied over the flogo.json file with a version containing the kafka trigger (rather than hand editing the file) and then attempted the build:
__wcn00@bilbo:~/go/src/github.com/wnichols/testkafkab> flogo build
panic: invalid argument
goroutine 1 [running]:
github.com/TIBCOSoftware/flogo-cli/util.RenderTemplate(0x8984e0, 0x0, 0x755001, 0x63b, 0x6cc1a0, 0xc4202ae6a0)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/util/text.go:36 +0x22d
github.com/TIBCOSoftware/flogo-cli/app.createMainGoFile(0xc420015200, 0x3f, 0x0, 0x0)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/app/files.go:27 +0x118
github.com/TIBCOSoftware/flogo-cli/app.PrepareApp(0x89e980, 0xc4200183c0, 0xc4200d0c60, 0x0, 0x0)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/app/api.go:146 +0x39c
github.com/TIBCOSoftware/flogo-cli/app.BuildApp(0x89e980, 0xc4200183c0, 0xc420055e10, 0xc4200183c0, 0x2)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/app/api.go:166 +0x21d
github.com/TIBCOSoftware/flogo-cli/app.(*cmdBuild).Exec(0xc4200130a0, 0xc42000c860, 0x0, 0x0, 0x0, 0x0)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/app/build.go:58 +0xf2
github.com/TIBCOSoftware/flogo-cli/cli.ExecCommand(0xc420018360, 0x89bd20, 0xc4200130a0, 0xc42000c860, 0x0, 0x0, 0x0, 0x744351)
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/cli/command.go:114 +0xa9
main.main()
/home/wcn00/go/src/github.com/TIBCOSoftware/flogo-cli/cmd/flogo/main.go:42 +0x122__
wcn00@bilbo:~/go/src/github.com/wnichols/testkafkab> vi flogo.json
I edit the flogo.json file to correct the name:
__wcn00@bilbo:/go/src/github.com/wnichols/testkafkab> flogo build/go/src/github.com/wnichols/testkafkab> __
/home/wcn00/go/src/github.com/wnichols/testkafkab
github.com/TIBCOSoftware/flogo-contrib/action/flow/service
github.com/pierrec/xxHash/xxHash32
github.com/TIBCOSoftware/flogo-lib/config
github.com/eapache/queue
github.com/eapache/go-resiliency/breaker
github.com/TIBCOSoftware/flogo-lib/core/data
github.com/golang/snappy
github.com/julienschmidt/httprouter
github.com/eapache/go-xerial-snappy
github.com/davecgh/go-spew/spew
github.com/pierrec/lz4
github.com/Sirupsen/logrus
github.com/TIBCOSoftware/flogo-lib/logger
github.com/TIBCOSoftware/flogo-lib/core/property
github.com/TIBCOSoftware/flogo-lib/core/action
github.com/TIBCOSoftware/flogo-lib/util
github.com/TIBCOSoftware/flogo-lib/core/activity
github.com/TIBCOSoftware/flogo-lib/engine/runner
github.com/TIBCOSoftware/flogo-contrib/trigger/rest/cors
github.com/TIBCOSoftware/flogo-contrib/activity/log
github.com/TIBCOSoftware/flogo-lib/core/trigger
github.com/TIBCOSoftware/flogo-contrib/action/flow/definition
github.com/TIBCOSoftware/flogo-lib/app
github.com/TIBCOSoftware/flogo-contrib/action/flow/model
github.com/TIBCOSoftware/flogo-contrib/model/simple
github.com/TIBCOSoftware/flogo-contrib/action/flow/support
github.com/rcrowley/go-metrics
github.com/TIBCOSoftware/flogo-contrib/trigger/rest
github.com/TIBCOSoftware/flogo-lib/engine
github.com/japm/goScript
github.com/TIBCOSoftware/flogo-contrib/action/flow/script/fggos
github.com/TIBCOSoftware/flogo-contrib/action/flow/provider
github.com/TIBCOSoftware/flogo-contrib/action/flow/instance
github.com/TIBCOSoftware/flogo-contrib/action/flow/tester
github.com/TIBCOSoftware/flogo-contrib/action/flow/extension
github.com/TIBCOSoftware/flogo-contrib/action/flow
github.com/Shopify/sarama
github.com/TIBCOSoftware/flogo-contrib/trigger/kafkasub
testkafkab
wcn00@bilbo:
Reviewers:
@fm-tibco
@torresashjian