All things Project Flogo... Report issues, chat with users & contributors. Join channel project-flogo/developers for project contribution & dev focused conversations.
mellistibco on readme-updates
mellistibco on master
Readme updates (#570) * Update… (compare)
mellistibco on readme-updates
Update README.md (compare)
mellistibco on readme-updates
Update README.md (compare)
"settings": [{
"name": "keyName",
"type": "string",
"description": "name of the composite key used to retrieve data"
},
{
"name": "attributes",
"type": "array",
"description": "list of json-path for attributes used to construct composite key"
},
actions
. But OSS Web UI cannot import models with this format. It can import only models with a single action
. My app contains a tool for generating Flogo models using app.Config, but the output model contains actions
in trigger.HandlerConfig, and thus the model cannot be imported to the Web UI. How can I work around this problem? I guess that I can serialize the app.Config into JSON and then edit the JSON to replace actions
with the first action
in the handler. Is there an easier way to generate model that conforms with the Web UI? Or is the Web UI going to accept the new app.Config format?
We adding mapping to indicate it is an object mapping. It is an UI issue for sure. If u able to create a issue on project-flogo/flogo-web, it would be awesome.
@lixingwang So object mappings are not allowed at all in the activity settings, correct? If so yeah, the UI is wrapping the objects in the "mapping" prop because it is assuming that there could be a mapping inside the object.
contrib
repo that are exceptions. Look at actreturn, actreply and mapper, they are all activities that use settings
to handle input data. Even though they are special for manipulating data already in the output scope of the flow, it seems confusing to use settings
to handle input data flows. Maybe the platform should discourage this type of use of settings
.
Hey everyone, I wanted to jump into flogo but I'm having problems at basically very beginning. I was actually able to run some app from the tutorial (https://tibcosoftware.github.io/flogo/labs/flogo-cli/) but I can't seem to make it work when trying to run examples.
e.g.: the most basic I seem to have found, https://github.com/vijaynalawade/flogo-contrib/tree/master/activity/sleep
[bananek@localhost flogo]$ flogo install github.com/vijaynalawade/flogo-contrib/activity/sleep
Error validating project: not a valid flogo app project directory, missing flogo.json
Sorry if it's something really menial but just can't get to it somehow.
Regarding installing local contributions, there's no straightforward way to do it while the UI is running, because the environment is running inside a docker image. Even if you manage to enter into the container and install your contribs using the CLI, there's no way to tell the UI to refresh and take your changes.... unless you install another activity through the UI after your manual changes.
I think there's a way to make the local folder flow work with some modifications to the code in the UI. If someone wants to give a try I'm thinking the URL parser here can be modified: https://github.com/project-flogo/flogo-web/blob/master/apps/server/src/modules/contrib-installer/microservice/install.ts to allow installing from a specific path in the filesystem, say /flogo/contributions
, and then developers can mount their local folders to that path in the docker container so the UI can load them.