{"id":18930168,"url":"https://github.com/nheidloff/openwhisk-data-flows","last_synced_at":"2025-06-19T18:40:22.705Z","repository":{"id":88375173,"uuid":"122459761","full_name":"nheidloff/openwhisk-data-flows","owner":"nheidloff","description":"Data Flows with Apache OpenWhisk and Composer","archived":false,"fork":false,"pushed_at":"2018-02-23T14:47:13.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T02:44:34.492Z","etag":null,"topics":["openwhisk","orchestration","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nheidloff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-22T09:52:26.000Z","updated_at":"2019-07-23T14:36:45.000Z","dependencies_parsed_at":"2024-03-30T16:00:56.086Z","dependency_job_id":null,"html_url":"https://github.com/nheidloff/openwhisk-data-flows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nheidloff/openwhisk-data-flows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nheidloff%2Fopenwhisk-data-flows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nheidloff%2Fopenwhisk-data-flows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nheidloff%2Fopenwhisk-data-flows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nheidloff%2Fopenwhisk-data-flows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nheidloff","download_url":"https://codeload.github.com/nheidloff/openwhisk-data-flows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nheidloff%2Fopenwhisk-data-flows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260807106,"owners_count":23066086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openwhisk","orchestration","serverless"],"created_at":"2024-11-08T11:36:49.367Z","updated_at":"2025-06-19T18:40:17.665Z","avatar_url":"https://github.com/nheidloff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Flows with Apache OpenWhisk and Composer\n\nThis project contains samples how to write applications with [Composer](https://github.com/ibm-functions/composer) and [Apache OpenWhisk](https://openwhisk.apache.org/). \n\nWhile the functions in applications are stateless, the applications manage the state and are responsible how the data flows between the functions. This project contains a pattern how to handle data flows and how to convert data. \n\nFor details check out the two articles on my blog:\n\n* [Data Flows in Serverless Cloud-Native Applications](http://heidloff.net/article/serverless-data-flows)\n* [Transforming JSON Data in Serverless Applications](http://heidloff.net/article/transforming-json-serverless)\n\n\n### Setup\n\nPrerequisites:\n\n* Install the [OpenWhisk CLI](https://github.com/apache/incubator-openwhisk-cli)\n* Create an [IBM Cloud](https://ibm.biz/nheidloff) account\n* Install the [IBM Cloud CLI](https://clis.ng.bluemix.net/)\n* Install the [Composer CLI](https://github.com/ibm-functions/composer/tree/master/docs#installing-the-shell) and Redis\n\nRun these commands to deploy the functions and the apps:\n\n```sh\n$ git clone https://github.com/nheidloff/openwhisk-data-flows.git\n$ cd openwhisk-data-flows\n$ bx login -a api.ng.bluemix.net -o yourBluemixOrg -s yourBluemixSpace\n$ wsk package create composer-demo-nh\n$ wsk action update composer-demo-nh/simple1 functions/simple1.js\n$ wsk action update composer-demo-nh/simple2 functions/simple2.js\n$ wsk action update composer-demo-nh/error functions/error.js\n$ wsk action update composer-demo-nh/read-person-profile functions/read-person-profile.js\n$ wsk action update composer-demo-nh/transform-read-person-profile functions/transform-read-person-profile.js\n$ wsk action update composer-demo-nh/send-mail functions/send-mail.js\n$ cd functions\n$ npm install\n$ zip -rq transformsendmail.zip transform-send-mail.js package.json node_modules\n$ wsk action update composer-demo-nh/transform-send-mail --kind nodejs:8 transformsendmail.zip\n$ cd ..\n$ fsh app update composer-demo-nh/in-app-conversions apps/in-app-conversions.js\n$ fsh app update composer-demo-nh/send-mail-app apps/send-mail-app.js\n```\n\nTo run the applications invoke these commands:\n\n```sh\n$ fsh app invoke composer-demo-nh/in-app-conversions -p input-param1 input-param1-value\n$ fsh app invoke composer-demo-nh/send-mail-app -p id nheidloff -p subject Hello\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnheidloff%2Fopenwhisk-data-flows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnheidloff%2Fopenwhisk-data-flows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnheidloff%2Fopenwhisk-data-flows/lists"}