-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mutual TLS support added for Activity (#21)
- Loading branch information
1 parent
e3524e4
commit f93a27f
Showing
5 changed files
with
264 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
{ | ||
"name": "newapp", | ||
"type": "flogo:app", | ||
"version": "0.0.1", | ||
"description": "", | ||
"triggers": [ | ||
{ | ||
"name": "gorillamuxtrigger", | ||
"ref": "github.com/TIBCOSoftware/mashling/ext/flogo/trigger/gorillamuxtrigger", | ||
"description": "gorillamuxtrigger REST Trigger", | ||
"settings": { | ||
"port": "9096" | ||
}, | ||
"id": "receive_http_message", | ||
"handlers": [ | ||
{ | ||
"settings": { | ||
"method": "GET", | ||
"path": "/users/:id", | ||
"autoIdReply": "false", | ||
"useReplyHandler": "false" | ||
}, | ||
"actionId": "check" | ||
} | ||
] | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"name": "check", | ||
"data": { | ||
"flow": { | ||
"type": 1, | ||
"explicitReply": true, | ||
"attributes": [], | ||
"rootTask": { | ||
"id": 1, | ||
"type": 1, | ||
"tasks": [ | ||
{ | ||
"id": 2, | ||
"name": "Invoke REST Service", | ||
"description": "Simple REST Activity", | ||
"type": 1, | ||
"activityType": "github-com-tibco-software-flogo-contrib-activity-rest", | ||
"activityRef": "github.com/TIBCOSoftware/mashling/ext/flogo/activity/rest", | ||
"attributes": [ | ||
{ | ||
"name": "method", | ||
"value": "GET", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "uri", | ||
"value": "https://localhost:8080/", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "pathParams", | ||
"value": null, | ||
"required": false, | ||
"type": "params" | ||
}, | ||
{ | ||
"name": "queryParams", | ||
"value": null, | ||
"required": false, | ||
"type": "params" | ||
}, | ||
{ | ||
"name": "content", | ||
"value": null, | ||
"required": false, | ||
"type": "any" | ||
}, | ||
{ | ||
"name": "serverCert", | ||
"value": "gateway.crt", | ||
"required": false, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "serverKey", | ||
"value": "gateway.key", | ||
"required": false, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "trustStore", | ||
"value": "truststore", | ||
"required": false, | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "Reply To Trigger", | ||
"description": "Simple Reply Activity", | ||
"type": 1, | ||
"activityType": "github-com-tibco-software-flogo-contrib-activity-reply", | ||
"activityRef": "github.com/TIBCOSoftware/flogo-contrib/activity/reply", | ||
"attributes": [ | ||
{ | ||
"name": "code", | ||
"value": "200", | ||
"required": true, | ||
"type": "integer" | ||
}, | ||
{ | ||
"name": "data", | ||
"value": "success", | ||
"required": false, | ||
"type": "any" | ||
} | ||
], | ||
"inputMappings": [ | ||
{ | ||
"type": 1, | ||
"value": "{A2.result}", | ||
"mapTo": "data" | ||
} | ||
] | ||
} | ||
], | ||
"links": [ | ||
{ | ||
"id": 1, | ||
"from": 2, | ||
"to": 3, | ||
"type": 0 | ||
} | ||
], | ||
"attributes": [] | ||
} | ||
} | ||
}, | ||
"id": "check", | ||
"ref": "github.com/TIBCOSoftware/flogo-contrib/action/flow" | ||
} | ||
] | ||
} |