{ "name": "_APP_NAME_", "type": "flogo:app", "version": "0.0.1", "description": "My flogo application description", "appModel": "1.0.0", "imports": [ "github.com/project-flogo/contrib/activity/log", "github.com/project-flogo/contrib/trigger/rest", "github.com/project-flogo/flow" ], "triggers": [ { "id": "my_rest_trigger", "type": "rest", "settings": { "port": "8888" }, "handlers": [ { "settings": { "method": "GET", "path": "/test/:val" }, "actions": [ { "type": "flow", "settings": { "flowURI": "res://flow:simple_flow" }, "input": { "in": "=$.pathParams.val" } } ] } ] } ], "resources": [ { "id": "flow:simple_flow", "data": { "name": "simple_flow", "metadata": { "input": [ { "name": "in", "type": "string", "value": "test" } ], "output": [ { "name": "out", "type": "string" } ] }, "tasks": [ { "id": "log", "name": "Log Message", "activity": { "type": "log", "input": { "message": "=$flow.in", "flowInfo": "false", "addToFlow": "false" } } } ], "links": [] } } ] }