{"_id":"@dta5/bluemix-autoscaling-agent","name":"@dta5/bluemix-autoscaling-agent","dist-tags":{"latest":"1.0.29"},"versions":{"1.0.29":{"name":"@dta5/bluemix-autoscaling-agent","version":"1.0.29","description":"Node.js Auto-Scaling Agent for Bluemix","main":"index.js","scripts":{"test-spec":"echo \"No tests yet\"","coverage":"echo \"No coverage yet\"","lint":"echo \"No lint yet\"","test":"echo \"Error: no test specified\" && exit 1"},"license":"Apache-2.0","dependencies":{"appmetrics":"^5.0.3"},"directories":{"lib":"lib"},"devDependencies":{},"repository":{"type":"git","url":"git+https://gitlab.com/dta5/bluemix-autoscaling-agent.git"},"author":"","bugs":{"url":"https://gitlab.com/dta5/bluemix-autoscaling-agent/issues"},"homepage":"https://gitlab.com/dta5/bluemix-autoscaling-agent#readme","gitHead":"51df36b820df4220f98fe11d4569716904e8bfb6","_id":"@dta5/bluemix-autoscaling-agent@1.0.29","_nodeVersion":"16.14.2","_npmVersion":"8.6.0","dist":{"integrity":"sha512-4K372X+DJHRwewbcDITgfehbkc6psntlvfluYY6BMFYkuyEJ9GUhsoRsl2S/MKGIDWMQcfK6GRY+qeqfMPsj3Q==","shasum":"02e9cf9d3c6fdcad7ad77ddd9364d805cf6ca54d","tarball":"https://registry.npmjs.org/@dta5/bluemix-autoscaling-agent/-/bluemix-autoscaling-agent-1.0.29.tgz","fileCount":18,"unpackedSize":530541,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfwmnmcAo6dmCtzsHfzqctNRVkgZ6I1F60hZdmhSCQoQIhAMWx//CDl7mLL8iboVUy9jfKJJk6xHywKpVyvxG3KzcM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWXYuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoH7g/9EWP4N0vdsVSgniCKc6pVJmCNlKBqB72RvOFEuH2KvYPFXxpn\r\nAMuOOfjX3Lk/9AuHSpcihoAq/v/HomO/CNgOIkDSqkikjE6vx8/XBvk4bB0e\r\nKIWL8iAeejYF6aXPTdZGOa6CklQGx4UGjU3o6Ge79n7qHUx7S4vXJmeoIPdc\r\nI9El1Haz2PYXO63fZ9bpf1c+CSqn+BT1z/OiJc3oS69lRb4W8yGjPF5puQ1S\r\nAM5W7MttIs7YzbCot/hLB7TD4+MdGCTapneS5pW+OFPcXNAs+UQ44VbtohSz\r\nFSiRU9iCcZAyT+xkKEgUdCe+UzhJ/SWRke44ac5be9SjpDNh66UoHS5DEULq\r\n/DRDQOiOjjecxpMcMGm7wEO6SWruhsge9YfVMdLwSoqk+AZqeEaSdyB387im\r\neRjoJVmC8RekiVd1Urh/cTxZzq9/rvQWTXgkwBuSmIq8QRmC4iVPzgWsCvTp\r\nd8aVOfjIurbX232UgutrSNxzA4Y+xss5ygGTYLHPoqb7RgJ3PJa4n33bpxVK\r\n990OPQaqgshkZDMq2ICXPzVnEuqTRaCICHCrqR/sh4F9xwV9gfhdXhoxvZlT\r\nKx1RzxJO4wL4tHX7rcrDZDFN0t/XMyjWd2e6i1Q0Dbm923cgaSQ72ueH7T3p\r\nzyiw519I2YeuUcBwWYsOtubg8JDIJHHrHBs=\r\n=400S\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"efestennis93","email":"alexander.grechanik@celadonsoft.com"},"maintainers":[{"name":"efestennis93","email":"alexander.grechanik@celadonsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bluemix-autoscaling-agent_1.0.29_1650030125832_0.020778957316782254"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-15T13:42:05.781Z","1.0.29":"2022-04-15T13:42:06.180Z","modified":"2022-04-15T13:42:06.294Z"},"maintainers":[{"name":"efestennis93","email":"alexander.grechanik@celadonsoft.com"}],"description":"Node.js Auto-Scaling Agent for Bluemix","homepage":"https://gitlab.com/dta5/bluemix-autoscaling-agent#readme","repository":{"type":"git","url":"git+https://gitlab.com/dta5/bluemix-autoscaling-agent.git"},"bugs":{"url":"https://gitlab.com/dta5/bluemix-autoscaling-agent/issues"},"license":"Apache-2.0","readme":"\nBluemix Auto-Scaling provides dynamic scale in/out capability for all Bluemix runtimes. To support the scaling for node.js runtime, you need to inject an \"Node.js Auto-Scaling Agent for Bluemix\"(\"bluemix-autoscaling-agent\") module into target applications. The new module works as Bluemix Auto-Scaling agent (\"client\") , and must cooperate with the Bluemix auto-scaling service (\"server\") to complete the scaling capabilities.  The \"server\" side is not an open source project, and only running on IBM Bluemix platform.\n\nSee https://new-console.ng.bluemix.net/docs/services/Auto-Scaling/index.html for more details.\n\n## Getting Started\n### Installation\n* Install the bluemix-autoscaling-agent using npm install --save bluemix-autoscaling-agent.\n\n* Before pushing your Node.js application, update your main file to add the agent declaration `var as_agent = require('bluemix-autoscaling-agent');` The following code snippet shows a complete entry js file with the auto-scaling agent declaration.\n```code-snippet\nvar agent = require('bluemix-autoscaling-agent');\nvar http = require('http');\nvar server = http.createServer(function handler(req, res) {\n res.end('Hello!');\n }).listen(process.env.PORT || 3000);\nconsole.log('App is listening on port 3000');\n```\n   \n\n## Version\n1.0.14\n\n## Release History \n* `1.0.14` - Add custom ca certificates.\n* `1.0.13` - Improve log by adding log level.\n* `1.0.12` - Upgrade to the latest appmetrics.\n* `1.0.11` - Improve error message.\n* `1.0.10` - Add license. Apache-2.0.\n* `1.0.9` - Upgrade to appmetrics v3.0.2.\n* `1.0.8` - Remove deprecated license declaration.\n* `1.0.7` - Self-signed https certificate support;Use appmetrics v1.1.2 for v2.0.0 does not work.\n* `1.0.6` - Update the document.\n* `1.0.5` - Refactor the code.\n* `1.0.4` - Fix a json parse error.  \n* `1.0.3` - Update to appmetrics v 1.0.13.  \n* `1.0.2` - Server-side controlled report and configuration.  \n* `1.0.1` - Document update.  \n* `1.0.0` - First release.\n","readmeFilename":"README.md"}