Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pointlander committed Jan 28, 2020
1 parent 7f0042b commit d55b018
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
}
},
{
"if": "$.GraphQL.outputs.error == false",
"if": "$.GraphQL.outputs.error == false",
"service": "GraphQLQuery",
"input": {
"content": "=$.payload.content"
}
},
{
"if": "$.GraphQL.outputs.error == false",
"if": "$.GraphQL.outputs.error == false",
"service": "GraphQL",
"input": {
"token": "=$.payload.headers.Token",
Expand Down Expand Up @@ -131,4 +131,3 @@
}
]
}

7 changes: 3 additions & 4 deletions activity/graphql/examples/json/flogo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"properties": null,
"channels": null,
"imports":[
"github.com/project-flogo/contrib/trigger/rest",
"github.com/project-flogo/microgateway/activity/graphql"
"resta github.com/project-flogo/contrib/trigger/rest",
"graphqla github.com/project-flogo/microgateway/activity/graphql"
],
"triggers": [
{
Expand Down Expand Up @@ -48,7 +48,7 @@
}
},
{
"if": "$.GraphQL.outputs.valid == true",
"if": "$.GraphQL.outputs.valid == true",
"service": "GraphQLQuery",
"input": {
"content": "=$.payload.content"
Expand Down Expand Up @@ -123,4 +123,3 @@
}
]
}

4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ require (
github.com/golang/protobuf v1.2.0 // indirect
github.com/gonum/blas v0.0.0-20180125090452-e7c5890b24cf // indirect
github.com/google/flatbuffers v1.10.0 // indirect
github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277
github.com/graphql-go/graphql v0.7.8
github.com/leesper/go_rng v0.0.0-20171009123644-5344a9259b21 // indirect
github.com/pkg/errors v0.8.0 // indirect
github.com/project-flogo/contrib v0.9.0-alpha.4.0.20190509204259-4246269fb68e
Expand Down Expand Up @@ -42,3 +44,5 @@ require (
gorgonia.org/vecf32 v0.0.0-20180224100446-da24147133d9 // indirect
gorgonia.org/vecf64 v0.0.0-20180224100512-6314d1b6cefc // indirect
)

go 1.13
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ github.com/gonum/blas v0.0.0-20180125090452-e7c5890b24cf h1:ukIp7SJ4RNEkyqdn8EZD
github.com/gonum/blas v0.0.0-20180125090452-e7c5890b24cf/go.mod h1:P32wAyui1PQ58Oce/KYkOqQv8cVw1zAapXOl+dRFGbc=
github.com/google/flatbuffers v1.10.0 h1:wHCM5N1xsJ3VwePcIpVqnmjAqRXlR44gv4hpGi+/LIw=
github.com/google/flatbuffers v1.10.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277 h1:E0whKxgp2ojts0FDgUA8dl62bmH0LxKanMoBr6MDTDM=
github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc=
github.com/graphql-go/graphql v0.7.8 h1:769CR/2JNAhLG9+aa8pfLkKdR0H+r5lsQqling5WwpU=
github.com/graphql-go/graphql v0.7.8/go.mod h1:k6yrAYQaSP59DC5UVxbgxESlmVyojThKdORUqGDGmrI=
github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/leesper/go_rng v0.0.0-20171009123644-5344a9259b21 h1:O75p5GUdUfhJqNCMM1ntthjtJCOHVa1lzMSfh5Qsa0Y=
github.com/leesper/go_rng v0.0.0-20171009123644-5344a9259b21/go.mod h1:N0SVk0uhy+E1PZ3C9ctsPRlvOPAFPkCNlcPBDkt0N3U=
github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852 h1:Yl0tPBa8QPjGmesFh1D0rDy+q1Twx6FyU7VWHi8wZbI=
github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852/go.mod h1:eqOVx5Vwu4gd2mmMZvVZsgIqNSaW3xxRThUJ0k/TPk4=
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down

0 comments on commit d55b018

Please sign in to comment.