{"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","_rev":"10-1a171bded39b0f6d4218b6a3c5e772f3","name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"1.0.0","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9"},"main":"src/index.js","dependencies":{"axway-flow-sdk":"^2.0.0"},"peerDependencies":{"@axway/api-builder-runtime":"^4.5.0"},"devDependencies":{"chai":"^4.1.2","check-node-version":"^3.2.0","cross-env":"^5.0.5","eslint":"^4.15.0","eslint-config-axway":"^2.0.7","eslint-plugin-chai-friendly":"^0.4.1","eslint-plugin-mocha":"^4.11.0","mocha":"^6.1.4","mock-require":"^3.0.2","nyc":"^11.2.1","rimraf":"^2.6.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","build:lint":"eslint .","build:lint:fix":"eslint --fix .","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk"},"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@1.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ybhKKguV1h0pO3NrRW4DVxCZudG+dsNLtZgt4VyoZAQsxquScO0IulTMQUqzM5bMzBGeAO6ksnG7sEi1z+0Erw==","shasum":"bb8c42b63fbcc5099dcf060cbdf2e3248088264d","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-1.0.0.tgz","fileCount":5,"unpackedSize":10061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGHz5CRA9TVsSAnZWagAAzdoP/R6uS7ByS7ij9FHyWVoo\nG4eH/Io3nWWodfsL807ldeVL4xWsLoU1WQj99rYZSr6WgRvVv80rmRagYaZf\nBraU8quzAfuaRxyT0M3vzIrhUi00Zi2x9KxzEK7IdrKwPZGqcRJ6z9cVxMKo\npoMhn8HtshO+7Z5Brk00i9yRfHAL8R/YDR69/e8xIla6la8vgF3YFPVt1MDp\nQRWpHXr7YQLZwZE+HhJzIABhWw99Y+q9mPjg739R5PRuznOeZZeLIkFiVzvt\n5ae64Ki6IXHDdS2eCekmQ+bU5VqIdzWUqXEFQ0P+UdNTWbajil/UTkvLs+FY\nRcUfmmH371SOWB4c1YhN3iTLSP1faz5qh/e+eBYEnfPNh2F1Gx+qm9rUaO/0\n8P4D6nA46V4+rxPMbQJX4vREbt32rDCa+G4bAxvY3yx95MQG08StUo/ronFP\nxiDUDCzFu1F6GCDVQ83O3cakNKmOEv8SJA6T9ONFWu2XXXirfxFMA4fPRtdp\nhmlpzNeYqquY1HSLZGHAozUEpUocI5hozCuAS14594yxTgqFmPeI9RcAHj5r\ns8BZ5V4MolLCUiM2Kx2FD1hXmoPTHK9T5gqyCytvR88P1W5UD4VXiEMYzQak\nlYPk4M67js63iLVLjlHjwAAJDKljaYkPlkVHYOPV0d5dttABxIUfn7OfDKmm\nSxLG\r\n=otjB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEvYSYfyq05btzTrif8sFhtuSi3SrfTuEmRgCn42V/uQIhAJb/JNIXF2oOOLvh8omNDzIaqPIssl/Bz32FqLlnAJH+"}]},"maintainers":[{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmUser":{"name":"cwiechmann","email":"cwiechmann@axway.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_1.0.0_1578663161306_0.8232239509965533"},"_hasShrinkwrap":false,"deprecated":"Please use the official plugin instead: @axway/api-builder-plugin-invoke-flow"},"1.0.1":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"1.0.1","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9"},"main":"src/index.js","dependencies":{"axway-flow-sdk":"^2.0.0"},"peerDependencies":{"@axway/api-builder-runtime":"^4.5.0"},"devDependencies":{"chai":"^4.1.2","check-node-version":"^3.2.0","cross-env":"^5.0.5","eslint":"^4.15.0","eslint-config-axway":"^2.0.7","eslint-plugin-chai-friendly":"^0.4.1","eslint-plugin-mocha":"^4.11.0","mocha":"^6.1.4","mock-require":"^3.0.2","nyc":"^11.2.1","rimraf":"^2.6.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","build:lint":"eslint .","build:lint:fix":"eslint --fix .","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk"},"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@1.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-oGtMN2jxkNjLPN7BGupr7KQEMpDMGeMtsLAaprVTDn68H+v9cgRLvgBRAasWfLiQpwJ3C3nHy94NzS32+8RCqw==","shasum":"1891c662b5ad5820b23c7a0dae48706d3f5f3961","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-1.0.1.tgz","fileCount":5,"unpackedSize":10438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGIaCCRA9TVsSAnZWagAAuGIP/ijEbcCYwHenbURIm6HZ\nJOMssVkCDzA7XThXAY1IkYwhRIbMyvuhWa+qv6nRhd8bYCZp164nnw7YvC7j\nMpvjHgmjndt32pL4wFcl91SsEqvKiUk3MN06reLk21TnE4lhB9nN7a5bbFR3\n3EDXKkuBa+K7Y02EYRywsCchjxMg6ou1MSX2BC/DmM8WyKbfNp+TKJxySxBO\n3CJtI7/Axd/BN8N4QnNy7ysRjWUFZ6VHuGb4D5qGV0eTrzrL5n2YFL6RsWsV\nm+I4ijEkdtCmOKBAywu5c/MYQlL2GvL3P0/gA2IiC27aahwDCUZ9wrQJuYQi\nLalMi2X1tI9Z1AMpHVpAVZ97/MBp4Qb8jQgPb6f0LrbsVbo2hscg1GHNdGQB\nYBW6ItrVib7hZva3swBQZgZtMJ4WGUzUwcyrZpXkhLIke9Av55qewCd8F7lu\n1bDJWSZWtA6CmfDM5I55qpb9u4QcU6Dlbwk55zIU/X0xBkdm4pV679d0J9tb\ncn0hIjF8y75d0rWvei1IlXke2WNssv+Q0u66IBTmkLDLoBDMv0Tz6bx7H8U4\nll7PLAaR13kjL50fwALnkLUhc6GYIiUA2+TiKFXg3IAOcgIeaG44O3uCiCFw\nKHzfg3gMpfPYR+RJK14z5f+yMhsHWDGkJG2rNnpHup0xkYWrm8ZfWJallV9N\ndVGP\r\n=5LOc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7xk38gvAuztQBaRwQFZimSp2YbWSn4gIDSr2fe5m4JAiBH/qz17bpPGF9pMYH1Aw/8F0aWUAUAhc4uHgjjexEQNA=="}]},"maintainers":[{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmUser":{"name":"cwiechmann","email":"cwiechmann@axway.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_1.0.1_1578665602288_0.5832084793894614"},"_hasShrinkwrap":false,"deprecated":"Please use the official plugin instead: @axway/api-builder-plugin-invoke-flow"},"1.0.2":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"1.0.2","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9"},"main":"src/index.js","dependencies":{"axway-flow-sdk":"^2.0.0"},"peerDependencies":{"@axway/api-builder-runtime":"^4.5.0"},"devDependencies":{"chai":"^4.1.2","check-node-version":"^3.2.0","cross-env":"^5.0.5","eslint":"^4.15.0","eslint-config-axway":"^2.0.7","eslint-plugin-chai-friendly":"^0.4.1","eslint-plugin-mocha":"^4.11.0","mocha":"^6.1.4","mock-require":"^3.0.2","nyc":"^15.0.0","rimraf":"^2.6.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk","postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@1.0.2","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HQnfe91oxwbocfcSz7jBuuunr48aTmMIoGwci7FTlAk4G8rl5QNOrorgW9cEpeDtvTGl/DMdTo78MvbYSArq4g==","shasum":"50122552307e073aaad0a337d9a840ac657a0fc4","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-1.0.2.tgz","fileCount":9,"unpackedSize":14898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHhM0CRA9TVsSAnZWagAAMckP/iHtz39oT0QdK4Olak4x\nQ51jAcehzqF7F7tNE11k177RtrTrat3v/Fa7EpKbLgmleKrXnQgd3HYScq4A\ntGRHMv5h3TAMh0LD6QFL96ZiSh7rRA7oJOKQoQAUfFBcUUdF06wNtPhh4cSI\n9h6NdqfVdF1/jzTYMYZ7kDn8KN+T/Bb7zFBWYxIcDv/lsTWKGxk+WDdYjySu\nj2z0oVjYzApZNI6mM8V01xsLKpfXreMikz8CeS+idAcLAHLHTph6D92Uv03V\nH+1GUa68r4PSuqmW/B6bvOIpvlNopmwhmkcQ3CBk6T1TolUKsxmImkpRhSu6\ngT2NqdyC6jfmsGci0wwqu+YIfHd6icxx5yDyuSslo31i0Y53COC1kg8cnZlY\n4wh4BnyXLAMwxcRmpV+OjjTmoc3kOLcmI1m6DHVPfifCgpEJC+C36PLrDrv5\nUD9GUwntxRgeTWWtVkRooGe2DSrctI/8xLTt37f9/5rc+ogPDjrK4D/kW5rq\nCLZDX3UDgG6NQJxEXeMSwmY6R9aAMEeqOWn0SCU96WsOh7BQfLS+KwrksJBx\nyunxgORkxhNDbAhpSTAPrAqO+Gj1E19Aht+RQxt5rr3lhtlAeyxqO5DT8gAl\npp1IhMkMo4HHChFIhWGrQ2QMnvQ6BIPJIiPLmjIoSa4FbY+NyEUUQtNHcUaB\nRMnH\r\n=0sW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnyq7+6CqsUjXeM8Ug3x9c/+oQrYTCTVF1bpG2pSXDkAiBr9zfzPasyHGt6X/rZRIAmpgcNTybLHwjGnSESJHDqMw=="}]},"maintainers":[{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmUser":{"name":"cwiechmann","email":"cwiechmann@axway.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_1.0.2_1579029299522_0.7139840307583945"},"_hasShrinkwrap":false,"deprecated":"Please use the official plugin instead: @axway/api-builder-plugin-invoke-flow"},"1.0.3":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"1.0.3","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/api-builder-plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9"},"main":"src/index.js","dependencies":{"axway-flow-sdk":"^2.0.0"},"peerDependencies":{"@axway/api-builder-runtime":"^4.5.0"},"devDependencies":{"chai":"^4.2.0","check-node-version":"^4.0.2","cross-env":"^5.0.5","eslint":"^6.8.0","eslint-config-axway":"^2.0.7","eslint-plugin-chai-friendly":"^0.4.1","eslint-plugin-mocha":"^4.11.0","mocha":"^6.2.3","mock-require":"^3.0.2","nyc":"^15.0.0","rimraf":"^2.6.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk","postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@1.0.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-kom6J8SQuJuxnOqTAXPgbk5HfwJnpSCOCSRGi4qkQTuOarLH5KvVvCc0KqxBBThgTc+Ifqu55vHXB3ddPKjAZw==","shasum":"f5a65d7d546aafeec90bd88cc9b4ec439c869f28","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-1.0.3.tgz","fileCount":10,"unpackedSize":15528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegawBCRA9TVsSAnZWagAA0zcQAJxvo0zNflGUlf9Rh+Dp\nw6SR+BJMsplPiPU2RslWAKE4ze+Vtv7aYqRGPp7THp/pOI4lAxoKZ4zYYE3H\n+ZoERqGZBv0JtranfiYAtTGmD7uHCrp/voxACuTJ64IvZcAlERfuY1saQvaR\n+XVgmZ5CaJ/X5sfa7qh3e2qW1AlrOud8NtwDS+QW72UBnuHVcjQO3oC9oOfL\nX9rBYs7mGyeOiCv05fv8vEIcUBq2WWFNvN4HhGIZCjpzP6FjOKqK6eNfxj94\ntKdCy0SlmzKDnHepobbbEo/kKa8/Db2EgRNEeID9nzEzBwx+OYSvXt8EAFek\n4BRlGD19P27+G5zvfAM851DZ7GhCTZlxPro8aPpaF7ED/j3xncjZN20uvOiQ\nA8fePBnFG6IJ2BaR3eFkHuFavADreiUwdR76QK76uACo48FrWGaikLyorh2F\neTNtUUnT99PDt7bm4ldkvx2mkjSfAL2MlqRKdn3co3PrzQq3HqAdm5i8hZB9\nObSelIYV+TMluh0/dtSP4yInAMCI46MykBi9sTckWa4BK4ONi6e/PkLh2Clf\nVjhOC9i/D/n1omhKSO8ZP4GVOhLZCQ3iJSXfiwIbfzO1zDO299cxKOfa4Nd9\nszI6gRgbqypNR1ugkN3oJwaJMzaNf21OsK2DjedWrpXL/7LsdyxidHMEbc0j\n5/JD\r\n=Ps2U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBALCg4lywAolekTEXY/gDQHJCV5ItZ0IQckrtoM7/YiAiEA/LgxBVP9/B04vm4X+9SRiMAluqMQNs4SnZOg7ff9YJY="}]},"maintainers":[{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmUser":{"name":"cwiechmann","email":"cwiechmann@axway.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_1.0.3_1585556481197_0.8726915135438826"},"_hasShrinkwrap":false,"deprecated":"Please use the official plugin instead: @axway/api-builder-plugin-invoke-flow"},"2.0.0":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"2.0.0","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/api-builder-plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9"},"main":"src/index.js","dependencies":{"@axway/api-builder-sdk":"^1.1.6","@axway/api-builder-runtime":"^4.66.0"},"devDependencies":{"@axway/api-builder-test-utils":"^1.1.13","chai":"^4.3.4","check-node-version":"^4.1.0","cross-env":"^7.0.3","eslint":"^7.27.0","eslint-config-axway":"^6.0.2","eslint-plugin-chai-friendly":"^0.7.1","eslint-plugin-mocha":"^8.2.0","mocha":"^8.4.0","mock-require":"^3.0.2","nyc":"^15.1.0","rimraf":"^3.0.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk","postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@2.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-JgyvhyPt1SkED561cgiugOJRgg5Xyk9sqki4Vnk2nXD5kHRkYl5okCVhqpbXDqTUd1tFZnvBpj2F95kQLJUuBQ==","shasum":"28ef4c41b020c46bc810bbe2211e67b4a45186d6","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-2.0.0.tgz","fileCount":11,"unpackedSize":18726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtJ8ZCRA9TVsSAnZWagAAm68P/jf5TcfVNs4tyokXd6T+\nMuMosrTKrwN2fApJ3ZUT+72cj1AajSHn25ByrcyhF57enIsW8O99UrFzKMie\nJnz5Hdkkav7GdV+DZNee4BSuxYvy7AoNuu9BtIJCRKkcdNIlgyxZk1qbcu9m\ngl3+WuzzkX+3yXI+yVKHHM+0hQJ8OburLB8DTuTBQXryOdN126DoykTZWLAp\n+tzmiYBSrbseMpV4GyiKUswfLI8AtSlz73aosphMQ+xqEgr1tr/ZIKORUXDt\nGyaQdEzTi223EHEJkMW0zlPL69eqh5HSRj4hwjWyLhsgZLxbJakVwo2Bl3Ho\ne35LVtMCJ57iwMfP8/R3OYiGfqxyvuUDcYkckIIHmahAjAUt2xBrF4v+hJlc\n/20b/f0hJYmPvc4+AJZDCYp589S/OkMMGs5aNfBSumqY0K1kFN6JpEL5MyDq\njBD+OcYwKzk8151+Cw9B4XvqfMBzustQpZwOwfkr2843BkpWUBeviGYhcK5v\nnycntLi7Anfeg2x2ORI5w+8qZKfe2mp7DFkZ5xBN0IEBDCLwdHhz9Bt/+xf7\nzBHN9z4yO2Oy8UUys0TLDgvX3rck9xqecGVL47KqbhyKpPny5244iMC3Kd/V\nKiLSgXZjQHoX0AnQT9KNu7ygQdjs9JmWbhU6HM8q1+VdqIfCWBJm87fXBoNE\nsHr6\r\n=4OpS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFC+LefMG310/1vt1/plqXFyyZ5WqWUixu3Y1VS8cqtiAiEA/6nfEZncRpSb19EeUyfnoAbudMSrNfTkXrCndQlcgdQ="}]},"_npmUser":{"name":"cwiechmann","email":"cwiechmann@axway.com"},"directories":{},"maintainers":[{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_2.0.0_1622449944806_0.9328573435177352"},"_hasShrinkwrap":false,"deprecated":"Please use the official plugin instead: @axway/api-builder-plugin-invoke-flow"},"2.1.0":{"name":"@axway-api-builder-ext/api-builder-plugin-fn-foreach","version":"2.1.0","description":"For each flow node","author":{"name":"bladedancer"},"license":"Apache-2.0","keywords":["amplify","api-builder","flow","sdk"],"homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/api-builder-plugin-fn-foreach","bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"engines":{"node":">= 8.9","apibuilder":">= 4.66.0"},"main":"src/index.js","dependencies":{"@axway/api-builder-sdk":"^1.1.6","@axway/api-builder-runtime":"^4.66.0"},"devDependencies":{"@axway/api-builder-test-utils":"^1.6.0","chai":"^4.3.4","check-node-version":"^4.1.0","cross-env":"^7.0.3","eslint":"^7.27.0","eslint-config-axway":"^6.0.2","eslint-plugin-chai-friendly":"^0.7.1","eslint-plugin-mocha":"^8.2.0","mocha":"^9.1.4","mock-require":"^3.0.2","nyc":"^15.1.0","rimraf":"^3.0.2","simple-mock":"^0.8.0"},"scripts":{"build":"check-node-version --package && npm run build:lint && npm run test","test":"rimraf coverage .nyc_output && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary node_modules/mocha/bin/mocha ./test --recursive -R spec","test:debug":"mocha --inspect --debug-brk","postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"gitHead":"bf5ad446810e784f97985d8583563189f9830a57","_id":"@axway-api-builder-ext/api-builder-plugin-fn-foreach@2.1.0","_nodeVersion":"16.17.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-RS/VI8u3XrrVQm0euzAO/cp5yLAGTXwpbpEP/ppmA7IdDXxEjFTVIlaZ4gp339D3gGgIgcSYZ2VN3tDLi4vplw==","shasum":"d64e1d7ab47f4eadd571dad4b3be5ecf683dd69d","tarball":"https://registry.npmjs.org/@axway-api-builder-ext/api-builder-plugin-fn-foreach/-/api-builder-plugin-fn-foreach-2.1.0.tgz","fileCount":10,"unpackedSize":18135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0kS36g1eJdCePmuxFqcCB2tXZA4bn7th7sw/ASXQc0AiBn5WzZOiBsHObGWp7JZTr2xxow2rDilC8HXlZw3BXlHA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMbOYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpETg/9FIXA24Ia38LwhJAafEajoi3gk9CQlbtpudoKoaGxJZGcrWh6\r\nVn4lMi+iu0pUNtRH6f+uZbsyKxszf8qaAVYcR76+uR7zCXZjDyaILYC8Tsip\r\niZfy+Xe58athX1yhB9WJZE64le64Cyu5Cm9g5C6nSP5lDpiIobCxO5MW8dv1\r\nhXSTSkZw9hxFLPA7MMP1ObPB03acjffdoHjGgLMrIiHw5NM/UQhFXokO1E5G\r\n+LwtmDoYCQA7maO217IQqNtMJQONdIYY+9DMMNclEWclDl0cQwIryxM/SMVW\r\nd+P/wx/FBXLyk20IRytfUVNsgWZAlQcVR7Flq5kh97KEwufo7LZlSZcoTtLg\r\nEkm2yEqoXe+I74jeAENLEtE2DvmAEK6BSf37fcLcqLIIwaQYW3LhKrCwghz1\r\nSAQtF31miLWRyPVzjTkuNJ9tGfltYFOKUxBlTBPLdsVBV4CopKTh6AzIrSp/\r\ndQFIpOF8vaDA7OQ/tcsCChWMGABj+QVxw5meO6p8ECDp5IWMuFRbeUetZqPI\r\n0z7pPkK7Bhvb9kCyvr1bL9N2M/EQrpHZIJ/iX622+C2mkUF3q5Y9VQVKLsGx\r\nF1k/Jd2qXa8tqz92iVR3cl2nSI0IZ0LMr3+RoIjvKSxRs8o10N0SOaCPfsm0\r\niim3YmjyVgh54oiIHALAh/2vxcOsNRUTSW4=\r\n=ljqS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"directories":{},"maintainers":[{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"cwiechmann","email":"cwiechmann@axway.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-builder-plugin-fn-foreach_2.1.0_1664201624803_0.11315807563339253"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-10T13:32:41.069Z","1.0.0":"2020-01-10T13:32:41.472Z","modified":"2023-10-10T16:26:26.751Z","1.0.1":"2020-01-10T14:13:22.393Z","1.0.2":"2020-01-14T19:14:59.686Z","1.0.3":"2020-03-30T08:21:21.297Z","2.0.0":"2021-05-31T08:32:24.968Z","2.1.0":"2022-09-26T14:13:44.959Z"},"maintainers":[{"email":"ahurst@axway.com","name":"axway_alasdair"}],"description":"For each flow node","homepage":"https://github.com/Axway-API-Builder-Ext/api-builder-extras/tree/master/api-builder-plugin-fn-foreach","keywords":["amplify","api-builder","flow","sdk"],"repository":{"type":"git","url":"git+https://github.com/Axway-API-Builder-Ext/api-builder-extras.git"},"author":{"name":"bladedancer"},"bugs":{"url":"https://github.com/Axway-API-Builder-Ext/issues"},"license":"Apache-2.0","readme":"[![Build Status](https://github.com/Axway-API-Builder-Ext/api-builder-extras/workflows/Foreach%20Flow-Node%20Tests/badge.svg)](https://github.com/Axway-API-Builder-Ext/api-builder-extras/actions?query=XML+Flow)\n\n# Loops for API-Builder\nToday API-Builder doesn't support to execute Nested-Flows out of the box. However, a nested flow is for instance useful to execute a different flow based on an array of input objects. This is basically the same as writing a function in a classic programming language which is called from a loop.  \nThis flow node allows to you iterate over an array and invoke a nested flow for each element.\n\n## Creating the nested flow\n:point_up:  \nOne of the unsupported features is to create a flow that isn't bound to an API endpoint.  \nThat means, there's actually no UI for doing this.  \nHowever, you can manually create nested flows as you want in the `/flows` diretory of your API-Builder project and call them with the For-Each flownode this project provides.  \n\nTo streamline the process for you, we have installed two sample flows during installation of the plugin into your `flows` directory.\n- `/flows/ExampleParentFlow.json`\n- `/flows/PerItemFlow.json`\n\n_Consider both flows as examples. You can create your own flows, just by copy the existing ones and rename them._\n\n### Main flow\nThe main flow is typically a normal flow you have created using the API-Builder UI and attached to an API-Endpoint.  \nThe provided sample Main-Flow is supposed just to give you an example how a to call a Nested-Flow as shown in the following screenshot:    \n![Main flow using nested flow](imgs/ExampleParentFlow.png)  \nIf you would like to open the sample main flow in your API-Builder flow editor to see how it is working, use the following URL:  \nhttp://localhost:8080/console/project/flows/ExampleParentFlow/edit\n\n### Nested flow\nThe nested flow (see below) is called by the sample main flow. You can do whatever you need in that flow by using all installed API-Builder plugins.  \nThe result value of your nested flow is returned in `$.response`.  \n\nYou may create as many Nested-Flows as you want just by copy an existing flow in the `flows` directory, rename the file and configure the [expected parameters](#nested-flow-parameters) within the JSON-File.  \n \n\n#### Sample nested flow\n![Nested flow](imgs/ExampleNestedFlow.png)  \nYou may open nested-flows in the API-Builder editor just by using the following URL with the correct flow name:   \nhttp://localhost:8080/console/project/flows/PerItemFlow/edit  \n_Obviously you can do the same with your own nested flows you have created. But please remember to restart the API-Builder process to make the flows available to the UI._ \n\n_Best is to open both flows (Main and Nested) in parallel in two Browser-Tabs at the same time to be able to modify both simultaneously._\n\n### Nested flow parameters\nThe nested flow is like a function and you need to tell the expected input parameters. The parameters given by the main flow have to pass a schema validation in the nested flow.  \nFor example when iterating in the main flow over an array of objects `[ { name: 'Tom' }, { name: 'Dick' }, { name: 'Harry' }]`\nthe nested flow gets a single object: `{ name: 'Dick' }`, hence the parameter in the nested flow must be configured like so:   \n\n```\n\t\"parameter\": {\n\t\t\"properties\": {\n\t\t    \"name\": { \"type\": \"string\" }\n\t\t},\n\t\t\"additionalProperties\": false,\n\t\t\"required\": []\n\t},\n```\nThe `properties` field contains the expected object, which is in the example an object having a field: `name` which must be of type `String`.\n\nTherefore, to pass the schema validation when calling the nested flow, the flow parameter: `items` has to be an Array, that contains a Javascript object as defined above. Configured like so:  \n![Correct items parameter][items-parameter]  \n\n:exclamation: Iterating over arrays of primitives (e.g. an Array of Strings) is not supported. Therefore, this example wont work:   \n![Wrong items parameter][wrong-items-parameter]  \n\nIn the example above, the flow will execute 3 times, as the array had 3 elements.\n`$.name` will be the `Tom` on the first, `Dick` on the second, and `Harry` on the third.\n\n\n\n## Flow\n\nThe _Flow_ method iterates over an array of objects and invokes the specified flow with the object as the input.\n\n| Param | Type | Required | Description |\n| --- | --- | --- | --- |\n| flow | string | y | The flow id of the flow to execute. Filename of the flow without .json |\n| items | array | y | The array to iterate over. The array must contain objects that fit the desclared parameters in the nested flow |\n\n## Install\n\nAfter creating your API Builder service (`api-builder init`), you can install this plugin using npm:\n\n```\nnpm install --no-optional @axway-api-builder-ext/api-builder-plugin-fn-foreach\n```\n\n## Changelog\nSee [Change-Log][6]\n\n[6]: Changelog.md\n\n[flow-editor]: imgs/foreachFlow.png\n[items-parameter]: imgs/items_parameter.png\n[wrong-items-parameter]: imgs/wrong_items_parameter.png\n[example-parent-flow]: imgs/ExampleParentFlow.png\n[example-nested-flow]: imgs/ExampleNestedFlow.png\n","readmeFilename":"README.md"}