Skip to content

Commit

Permalink
add descriptor json to rule action
Browse files Browse the repository at this point in the history
  • Loading branch information
nareshkumarthota committed Apr 27, 2020
1 parent 8b7a53a commit 7a8da56
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
3 changes: 1 addition & 2 deletions examples/flogo/creditcard/flogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"appModel": "1.0.0",
"imports": [
"github.com/project-flogo/contrib/trigger/rest",
"github.com/project-flogo/rules/ruleaction",
"github.com/project-flogo/legacybridge"
"github.com/project-flogo/rules/ruleaction"
],
"triggers": [
{
Expand Down
4 changes: 4 additions & 0 deletions examples/flogo/simple-kafka/flogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"version": "0.0.1",
"description": "Sample Flogo App",
"appModel": "1.0.0",
"imports": [
"github.com/project-flogo/contrib/trigger/kafka",
"github.com/project-flogo/rules/ruleaction"
],
"triggers": [
{
"id": "receive_kafka_message",
Expand Down
4 changes: 4 additions & 0 deletions examples/flogo/simple/flogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"version": "0.0.1",
"description": "Sample Flogo App",
"appModel": "1.0.0",
"imports": [
"github.com/project-flogo/contrib/trigger/rest",
"github.com/project-flogo/rules/ruleaction"
],
"triggers": [
{
"id": "receive_http_message",
Expand Down
4 changes: 4 additions & 0 deletions examples/flogo/trackntrace/flogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"type": "flogo:app",
"version": "0.0.1",
"appModel": "1.0.0",
"imports": [
"github.com/project-flogo/contrib/trigger/rest",
"github.com/project-flogo/rules/ruleaction"
],
"triggers": [
{
"id": "receive_http_message",
Expand Down
24 changes: 18 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
module github.com/project-flogo/rules

require (
github.com/aws/aws-sdk-go v1.18.3
github.com/gorilla/websocket v1.4.0
github.com/DataDog/zstd v1.4.5 // indirect
github.com/Shopify/sarama v1.26.1 // indirect
github.com/aws/aws-sdk-go v1.30.14
github.com/gorilla/websocket v1.4.2
github.com/klauspost/compress v1.10.5 // indirect
github.com/oklog/ulid v1.3.1
github.com/project-flogo/contrib/trigger/kafka v0.9.0
github.com/project-flogo/contrib/trigger/rest v0.9.0
github.com/project-flogo/core v0.9.3
github.com/stretchr/testify v1.3.0
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
github.com/project-flogo/contrib/trigger/kafka v0.10.0
github.com/project-flogo/contrib/trigger/rest v0.10.0
github.com/project-flogo/core v0.10.2
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.5.1
go.uber.org/zap v1.15.0 // indirect
golang.org/x/crypto v0.0.0-20200423211502-4bdfaf469ed5 // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 // indirect
golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b // indirect
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
)

go 1.13
2 changes: 0 additions & 2 deletions ruleaction/action.json → ruleaction/descriptor.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "rulesaction",
"type": "flogo:action",
"ref": "github.com/project-flogo/rules/ruleaction",
"version": "0.0.1",
"title": "Rules Action",
"description": "Simple Rules Action",
"homepage": "https://github.com/project-flogo/rules/ruleaction",
"async": false,

"settings": [
{
"name": "ruleSessionURI",
Expand Down

0 comments on commit 7a8da56

Please sign in to comment.