{"_id":"@axway/api-builder-plugin-dc-mysql","_rev":"125-33ca97f229b6652f16551d12daf3137c","name":"@axway/api-builder-plugin-dc-mysql","dist-tags":{"v4-preview1":"1.0.1-3","v4-preview2":"1.0.1-6","v4-preview3":"1.0.1-15","next":"2.3.1","qom":"2.3.1","riga":"2.3.1","sunnyvale":"2.3.1","tauranga":"2.3.1","unna":"2.3.1","villasimius":"2.3.1","latest-4":"2.3.1","wicklow":"2.3.1","xiangxiang":"2.3.1","yangon":"2.3.1","zaanstad":"2.3.1","latest":"3.0.0","austen":"3.0.0","beckett":"3.0.0","christie":"3.0.0","dickens":"3.0.0","ellison":"3.0.0","fleming":"3.0.0","glaspell":"3.0.0","huxley":"3.0.0","irving":"3.0.0","lee":"3.0.0","joyce":"3.0.0","king":"3.0.0"},"versions":{"1.0.1-3":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-3","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-3","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"7f6e7e6747b86475a3ff0544b068c31abc1871d5","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-3.tgz","fileCount":32,"integrity":"sha512-B0EtYSSxXnI+xlufEviixjG3VDv9CJJkFVThwn5bhIm4gQny50ImaqPb+gGFaUhRL0pCJDghw3AjabHiGhIG6A==","signatures":[{"sig":"MEQCIDDRU8lLQTx0PTTh+jrCSFaR7TssCF5oESZvHqSc1vvbAiBbK+g2bf7v/2aIx+eo8LnUOQZvdljOyVZUASEkcuCzjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30787},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=lcov | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"arrow":"v4-preview1"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-3_1523458664384_0.6290910737626854","host":"s3://npm-registry-packages"}},"1.0.1-4":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-4","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-4","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"3725e953152254bb645a62d7304c7ec0dc93e3bd","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-4.tgz","fileCount":32,"integrity":"sha512-h9nEWmzP8tePfVZ1ipkV39k/n9KoSHVKhLV/W0ARuNK1LSdufmiJU5bJR8CxtMZZdSC3PbwaDpfh48qWRYnK7A==","signatures":[{"sig":"MEYCIQCpPMyymwB6H4ePcTE1EaAG4qqBSOJZVWWhSFxER/n8nAIhAKZWZ26hSs8OAgPNyAaTdA7+XJSMg5omC+puZv0Cw8ud","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30787},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview2\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=lcov | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview2"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-4_1523624471775_0.8913796113325385","host":"s3://npm-registry-packages"}},"1.0.1-5":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-5","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-5","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"656dd8bad5e51d184eadd33ee30685ce784d9367","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-5.tgz","fileCount":32,"integrity":"sha512-9w6rXmbzTRCnfvJbACB7cbRW7OqQoJOX8ElZsWF17ipA1/XZ6BMwYnihqAg2ZaAHInMGULyfLxAyWoHgEIY/vw==","signatures":[{"sig":"MEQCIEAc4coJidI3YLncSZxqxb9Et3y864Tll86LdI6MFApdAiBYRqB5V8XS8qwdCbChFWfUggDlTcTE0PkZ1Cmbv1P3qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1ZwoCRA9TVsSAnZWagAApMYP/2K60IUpVL5Kz9sdV301\ncllIniR2VsSToGyeSgK+Y82P8/C5ACOUZo+CD72OdLyjLv1u9Jkaq2lYYdJT\nEG+k8c5arOXTd958xmgk7IZmZ9EswEG9g4xG74jtcjPqB65sNQhLkt3dj0mZ\nkwevVPgbBxgunLVqgT8pc75KSjHVV8lFf743FVMhZLwAdtRLuHASnt9mJl+q\nebk1Y99jt9w3dEFdKfTtaxYmEbvwQzl9xIdGTZ3IsL5B1Kmgl0ZbUJVA0gNx\nSIlDGWKORWlzXUSSF40c+QMNIlZWD8z0ftri+1AwGnCNANSd+8XgCC20+Zf+\nJOoTmWKzrGCiS5+4iRS2Z3TBHATRO87UlPaUithjfDEP8Zn7PYIorcMrNDDk\n74i3EXHHsW7z7yj1jquSHL3ddO+NszxQKFdIiWebO+rXKwab8GxwgKSgJ2Nx\npZ33SOUOOk4LsSrN7BR6aGYTL5+xYzKGP6mf1D4CVjYlBqTnAVj3oHcoYDBK\n8yqF7nTLNkzkgw8a6FDrm69lZZKSPaiTEZwZvEfxdk05p2mHJrPhieB+bgyU\nL4gyfEwIpydIgyyMsEZaxXuZVncaalJKVf8SVR2RhCDm6A/6sz3fc9qca3Pf\nLpWjcxzJuPgBbfGzi0bWpRdSV7IOkl1u92EXFwQTwMn/FoSEJFfjTE1RO0P3\nWbMe\r\n=JR2r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview2\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=lcov | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview2"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-5_1523948584040_0.253401492450809","host":"s3://npm-registry-packages"}},"1.0.1-6":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-6","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-6","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"961495a4c97205f3bdc3542fbf3bea30f7c55abb","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-6.tgz","fileCount":33,"integrity":"sha512-LWJnRacAR3NBPJ/yI83vFOfeAfaSUPbsBhCEd7vr0eg2OfbXr2Tahp7km5wAtxO6hbBlAg+AAaYkihcszKTD6g==","signatures":[{"sig":"MEQCIG7AJih64SdTDiVOqxhO7ZCo3RVvjsLXUW1CPNXc/WBcAiBkKyz8oyqxWtopB2RvASBjpiBf3Mfa7FRA0IWLvRZ7pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4EhACRA9TVsSAnZWagAAPvsP/1gVNG9KXRlmPuxZV4QW\nkMLSbSJNVPnjZf5GtQTuLEW879v7u92L0mm4xUN1qIkeqdl0evclXq786bpm\nGDLAhi10GdihGjJIfb63QjKdn0v5dIUGmYA43s26f3ZJgYjQu44Kr0w8yA4o\nbWnnDlCh4iO3FfKnaHSwqFp/DurHptzVPGqg4qwkRHM9sWCPATZmkryvszLA\nY0b5zuUVj6MglpvQdXq/Ll21eHcEjjfXBoqLty4cmR8ntAO9hWGbp4LLs6KW\nIhL5lPMjK2FJq8tJtyewTUusCr+BpVuGVnZZktiGB7yzEP7So4Jn1iTPDl+j\n7zTswY1I8/Xw1hWhRH7pG+xKtu2wliFR66tYvg8QGl+4AKDf586pMfivfknh\n4qnQqLaEMDzKVe5of/hr6NcD+kmAdt/aiJuM1IFA/3d3ignZhdlccwwIuoSn\noB2b9wEB3bLTxh54jQf9taNJtk8ogaJXeb+QYZOZm9RIjFDG9AXMMH0Lu73S\nzCuXLR1ZMy5GMeGroFHoG7iJubI33wV5t1pWbGap48Xocn6GV9NO8x/IAl12\nADfhWOAqLO34K6yvbW3JhoFmSjsM6IOLSyemwWoRKB4fd7mAi7nRO2WKeJgi\nRxq3MH/E9HaumvHT+fJKhhlx9Tah/2W2rtvGVdxOo+GYMivVCE1hmCc9tFte\nZFU9\r\n=YJ0v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"arrow":"v4-preview2"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-6_1524648000586_0.32433219160127913","host":"s3://npm-registry-packages"}},"1.0.1-7":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-7","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-7","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"5604de5f0a59f762eb77961e2ea4dc18bfaf36f0","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-7.tgz","fileCount":33,"integrity":"sha512-0X1hPtFBy4iVAwq/ePhEPO2e6nhJzb0woOXhtvn9FSU5/JU8dZKwCozs4GSd8EwT79Tc4NDLGVEgwt5o1BRskQ==","signatures":[{"sig":"MEQCIAtGAauApdm2FIaUcWQ++LikLJZ2Dn0dZbdeqWDLrEeiAiBbBWzTMl01abRJXqfno9+XpZ1SmR2Febm35Bjz49gJkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4eI6CRA9TVsSAnZWagAA23wP/0hqodRKb9sow0uubEga\nMTc55dC9m8vzscKuq+g2eS+Bh2obsK8mYvB2LtF0NG7n1FOgaI7CjFj+WtNp\nx/CxJu/5LyQXTdCUjdIPuX4k8VcYqfa1l8L7XS8Bl2H5WBWELeHrU/4gRT1P\nDJ1zODNod98Jh79Q6mQgxqqGprg6fFr+6eAEK0KEQC0qGS18Uts+iGS43Wk2\nVzchImZUcCUXzd1gvn2+oC5hLBjOs2Z7xXC8rVfqslUXDsCZH6e9vUSKg3pg\nxLJTF284gWLfuaMBsddO5s9Of5qGRxro9PGOz//m0wFkSUffER84duI27pCa\n97VakFNwfBrW6wAAls9ER71WqDnmWjh/8QmLwdqV9ucfai/AHLqd2sKcwkYy\nCMDnxoQrc+4SU/pF2G/iheGHs3BPIZZpaSvwgcgo3TV/8OHb75RCl0ml0hTy\nTbPzdy5xnH8Hx5T0/VZ+ynQiPJBNa7h8CqTyD8mT9ZXg2xc46jRfKdI3DHmg\n9w+cjZrl1Mupd4wTA0glWoLj71Qpr70cRMKCZrOY9sVoI0X8WXh8Al1Qe90d\n5Yq4R/DQyBBLEBl9XkZj11dQdJL7Sn/ANvsEr31F3X3YMgTYB6ZSHZpHiyk8\nzJjvxtPlLk9ceJVemu6zABHtQksFyxFdaAaEk2C0o9ENQpv8VSrQZDX6yNUn\n3kZI\r\n=zU2E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-7_1524752952653_0.3105850766542104","host":"s3://npm-registry-packages"}},"1.0.1-8":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-8","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-8","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"a8d7098be623137fdffefc0c711febe1f1bafd4f","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-8.tgz","fileCount":33,"integrity":"sha512-dlfaj/CTlAlWupW3mUXI1PlCm9Kv6a6Ze1b5/tC0bJXyX+dHuP+JFteecmxEMKdOsCmVpFJKZEkyHyjb649LDQ==","signatures":[{"sig":"MEYCIQCgE5f0jBjZ1mJqAvaIQRNMbz+aKLSFpmKVSRCC0iYZrgIhAN253ydblucaNHWYvRICFBZYkYBryOi4bI+RFiBorc1b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9XCaCRA9TVsSAnZWagAAyboP/iHic8LELkw9EhzFXlVG\n1XdUyqNZUkcTQz1PLGOUdE6QJOhdhXtzizVbow9Uc08ZyBn9XpOWOlu4HiHn\nvzxDlL3Jc6oQerPFxNlvf1lGa/khxyDajAnnj5FlF+8/N3n8jImvewSuUfPP\nPNi6XyxJeIDh2665R6kM3T/JvUBtWbCtPmrG7LUiYvp/TETMGg9QUyQQYdBY\nu1IMEZbHvUJCRZFCzZBDpgESUe12CcjbudyajZodvIRLF2fkGazJRpzrLe8v\nfeBWONopQ6/J8um0aB3qZbN+5lrXzeuFZb0eMNuoYKP0kz7YB8OBx/Dv0+3z\nRackGrBjiUC1j+3MsvL87/PF+h9eUSO1AriAGWg8MgJbX3Oc7LmFrTg/rvTf\nylIUhzRTqQIlnl1YU+FIujoF3rw5CdcX70XeA02k0Cva3Q/T5qs75wpyhAaf\nOuruBNWZyeeeE9nzNIujpaCTXjOH35Kpz6U2rB1gG55/MLs3UIqV6T3wp6a9\ndxnZC+J2F1Ev+APl/mr66eQb/HzZSWQF1xKNilIhEZwPTUEtEUItA/3LCcV9\n95jjcqiGHaIigJL6dG3E1I66acNKdtG6pchRY/IabmA1EeXhlPz+G7lxd7xF\n9j+Xl/Vuj8gCvllWFzWPEWFQr+AAz0RCaJno8uV6MEIDtpDer6+xZOjlQ7lL\nOs0u\r\n=5G75\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-8_1526034586139_0.9931526746262287","host":"s3://npm-registry-packages"}},"1.0.1-9":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-9","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-9","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"6853d90df1f23d5a8024ec52a238663d9d74ae0e","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-9.tgz","fileCount":33,"integrity":"sha512-HX/zm+ZU1Myr1xwaAr6nsAe6CEhkXD8bfcxVNMBYoMdDJ6ndV9m51a0mDOEqo8ZiMdezdse8CWqB3EEUzXJbjA==","signatures":[{"sig":"MEUCIB+cUtFxWWXMWr2RLVU8cXnCvA8kG9bRFJZtLUmqtfqUAiEAk2X/lm4QCQFwLpzolQmZ07mkF1EPIcD8wNu1zopmry4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBvUsCRA9TVsSAnZWagAA+ukQAJEL1LNFLnYqMT/OVdcY\nE6UV25NLOPveI2st6znRcu1Ir95jZSBddJ7pZOjCIn7llRIaWDPoBaGkGZsF\njdAAW3D0to0Yyjvmjt7hH39LJzuvAJWQq6Df4CFPBXxF7hjuEu5EDErI9Acm\niPyiTghI0wcznn/13siZCYXAy5zoDk2K67rPniPQHZ19dn65P73PDv4dFIIq\nEorNJs8ARZwWhaV0cdiABF/LspfITgVRYtZYQKOXqBj8M1Noxl/kgUQaDLzb\n0ZPSC+M5bULEPYwDFN/Z/8PGVE4cpsguZZ+RJzkg3FGNZBitJAfH9lBLRmw5\nA60ny3bH5j2nN2n/MjN2tpAAti3L+XdTarTiy+Rbj1CwlkzKGA0AynGmI0+/\nvQeLMv9tjqDq7yha7Xpi8wl90S4uqS4+mF6fne8PcSg2YOnri9RhpO2GvexE\nFjSddz4bHQqxA66Xly88uSXppfux9oSGr01TtQDBe5T9kP43BU1BjjC3N0aA\n86ABZdzouEBANR1QrzFAtXtzhZwor7g0NZ0g9MljT78BqtIothX7BAKhmpo8\ncsOe0fMiy5A0rAu445oqd20kB3ZyMc6uD3I9AsFWbaRACpaa9K1dX8LDevWf\n87LyUS3BuovM7B58zq/zyxXZHPVlUnEPeApPE1L20rQrJQIOuBMRE2C3Tt+o\ngGz6\r\n=exPp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-9_1527182635092_0.6804438067315512","host":"s3://npm-registry-packages"}},"1.0.1-10":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-10","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-10","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"19bb4706e2f2d38237390d75b79c61e4a77eeb03","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-10.tgz","fileCount":34,"integrity":"sha512-RIWsVY5EyK/bRBCWb1XJHG2UQh+gyCgRiVVmmIfA7x/iIj5j9KachHobSLQIaMA+p39v/CY4P48NUJNrr0yraw==","signatures":[{"sig":"MEQCIBMz0mWdHCtjdLp9ZOUtNALDvhLLbjI34RUM1qJmXeTLAiBSiJd3ni/gtvhi8yP1rlv2w549SAO8llmgM5/VRY/1ZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbB/P8CRA9TVsSAnZWagAANRsP/Rvsj0CmWaTci9Z/WPlq\nHoO5tU6qZMbueqVcfDVnnELaeJ0znDNm/pKtz8dJMaG38HMWF7OcKSEGE8vm\nykZiTpQmJTCCRMIOBv0ocPBx4yr3arF8MhCkzoxt0R7DpQxslt0TWpbya93v\n/l+PIoxV6pRn66SmZzFG0oVbn7oL3zYWjXLHRwXIeINCOknzegO8GIKjBe/0\nZHIgKcE3bHQl6NTmPJ04eLDHhmtf3r5+Y8KAtDYj4GQlkuI7loY74kuqpNuc\nb4+7Jdxk31T/BxaRGcSzdh4ZRf47meGaO3bTKCBnJPsXtjdP0Vg1Hwr7mECz\n07yIGoZLi3SOEb/anqxT7C0XwBSojDNzP8FTpg405IS7hnwaOHJGzYs3l3+7\nt01opQATklctzlUvtDfEQiDkNCNZ9QVVqkCD/NF0GZUoNMepJgy9AWgFWsVC\nT0kMbNCAFyqpW0gB8dMDPkO/WXDilSnM0lTGkZ4NdKbP3EkxrWsKx7VpBgPt\naWCXIpO/E07ybWi8yIQKlUmzua5fcBL2ApxMkq3ht5YW2DsAcoRWiV39kgXc\nBpvhE0BBPIlEr/5yWij3synPJkxr6omgwXy25Hd/67ptYGupqcOnqlHY/j5L\nvLdzbi5liUQJv9mX0PfY8LdiCUeSkIj6A9/zGidKbuxoaG4YUS54aebpDstF\nIqfa\r\n=Q/Fl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-10_1527247868466_0.38432846424563216","host":"s3://npm-registry-packages"}},"1.0.1-11":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-11","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-11","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"54474137aab50e7aee63c75b217170b1efa6708e","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-11.tgz","fileCount":34,"integrity":"sha512-p3Q8X/tSMkcoNFa3mgQNOkMoHG0gQRkIgSrmN55wmzx2Q2OBHCqiKrMwI+7MPwKIKLLii5qOTNaOYy1om1HvHA==","signatures":[{"sig":"MEQCIBOBPEm6SlWcEeOuZFuS2q9cwBXbajjwEpqBDsHHd+kUAiBHMvQfSn97Yd1TvZHitu6YZ2PR2LfVl07HAxn4gfGzzQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCCncCRA9TVsSAnZWagAAXbcP/A5LGv4az8UDnOnD/w7F\nZRnz19S3+Wsg05qBupsxCapFuQaxn7MWnMY2Er58RmMKHJiRmffFmqD2+D10\neMxgt1kv8LrSfzgE6X77RgeZ8fXT1FLTkFrllmgGSAIIlUxixh9mH/UQ6ep4\naw1LfNi0L70lpNMXLfFpGxRZ97HZU3qjuPYmDfFlelDgswJ16GKiKE/RxCjM\nPRHvLkSzF4Xys1GYVBIoIO71J7OMfl3nDxkYqArrM/UV1YwBmC+CT3TiiMs6\nW1r/F4G9vGOf+RYlaqHvR5YmbqMi3bY8TKKs7C0rKWZY9VZGdFSB/t9EdUQi\nY/WB/FGtCVfc+46IPDYpwyfaY6+jA581JIgVULCuhf4qkyLS1HZSUEAEta04\nr1Nn1/8mfRHOlcjK+5CaGU3/lxSvRr7CcLVO7ynh7jK4YhIz7yJAOzOXL+CN\n0VrqDqOKl6bhuydsT0QlVTZWRw+HqdoFsEBLAn4QKHeLwUdrzvREUaD7vofD\nzoY9yJg9T8qqYy96dMmvvkUxfIM1IVdTboOOTJb+i8TdBk9i/ngd8+gCJzlF\nRfq17hKwIo8kheMWy0QjgowkTra5EqzJM8qYknWurN8l6ztPey3sclTI+Eht\ngEBT+xcz+5i15pCpdQ93ksG96NaeYb9+GcASpPyw6dRFUNp9bcueRKVbb0u3\nTOX6\r\n=7ke/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"gmatthews@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-11_1527261659695_0.8648507363942508","host":"s3://npm-registry-packages"}},"1.0.1-12":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-12","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-12","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"4e7793c1f7c7e2b039bfe0e25972d6a1672cd7d8","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-12.tgz","fileCount":34,"integrity":"sha512-kBkuVpSvD+/g88lwt6KxnjJvMLWFJDTF2jk0f5fMTlL6sAoy4DJkEbgJIwYgRvjKhcCE4WKwnwnd0/3cACE3Dw==","signatures":[{"sig":"MEQCIER7y/9EFy6WE7IW09Hjjv3CV4sRgEmpU3/XvFQz+GtGAiA7kYCRTigFUD1gMmqyNyQfAtuUJR21UlF5ynBpQd6SPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGnjmCRA9TVsSAnZWagAAu2QP/0Vc2oMvMmbJUSUwbRQG\nWsZ9e/IhqMcD7PBec/anr/z+qonhslIY3Z50HhHNrtmevDEC2Cb47dhLGqKn\n+d9uEI3YXjBJRACjqMJsNi1j3hKIZBNRB4YHD4afs/rrR/GE3vJOIrtagzde\nC1WLZ4HDLWmMZKZ6gvB1EqH7XnqAAjNtpr+wI2EMQUDAV5YvA22j6tU0AuSO\n77XQR5WSTy8GfGxSyAH5qauURoeD0poJMR+A1coYxjhBmLCViusTymnqXsdP\nZYju8YZY7y3VBLkvcxNckJFx9T+3kaOaoPYhNpCqsMZTSFAIghemFbEKIfKO\nycH7x0+4RxyYgrsEA622dY/WGBEhlFAqeOuFeE8BA2G2aLxgrkpWbc5NTK2U\naisfMrXo/ynXq7dSNWDO5MlFDee6lrA3rpXxz2JnJxY/n3tw+H8mhX4qLpcH\n8N6f5B8PQHjdJEmX2rlXCjvj9rSuWRyvwJQvXxmTd+0nK1n3lsdTGAbuPjom\nH5L8QGBnojdCreZz+YY3wWgr+8+xAU9tLA+v3LQKRKaLA+O4LzeMdzN/nYAi\ntTpGKd9Y9vtXU5kiVYfgmN8Ncw4bcRQ352S3UpvKHDWgggM+AciRjbLd9Rxq\njR2WHhjTXV6S9r1RfjkKGW71yg6sGjsxoON8aiar9qWCMbdjT35FnI8Wox4V\n4IAF\r\n=1H7s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThis is an API Builder data connector for MySQL.\n\n## Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default we use a host of `localhost`, a user of `root` and a password of `password` to connect.\n\n## Usage\n\nOnce you've configured your mysql configuration files located under `<project>/conf` you can start up your API Builder project and visit the console (normally found under localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour MySQL tables will be listed uner the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based apis.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to\nthe table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-12_1528461542168_0.24105994296525357","host":"s3://npm-registry-packages"}},"1.0.1-13":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-13","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-13","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"af639ab788c235387efb659b4bc2cf68ad34eaa7","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-13.tgz","fileCount":34,"integrity":"sha512-HOFbc1WBVLHr32c8xqZeAVRUT5wvOU6Vxe93uNpBAWCdyRfXReEPG7CIY4Awr6IhTdPkfKucL2GqOW9kDlhnJg==","signatures":[{"sig":"MEUCIQCv3vQh+HHDeSya7U12F7BGgvZ79Twu02IvHfP7N1lumgIgIy6v9533iVlj1LLVjqzPtqG+LUKTn+9Lg8k3VuBNnv0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIl32CRA9TVsSAnZWagAA+IoQAISNwJifoUTGEFcZG2BD\nrWkrq2jeKko8NNvT16S7ZEI+Lu9NrKZS+P77dnMU2UMg4f5eCC3tuJ6VjhC6\n8ECKNzHEwyUS4WjEN2PxOT0x/5JFmqVai+8db0UySHNR2OrdG86RjUaDeT/S\nsH6MDvgWFk/rbXVIVNO4IJCldACZJSxLqnUlfJzDEH8xLqyMmB3DK1x7/3ga\nQ9Ix9Ly0drl7C5uHG8WhfP/NK23omVTSpUHYCnCR6m8QPnCN4RdT3HxFrPHc\n6WfJ326Tx6LwoqlP8lLU1mLfyFFDqBF8CmsXiz9XKqEFS627bDIm/RJVSQw0\nHJGqGqdqXc3NWdWewLeGmnZ2Yt4P2n+RFAwkkg7k+DgCl77Qypq9snbnDXM0\nLYjSNhN9CnzsJ8gleCkMiS+I/zkv44LACJEs9XvubdX8LRHdstvagXNH8tQx\n+2zKeOW5JfiDuTeKScYNrn9mAC+v4gsQJjp8NQiB/4sIk25N5Yv8mqMseWBe\nghr0B0v5H8+9j+Fmq6FY584wPwi81tXoaBIqZZr6p93Yr51FYWUPAaTn7itO\nwBgw844XDlgDnDcwll8djTbUI9OgxLQviWc/4SoSjsE2uJM/wSz0Elx48yYe\nlODCeMXpjCj/p5PoLpA4r8X4NrYaosC2thQnF7DeYF28ZqEXRQRjFld8LbEi\nhMf/\r\n=0rWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your application, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n1. Only supports SQL tables with primary keys that are auto-incrementing numbers named `id`.\n1. Partial support for tables not meeting the specified primary key criteria.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"v4-preview3"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-13_1528978933469_0.8843705240666471","host":"s3://npm-registry-packages"}},"1.0.1-14":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-14","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-14","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"f658edf5d72e8e0671c8e9a56d235737f5ccee0f","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-14.tgz","fileCount":34,"integrity":"sha512-yjTMb+tX9rPff538NwDNSYI4I4y/VRTOroVPC8RihJNo1aBvWTRu2zDYmJTdT9OFZuhpsfB9OoJQARXuW8Zzzw==","signatures":[{"sig":"MEUCIEaLZi6oEOpjW9YBKDlw6EuqUNNZOXsRejtKnqM5Sab9AiEA8j+2t9OURfR6UvQymt1dPza4stErN1cPNZwWNVhujTo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKMxACRA9TVsSAnZWagAA+doQAICRLRLEXkcsT9D9zxje\nCWJp9N66KVqc6GBzNtJbTsVBj1SySKb/+eERN+Zlc1nSBieGX9VXns+/2oF2\n6xF3N2sNqEbI05kgTQIRfB/QQnk4J84qa4WNhyGJUl1+XlLFGm5vhEYIWcVK\nSopRAHzPP7PjG+4Lum8wH+QhGckWlBv5BgkI7fABUt2EJEK3n46EUsVFDIp3\n5aeSQNm8ivQgPsUhZDh7rq8Nczl59KCaHRoxbTWhaSgy9OO3a9YvdHLa5iNn\n1YKjaBK+q2UvH0RwmjieYhnKgh2yMpva1x8XpIBsz3xLSFqqjW+94gMh1CET\nqGzy977nnt5OCTSKSQnfOkxMKc3BaYOspT8FGdoWndwDe5+rV/Q7kFyFAZgl\nDfMZ4NHc9N0bbPDko6IFbVgB8xomHrYxB907lHg6VmGwhzEdjAqaLcg1RMhf\nTmceptbPYG0IZupGekOLOx1aJxfwnLICWc4KtJVk0uZVr/qBSqWmmDp1Tzba\nVAImjEyShXWfUGHKvyFL/izzloWo0YypnpFS8kht54s54esgwY5DV/AozG1q\nTZXW6W0/oCqrwDnpWVvXh4dGE+gKC9wh1aS0O27jNm3W135LsamN8z7/ZPTt\njZT8Aetl6ccQsKs7LVQKs9Eb+iCenXWe9o/GrF5qz59HiWW1c4wK93xGeGwe\nkrdO\r\n=IPOb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = Arrow.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = Arrow.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n1. Only supports SQL tables with primary keys that are auto-incrementing numbers named `id`.\n1. Partial support for tables not meeting the specified primary key criteria.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"arrow":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-14_1529400384656_0.662286482081528","host":"s3://npm-registry-packages"}},"1.0.1-15":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.0.1-15","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.0.1-15","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"416083641240971410b93394cceefd63f28c0581","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.0.1-15.tgz","fileCount":34,"integrity":"sha512-YWdTWFhAM67Az9tROo3Rh7Cgj92LdN5V43fgLdOBWZB127W89aln1UusL/cS96Sj3rg0wteQ7hpyEfZ9S6Y1yw==","signatures":[{"sig":"MEQCIFWmwltPL1uWoXCIVYRfcjffK/ZxwVALbkqsJx1lTqm1AiBkUeVpycivjdNZ5Wa9D28DjJeTzqOavGSpxgCXj5rTnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK6CqCRA9TVsSAnZWagAAd40QAI51mPDorlR8o4yS5mRe\nM+gpkJzG5Edl25n4t5mNR1uh8TpWdj93LnNIGEI7EHiDiPcptfV2pEFWnQl/\nJZIbp61i2gbIKykEUQGD174YWxy7md5LMxGhJDsXtvFHS/PCTLeW8uEJHdtc\nzBsXjNOk7UCKxTzzDNJGT+uDtPA5LksZ0Ev9ckWH8bRfpdKf4tQ5GSxFlhl3\n+XHebg+XzQM5Xm/zKjebC3OhTtm7y1QDCTc7UjJ3HFHJZnwaCt7dDTnnDZVJ\nuy7B+PedSN3FKp5/R4oUJO2A/v4AszIgz11KGgMDhUdU6i4p3N2hA6XVJNYt\n0vhcFa28E7NPM0rxDeamiGiAT3w8ImwBr8pU4PUMxHbav3JbrQgl2JzUsNi7\nlcSj76bxLDmk9ENfxt9jMcrRDppqD8adAiPvE/lCt0rcc/U8tZKCcQH8HzZq\n4YA09Qc+kWRfQ/8WOiq24OTqnz1mznb0tJlL0vycRQeJtV1tE29Dbb0mi++Q\nz30VqGDloGbEfyrrvTBWVfN8rm8iGxLlsVHPLmKhdmYbHZohk25cxDZW3jsj\n/wFdEPc9/SlYOmVVoP2etdB7u+I9WIuNUGRNYkIxzEVpO88/dCgtfT8skiKI\nKaQgxnQQY07w+Jq5ZGFhaz8sQdolFwpXPOAtjsK+25UbRDJmqubj74SLftmV\nas0N\r\n=LxqI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql@v4-preview3\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n1. Only supports SQL tables with primary keys that are auto-incrementing numbers named `id`.\n1. Partial support for tables not meeting the specified primary key criteria.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.0.1-15_1529585833678_0.6484841009387066","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.1.0","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.1.0","maintainers":[{"name":"axway","email":"gmatthews@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"a2a8d7139013dfe817f056ed1d01616cf59a4411","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.1.0.tgz","fileCount":34,"integrity":"sha512-iNBYmX4v7wMOaQHS8TusG5AXhl+f8pYimGsHMexh7o7Ee5QvrBOMCRNnS7gEHas1Za0aiqciEsiDrVwCAn7NVA==","signatures":[{"sig":"MEQCIB4QWoHgGmMcXaAF/DQxh3DAxz+DOfL9PR/1CROYmgkpAiAs76FB4a/8ZJSVEHRp3jN4vBaMRUJ7rgAsQLnnCh5Klw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbM2XBCRA9TVsSAnZWagAAd4AP/3BrqXrPScvZKRu2vwh4\n//RYxXPWTDiQWaT5k3yMwHU7Z0OM4vGIwMQ4m4zbdGG14ynTtdu0/1zgrd0N\nXIZFFV7IqYQbksRj+P1vSt5peaQyaWgPNdMrbgR/1dZQ9/byRzmz8jaN700y\n73/8G6oUYYoREybMLpWVtNNlUalAkuGVioWvbwFAThd9NSdGoE9awEv+EATm\nooPpSCDOKI+7pDcjgqFlEmPiN/uMvJz5yxiykGN1T2GfAkOqupB+rMPvYVmC\nsUBAfWcLp+ERhi0wfNIZ2c5MBbfqrLaHPcSIuqw952GZDL9/WBrZy8jQo+a3\nP4sHkWWQG8MB/whRroaGOtY45dXdcskfw57eJAg043HBHBgbJuai4F9tTRqZ\nqXvVN8qwPKZ57jkE9wwzsXhR6597cP0A1/9PmBtk2kmHxtCncU3tIqwevTOG\nSo5/3c/BaZmguErUCHaKBXysm2TeY40hXvu+87St0OCxYMmfnG4cUt23srHI\n7iuJSYCUqsbI8j18tjnpwFp8IBO/VjW7J5vdS41Sztxka0ECgmvxYkPKY9bk\nl9Wyh/wSZ3/NFbqKFirJfbKehEKX0Gk6DHJ80oZDT139yavqodGmfVn+o7EW\nUx24QyX1PvNYxqImvNmDiNULV7aRlQBlfeh4xFLiThIblSn5esxDE25Oj357\n9rwn\r\n=pKYV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"axway","email":"builder11@axway.com"},"deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.9.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.1.0_1530095041421_0.6908321595281504","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.1.1","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.1.1","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"e62716b5a14bc4263a16f3dbd589d8d175d2e898","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.1.1.tgz","fileCount":34,"integrity":"sha512-oVRjDEoPq0Pzc4sb9+QP4IzUh9qOi9zdHS2p4avkclK0Q6QU0ema7/xfi8hNDOL1IRsR76Wq4cPN6MezuM5BaA==","signatures":[{"sig":"MEQCIAT6kgALMt4pa+pMinoDmTdgPnuPkL7gxdlyqKBGwNncAiBg25Bkl6XDZaEABhuxNfXeugDd8rkne/2yzHfaMXHjOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbROleCRA9TVsSAnZWagAAbtoP/jFhGC+JWFO4qsQXe6XU\n1BOGowmdjfnRhDwXrl0Kdf+h5M4KeQ1zA1PYmoazkkAJLvpTsKVwntCbFTPF\nJueWepynkJFNTLCfHBTm8GtDIpyrRC1cTM4yalnK2EtNzjIYSr1qQ62yXzR3\nCXWKiM9zA/Ll8P18/M6k7ii7NK51FzaQJu81WhY1Wff2Q3+MhZAgxPKBxcTL\n8/m7GproUjg47n5RFlGqLwoTqc/7yTDN9HQl16RBFY2+V7/w06SUbAVBG/Jb\n1ZMtLXVZ3pVdvJQaifqd356035jDZWyqbwwfk64ZbGFLYn2LA34CJeG0SVmE\nxZXnBMcI23Sn8U4L1b3XF3V9lB+kZyK8pmjyY6V51+T0uUFxVmCcPCKN/exZ\nvg93Y3Va9MPVouNfV7wq2j9Va3lqj+bIsq2JjDNa3vEHoIelsrcT54ST0W20\nNl98G5hWVtalKBnZ3UzNu5RQ1looLGpZSDqbcS3qiBchqTArjix/z+7lLQ9E\neT09UV2NLBGWGdKR4kwUpSIKIJHzFlpK2Q1YqJWYaueFc4+BKINMqAikiWo7\nECxZ0jt4HSb/VK9GlxzbBbiwK5k9kLPkK0nF3uduYI/fjidwg96C9MqzX1M7\nMN6tHattRKsxz/EvjlCAGurf4OL26pCGvMPZ7vMRVI2jLbf9gTVJt+jGhz9T\nMui9\r\n=P9L+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n1. Only supports SQL tables with primary keys that are auto-incrementing numbers named `id`.\n1. Partial support for tables not meeting the specified primary key criteria.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/dataconnectors","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.1.1_1531242846030_0.17753357830256244","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.1.2","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.1.2","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"74e78c410cc23aaab20f1a4c754b2e3333167154","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.1.2.tgz","fileCount":34,"integrity":"sha512-SpkvpMEA8bUAtPBSnD+hIXi6h4wvHGVjoSSoU9OLeibExYGDtlo3Tj9NUqjYkFsyYYo26f4Zaj2TqHjIvIVw1Q==","signatures":[{"sig":"MEQCICGUd3h+uybDhwcrwsK4qodHFIgS9pMNCsY8AiZGtGdYAiAEqwtIs/f8K+daj23gZtRpylL8uWuqYVtJi/jeZtkB1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRQ7mCRA9TVsSAnZWagAADHwQAI9ujfkUcmhOM4V8o20O\n86RJ6csASzFgYrgkV0QHE/qsks9nX6RIUYC9mHzUupzx3CEADzuNYp830vWp\n5HTL2d4aPmv7cQfQ3g42RTLTKsK0hcWB1rUGeJY5t1vsUssXzEXxpWbjrwWG\nWm79bHGFNWho48jWykQ2Qr9NyjlYEFs6DNC5L+zjrEoqsMCHgHkkc4FhcLML\nXMe4DQJZfYYBzrFYfilWnx6kc+I1yAQDg376HAtV0txh/7jd138qRHkb1THP\n8P9tmHlAtCI84ISeY9+hlIejc5EFw7yiZ8q/78MRreuq9Gme+ubmofRCzZCj\njoyDUcr5kMM4tvafv2imP/SFkDhPMrLlhTGWXfVt3AEqvoN9un31h3tEcHNI\n4xBWSsW/BHaQMK1xcQBmEDSM2dSLUkQze8P96m4dB4+I7reIQqEq2momfE9T\nHCNbZLbHAw4KTr8mvPQ3va7ZbpZfaLFl1wDVRSyHfDgfOFgQmDTPWftqsrAn\noECkE8vCd4ZnztJurB1t62LuHgsnMtIkd9vPJBMgiCFJshWSn/dS+vk3dnFJ\n+lpLuaEnv81FbCXEqxrAaYRDGYc49XQfrmH8NdF7sx5+j2A2mgK4V4qJ/VJO\nV5AKSF3VeTA28289ecTYiqKDDxyvIVRArEaHiu98dpe8pEIvr+Pjn4tl5a86\nZTnc\r\n=16Zy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n1. Only supports SQL tables with primary keys that are auto-incrementing numbers named `id`.\n1. Partial support for tables not meeting the specified primary key criteria.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.1.2_1531252454227_0.8364533864677552","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.1.3","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.1.3","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"9dd79710376c143bfcac6a2c973716f2f3f25877","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.1.3.tgz","fileCount":34,"integrity":"sha512-3gBanurQIF7CczNh+3trL1J6agCU+VDJDzHvOoLMepwUgeUZxa9EcLRGmB6uWkvhPdcAXImpQ15/LwTz63Mj1w==","signatures":[{"sig":"MEQCIBfzbqAXx0k7SDGJCZgbZD241YsoqQwygpaZ8yAUh8mAAiBj0/Qx4d+7f6yMWiqRDfLUob79ILts99gOi4C1qBlyxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVbs+CRA9TVsSAnZWagAAiewP/1YuFr/uvu1i+iSMasZJ\ndDFpS2ybmdatxNvhfpFBYZnwBHvW1+oqBUtu7U/sr32xhjuGgnCPAvS/sior\n/e6njm4kC2MRvr5uqdAGt6pip0cS9JAuFCu1FLdDIjj76vB6Rz82C7JMjYat\nDvEqxOVSvbEvhm3LJi/PQLBHGE/Guvmlmf1BKOXO2ZMesRbGfCLy9NIzCDbP\n7ViZppcwmwK6re9btvpBm3lD+WuM1Wgtg1anO/moY61jIyCOgbLgKC11393A\n+9Bx7t5+8bh+eqhFACKI/VkJL6YCzVXjgRhZF5ASWbD9v6AYv2+Kpab9xlo8\nHp5e2pXqFUGJ5W7bpB6lRc8RnEO/ze5MP146C5iB6zTFiY6X7mi9+dGRVBWV\n37mSLHroZFR+9F6S4NPN5CR7Z4tlePvqZ94zBJyYP6luEVtrLOg94qLy3icS\nD0CO2apX5U4MCsnhJDsH8RLv3UCfA/psPeJBgOhUFOKCd06uZXdpwRbz5yKu\nMOyjs27DYRvXmRWGfSDI8sHsFfSBqp4xWrO73wtPQN8AbkIZNjHXCKFnDQk8\nKduimbIAAnfzQJ3VCRTs61EZngoDCFjFfsQ6TtV8mDkmLe76UMF3KVN3LqUx\nDawlc5L8NzqJ0IZ5xQoKROy3sweygx72WNnZBTak3iB/cOkfQ+3onhGYO+zz\nDTjd\r\n=Dwq1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n#### @awxay/api-builder-plugin-dc-mysql@1.1.3\n- RDPP-4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.1.3_1532345150778_0.5523194046793873","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@axway/api-builder-plugin-dc-mysql","version":"1.1.4","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@1.1.4","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"29c90f29751b101ba0f7b0d5b61409c9b0a549f5","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-1.1.4.tgz","fileCount":34,"integrity":"sha512-9RnWLLsobdbfawRihr3PRlaLcQeSA3rH27h673Jj9UrVLClEg49Qc6uPLXgwu3II/rWWaDY8bKnTVYeI/407jw==","signatures":[{"sig":"MEQCIC2slLEBEeGOTP65xDmCv6OLolX3OCQ4wwZ276WDsvYWAiB8dUZskorewbmUlzK7yVXotGHWZQxIpFazJC43GB94GQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVcEsCRA9TVsSAnZWagAAVh4P/isJ31OPwxSEVQjcUw7u\nPksOM9CVY43Qeh5PLAkQojU36NMj+/kqmwKVz9y63z9cSOIVLbF8bF7WASt4\nQ63lxv+EnTJLLJeQ7eRPeeJqQwiq90RpsNBd3+VrK518Ze/GeMF1dEOw1Xxp\nkLQFnXaKPHpqSO7Pz86N7MSK8FXJTXW7b+D6lJJsPPTMaNE6d1QOJz7iXuiH\nj0HUNuVrMf0dY3Y4xy9hqSrOaNXuzzSAfTyh9MWeUj4rGdDOXZTLOxfN5v7o\nNzUa8P8w4evKdQ7dw20BPk7YVdTQC/qqWHkH5Yow/fMUfgHNy0onmH8Mk0/D\n70hzi/fpT7a+gc0PkQrSPB1URpI0viHrYhelMhkakCVBHzEla8gso6RTuKgU\nni7pLAMeiOihvwHcKHIMChGDFPlTh29QejfUGdmDiFBPL0DVP6VtH5GHuWnx\ndt92A1bH7TaYMFeIjq/IIK/PEqbSEEgGHzywnlhDcWPSBmuOXneYtcHHWYDx\niqO6+ACNhvjV47p2d++r+n6z2xvmRY4+4zan0zvdWIKzBaNmW4WLs0GB+VAN\nJPds4+WK1O89HsS3dkacOFXlpsAz70tphm1aicdaC7IHPbz5jwIRSh1edR0S\nta1sANDJfKaDz+XujnqiY5mg/1Gw4dcHaL3O9mdAnH8zVo4iHqY9Hemt+DFn\nrIEO\r\n=h3kf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_1.1.4_1532346668367_0.82286114006063","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.0.0","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.0.0","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"eda7d920283d5e798b84634b50345771fb1b6fa6","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.0.0.tgz","fileCount":34,"integrity":"sha512-VsIGjtmsSpF0XsbL9RpRDziYEbXg7AsFzhYAprkBxpP9aBygf0Dptg9dD2KKxKL7a0gfVDsi/WwZNdzFCaY+VA==","signatures":[{"sig":"MEYCIQCSuOnZU68Hq3hY35/MBsgJlBfnmLanPL4tSvNVujFVVQIhAKuyEXZj2wFDcpQ3iMDUew2504twgaiy3DQXaas43n+K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYwJBCRA9TVsSAnZWagAArvUP/3Y+IK8yYrgjxAi9Fgav\nKfK5yIFFIzwEARRI5lXky381DBpLpjhfCtg73SFk0Ikbqi4DXkMPTqoXgXXn\nl9CEHcfYcE0iFhH+vg1Xw0zA3lDqc3wRkU3Cu1h88hd5fTFqM20fiDQrjqzF\nE6UWLyWpa98p0vKZ3s+luwbKrYxuhVOX2AIIwTFOpjBb5w2udc04KduxQzhu\nPVqdESNukUDxnhjOL/VETPF7jR2THmkWvVfHeoEYT6MXK/YD08sj6x/z/IGt\nmhcY7CjrfHzAdwLdB61DW0HKzd1jifdD8c3xAL/IF9V8Eki5PeW6wBRm5YTV\nkCfl5DR3cICO+WKIgZ7QA1AvwnkZ4VPFKK2N/u23CAALOP7DO/rll2koY9Wb\nUbHI5opVjFCDzuyUZfK4w5dS9xZR5Zs7CAFIsLbYzggWMH9sd53TU5r8Zzmt\nXKt2Myh24MoI9Nb/UZqDswf/YXA2OwBDt5+L+lyheQuFPDikjUKuGJPQw+R1\nEmCnHsmSt+AZFyKx4F/EOLQAKDL+aScFhIalq05H5EZ/FADCefwDECSMCSNu\nMgC130jlYCWPUDxkVhon1v9WfpFDS9CJtFsyHfkbrE/zFkKGvzVzqxlcC5RD\nYo/1ARJJtHWiwRyAGwmnZIKv/fgzCkq4XJ1CycgFWNgduCPNoq/J3KGxjH1e\nJrIi\r\n=sng2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.0.0.tgz","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n#### @awxay/api-builder-plugin-dc-mysql@2.0.0\n- RDPP-4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### @awxay/api-builder-plugin-dc-mysql@1.1.4\n- RDPP-4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","deprecated":"Please use 2.0.1 or greater version","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.2.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.9.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.0.0_1533215288103_0.8194182170762241","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.0.1","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.0.1","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"c49fbb3956bbb80c6b6bc34f3eb03fc92f75cac9","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.0.1.tgz","fileCount":34,"integrity":"sha512-cFxLpG33eKbYMkYbLfhHLbbDefqyrKdt0+kgD9GL5T2rbIZLq9EORduBArxVwVPVMKevqcNBP4dWsTGIgY0JoQ==","signatures":[{"sig":"MEYCIQD92N2CgtX+e3yhCXTa1FSLJDfVjdKXpt0cIG/XWUSMMAIhAOKZ5e/O+NoeezI8lfx3QB1Ffs/Lre+z3ulZCX7JU4e5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbZD+RCRA9TVsSAnZWagAADgIQAJWNuLym0AP6FL1Gln6a\nNCdP8pg3T7YfskcxDl9W3gq7e6fsQKQaX4YGb4zJ/BhAWdTV9k6ukr0MDsHh\nmP3iOl2G3+ieQxw74IypMoxk4DCUnepW+7n085MVtpPWAtfFjX1Kfg/GNF2b\nU3rh/R1nYfXXAtZhCMJLfABwMdjyQv5PRkPE9MDSlxzH+hIuWdZw+Pf/fN7V\nv5gRz4H1yPnX3APgJWDcoEavFEHNmByjxtBm84FbK5CsBtkPfsC2L5PSn67F\nDnGKXiW2D02VXzM/VMKyj2lMgXl9mzHL2lWhz6ZRgJAHLhE5UqCg1BW6RgH9\nDJy6oSW6j5W6jWVlbm/J6vy3Ik8NIEIXoClGDXpw2jDcLCJzscIhxLB8EFU7\nvcnNGa6xtIc/JimS/GF8tPIe4bAO5zZWtEenHD3GnC3D3PkDkOCVry4gu29d\nkkoH85e5x0MhbhbWAo/t9K0oD5xOvoLnBpT/KGv8PHde6U/vCjBxWgYx3Lu3\nwTTK5yHGGvElhXEPaRx6KanoXQF54I1N/5zVgWxBFcjiACNT1GqsmetjrCqI\nWZSSFTbT9MW4z2+SNHnQwZdZkxvDZVEeIvrCGIzGAoBA5OmjLsm+4EmCr5ez\n1R99nVmwLIRjQEtxj0rpie/EEqOLCdZ4+bHPsqWMmu1+0mRaw8VSYHmXKJGS\nX9JR\r\n=mLrK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.0.1_1533296529215_0.36263527405749163","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.1.0","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.1.0","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"28f75f7c5ad4ae8ad434d01e80ed296001966788","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.1.0.tgz","fileCount":34,"integrity":"sha512-2Nbrxsi1CQspNGFna8QRKSFoNEEpRCSK0Ldy157Y/whepLYv0mUHWhti5IabE+LksVRh5aRqPa8/l3sl7jgq4w==","signatures":[{"sig":"MEQCIBWs/ZweNNWaGIycWN+3P129WUy0NW10wmEtx0WMyzRPAiARDqz8qyRg5XHH2bECtVNu7znAqWO34oMmUsHJQzUcGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbVW8CRA9TVsSAnZWagAAoTEQAJJU3JAg2bpB09CT1mpJ\nTDxQrbkEAUBVr1MatWBeNYqxKrgC7NxrDlnK82+8FEBeLSk4BJmNf3c7D2AO\n8IBCqF++fYB7Dd9l+i92buC0duVMgUnsiKmrTZfgx2aNQFuMH0IBcGFejXmf\n020c2xQudJO2XneAgj2s8dPz4rF1oaD9mDvDdMebjVRpwO1LPRY3gdIOPHue\nBrhiE2iWiPXiN/yNqf7VTOQo7vob1GMjC/AkIDmpyuUlPUJNzO0SiaoCynz/\nbM8sVoOSPJIQVf6lFMHlncO1PIUb0oAInl8jOnwqFfI1/9lYF4C00N5znoVc\nQ6bAMK+EhpOhw8RH1ntlZWq14htnp4za/GrkiSv6ijwUmkKci/450vs02BHA\neJDr1UDepqB4fNCRMs9Iqqar+ogJrvIIKBNVcz7eE/WC8ESJwlA6DXtfo3A5\nbT/3HFeS2oka3F3974IcNAXLibqH9OVUQJlZ9+J5K2B0CnrLAtg8p69kvOFV\nMa4lYlHBmTieiYaOsggm6LarQrjw6ZUFC2mQHoUJDsdMdTEtL6RHbw2u0H/P\n9areoE5jF8xOEMyUKuvmr5P+F4GtbWRjk4pWB3muPeZhhDfgmq/YLVNHFE+2\n0V6J3tx5gdA2OS+HkEJVIRPFs2NWeqItUp0cBKstOsmAHeAImnk8Mb/AOesD\nF/Um\r\n=Y6W9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n#### @axway/api-builder-plugin-dc-mysql@2.1.0\n- RDPP-4532: Data connectors table methods did not display the proper type for the PK \n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now,the APIs and flows will use the proper type for the primary key.\n\n  \n#### @awxay/api-builder-plugin-dc-mysql@2.0.1\n- RDPP-4929: Remove unexpected query logging on `create`.\n\n\n#### @awxay/api-builder-plugin-dc-mysql@2.0.0 (deprecated)\n- RDPP-4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### @awxay/api-builder-plugin-dc-mysql@1.1.4 (deprecated)\n- RDPP-4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies.  Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions).  Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.3","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.1.0_1533892027832_0.2930612277051834","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.0","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.0","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"a94929d316294a850d5818f07bef554c314d21ff","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.0.tgz","fileCount":34,"integrity":"sha512-acgDZhM2rQtUnn9P7wDtX8YOjZMkIwtYzLV/9DfR/qhSJvWG4P4qb1FrRtVm68uD1fHyR/f7K3OA2gwoxBmobg==","signatures":[{"sig":"MEQCIHN5zHEuR5kWAHUUqFx1ho4RrzkJhGoCJLbLqjoSgHDqAiBm57CywiwwPaFOFUK9jGM5ZGm/7miNG1d8uyK+YiUR2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdTjDCRA9TVsSAnZWagAArQUP/2Uims0iH5eGn8C9pFcy\nBqS+QXbrIetUhZYY6HZn4r1CrV9dJhVQoNAdZaX+9EpjNUEgc5qh32lY+tWf\ndbsIC+jsowU9B1vXnl6gDyHxD3FY1plrlqXVWakk8iJMwKffOdAwJ1Ov638z\na5LiVl1CEiXkFo2dwLcyguN9JxwhcGnIaD4OO/qtiqUHp8L7fyc/6pQILI77\niz4sANskh8eh5HQBGbkHwYJpilIHZIcqAiEE6Yz8uzMs5V7P3ISTINFRq2aM\n40DK5jdBqdPsMLLGwz+2NNv12JOyIWzVbtoS2hl0/XN1dDjYebcCl8huM2bz\nnRqrIE9koYNUw2F6zRm7HRhrfQHBLek6Qce+Q+5MpiDgTCbNdIvlimcWUXDP\neyA18l4KtjoC5lvC418DzuWj46sDE9tCmyQJ34AFktoFIbxhLf1dRhGWQvTt\nvZRY+eweeHCg01MK+7zSMVDAaiBmsrwQ1nKj3uivgLjGTkFtq5r1DUkWxxNR\nzM4WHWGaa3vZ4lDUzsaY8MQ8JnAtDxBuMoDaywmXlmQLsYpGeXUjFHlINxwq\nPvt5pwUx2H3Wud8m/iRjhxaFwgAj+VRMYpyL0lSFC4x6beizUJKE9RBOKw3d\n0AnXlgienqss+qJ/Pl1b5F+zdPcrXl8Tkztf01SI8fggTOU8ZOP2FDfV0mKY\nAvJX\r\n=/Lga\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","files":["config","lib","scripts","LICENSE","README.md"],"engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.4","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.0_1534408898976_0.13938492632494226","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.1","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.1","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"7c282e6247cca996ad8af84974046bbbec1c859d","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.1.tgz","fileCount":34,"integrity":"sha512-rGTgM0beEpI3gsOvZ6nUQnNNuYNbwN9DJVYNUC97+3CVeHQvao5f48u7ty6wRqWAc/64R2xuNV/EaFs0eaaRXw==","signatures":[{"sig":"MEQCIHG4IgQQ+RJJewl8BCG+0dPXfxNwuefUDWOdv3fO4aGgAiAacPQKyhuYdsgN5z8bxgzTeDJyF+ubU7PEuJ5nHjxj2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkSoHCRA9TVsSAnZWagAA+LQP+wTele966ixYg4cAFCgu\nto/NRxG4rH1+q/dGwVQKcaISiAdwMPuYVjcIu+PruLP5IHgYpXITfVMPvXCy\nL7y91Q8Ol2ntSeMWb8eG7o9ZGuhHNiy+BCO0+/8POPYAcxu1zGmdA5sCOYl2\nbNOkFGBBbtWK2rcJ+tQ8No4XsihH8Vhtp0DjyW+x34hsb5oFGnmP5eBWxfUV\nC0pz+WpccJWmb1xsS64ameOVojkY8UEAWbg+qgsAv3qDvdujXonPSNahv1CI\n4+68Qfdy3dqUrK3HER1e1MDqjc62Tflv26ipK6Fhng7CLn5kc6IucmNiAEIM\nWAb9w9daaQ2mvvYC5gQNoyiNLhYA6n3F9DzQsEpzxPYGzvcfhfqCyaTldAiK\n35OL6sH2AZ8IZ3o7sY1Tb7KC3dyGgNB0jYodkdzdH1RTR6goP5KSj6KZ6uJ1\n5qlLyFggWFPiKxafSagIf2M4Jx2TffvfV6NYFfXqaIhtHfrRjJ5/9IuBWEtN\nX6JAl2acI2q+h6VxHLGIkyj1xO+JknqD1x0u4XDmiMz0lCmdpplqioyiJseI\nx41DN4ReYsP5pHzC4JfWifjwhC2zk+l/qPpbJGy2stJkAw7IAo47ztBWwZ3i\n89/xfgFPzfUogyY8/uIaVQUwkhhco1fxpSjgVAURyiq/qlP9IZItBolGMzDL\nMSQJ\r\n=yDRv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"5.6.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.11.4","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.1_1536240134188_0.6107039770788358","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.2","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.2","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"187b68b0b4f08d005132ec195a92a20a0b2449a5","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.2.tgz","fileCount":34,"integrity":"sha512-v/hX/t+AC25muHLkismvE6CoF2dkrQZ3qDtfGVXaRG7Q9yELuOhpKqg/qBi/p+7dnTWoIJy61PtRZO6sf1gCSw==","signatures":[{"sig":"MEUCICE0zHzPb1oyKb3BTyMp1tcInDH2xKIHs1qh5t4RtQHMAiEAk/Aiq/24T96PLUC7ppeL8Cut3W0aMasr3aaea/Nygno=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6rq4CRA9TVsSAnZWagAAQi4P/A34/65wiXV5G/UTgfLQ\nJHgM9lElROJQFYkieIEqMLnGjG6J+gnR0+BJEkWn+QTFhrOjACj3HA1OcJUU\nYdSGAyGLDjyIT1oKA1AV2Lr8kbY1wkpe5wzUkMv1q4VCluUK3Or2RBpc8FWV\nZrSxdEsDpGn2IpYADYDjcST5vaNAoRuwaLPLt6cP9vzHEkOlxLay/9j+L03/\nfMSMNZjxOhTR6mNeITg7ldE3ZVWDhCaFeQkcr656hkjpaHi/Vs0EHdE6sPwB\n80iS77Z5mQycal5PdClF0GmRLg48NxT/OT6vAzShI2U7EeTMTbFqQbCZymUA\n3lPFdlZrSXdjFyPQh5PYpYUmdVHv69BJUmuSG3g44eKMV5VUVz1069LhjM8N\nMTofIJCLQmEckCx8PtJal69xXoHa9fMlFX03OIsXcKj6QzBDjZf9ZENPXdUQ\nEyluwrwY4JsEq11CR5XhIrzQuMml5VxNPWkI7Owyw867k0Lx89FzVJLiyByD\nJ76sVk8N4IgherHdZKxGfOrEJFTgUUc5PZCk5sd3aqKAe1gEBMmdQX4LG/N3\nBM1O9v5tDhatZv2IpJLAo+kxYXe47cMGtvZASWAg0JBoby1kaKJqULt7svod\nO6ze4CfR37LE3oDIWfM2PEtVVqKkd3dJ9W6cIEmMKvkt6ihgKOWk+2dO+fvs\noybW\r\n=5Pu0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.2.tgz","engines":{"node":">= 8.9"},"scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.12.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.2_1542109880052_0.8724322811202112","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.3","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.3","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"ac4655a8e507af34f81f929272ef18d92b3ff07c","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.3.tgz","fileCount":34,"integrity":"sha512-2MGX7TidE+CAuktQ+xH+AKMXfUGigPp/VC3lWwcBoGwJc56S6RXCWrqN9gKJC3Ol1LAKSYZVaOMhlL3LskqdwA==","signatures":[{"sig":"MEUCIQDoVlo/BhVltCaSKsqcIpM21qDdvT9RUkhq2sJDR8b12wIgcBIqZ5UTQ9DeDqM1A3tvBtJD4r5EYmNHj/VYewjQfDc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSyoqCRA9TVsSAnZWagAAv4AP/2DfvJlxpMJvJGGgmxcC\nm7gum9zYxilo1ZqdpX5OOoVVSZKms8UgKwX/QR3AYvQlB4VgErnGrJ67xlhz\nZe4V7eRWWbenBRVow6Li37GBOq+eHyg9tPGGG44e8RpvAwYE8QtpSTa1YjVB\nGvuGagDEKr2RYKciAkIxcG1MbvDGSDe1tf4ZJg0Bqv+Xdwj5evy3gohlmHcy\nYgNXvtln6TuHIHGjgb7Hfz2U3tom7Qq/Wf2vT6lyXB0L0dOgx1tL0fsIIVEl\n5R6wYBKGIXgHAoHjRKvxc8Ia+6VxV9acuZDDJwsLKJvfEOFVTGcE1isBXtW0\ngFzmbZL1kObCAXj7+xH1IsvXClTZrYZl19R2If/Eae+/dvk2KZdiaWQxHvCx\nlnlIaxQzgd+PNXRZF9UcGJuM3wUPkJTCihNwR6QMmVF+pD5V8TktNfhiaYmZ\n2E1qtdDJhwv/xjtdGBbY2xv9F9RKkX9lICqQmLOqU1ujd0mxDOaQTuvLDF8i\n/U+Ayo5RgykkmXTLg4AMgrIEJRJkrrAgc/KM3/tEJ5cRq8e4yug2TFbr47rM\nOMdgGEv1kue2Skgqf/smFJcF3o8TXO/fWO9t9Fm4BSSovWJghtsmHqRmkWXw\ncw27Zrjo9cQ+DTOcTAWiDDN2Phjmq3lMdbI2JtC4ffr2zxmR37Q4JlT/6f+O\nuZis\r\n=DOqu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.3.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK \n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now,the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"0606cfaa67a01249e643baa202faeab60e2d3f99","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.15.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.3_1548429866237_0.09952133189287027","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.4","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.4","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":85,"branches":85,"reporter":["lcov","text-summary"],"functions":85,"statements":85,"check-coverage":true},"dist":{"shasum":"400110b5c27e37a0b4a0ad116a709e1514d77cca","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.4.tgz","fileCount":34,"integrity":"sha512-3h2UtS5z0sukFm/nJonOZi4iGcja5se8zhtB1SiKbikMHkcjGx2TNZbloRyG+a67/7czEgCENN60fpyOioSpRw==","signatures":[{"sig":"MEUCIQCzNWA0D78vMZSW1+pcX0LI5Dy06rr4Cf1aC1N6snjUOAIgbA6153vBEkhGI5s82VguR6JR0PpFrzy7DIGOnQ+1vpE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSzgkCRA9TVsSAnZWagAAyogP+gIJSSV0Yq8XcI0Bgv/m\n2/tnvkjk5fgaGkEuKuLPsuk2q/wKg4+u1dQiBiLzf/tlDjE08qlEjeTM5TAL\nt+KcHRdrwTQkkPAblSgRFAw61Q+ec9GNzgpdUwrLB4/iCsKcZskyz77TQnAd\nau703T/susSfrPyn9kx/pJf0LBjViuUgXlZ58mTc0OEwq3aeICxksrEkWA7z\njYzWwsikgTtoVUn+EwCWVlNtMq9KOj94+Jq6ea26ChcKaSttMtdR/hA2OZ2x\nmvvD/L85S/sYmbR/uo0Sm9vau6PgHNFXzVe9T/x3SXQw+q4Y8CG/pmRDFWPg\nZ3+glVcDmkrrWoKPa4voQwzv8xfWPuUJAkj6CRTdIqNOsw2rSHZCgUhN3UI4\nyyDkcqAds38oU2rvDdb6y1HwWFYbulGm3YhlP0sZPWxoXgDvZQo0nWEE3w6b\n7bmwOwYWGF7Pt3ZbBfGpvANq4e2DsbKQRl7kHXD8+Nfr9nzdHeY7rGgZjMQe\nhxiltrPA6SNV6V0mdXdtVVKpBylmzF7h5k4nI9mjfJJJKaZc1pWALjKXoK6m\nU0EpJiU2btIK6gSGvCRgKv35EKKmKjDTQJo4xZa3Ne0V0nGZI9wiQ/jUXxpR\nsrUCyAZ7EoaQ+5dIKpOZtyPD6Uiu6UB232YMc38pWJLzswaKUPSjO8DIJBi5\nENAO\r\n=6g27\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.4.tgz","engines":{"node":">= 8.9"},"gitHead":"4acfad047f2c6a2274d7ab9192764a4f6ccc5581","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","posttest":"nyc check-coverage","build:dev":"npm run build:lint && npm run test","test:unit":"cross-env NODE_ENV=test tap test/unit/* --bail --coverage-report=text | tap-mocha-reporter spec","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.15.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.4_1548433444241_0.43498551153619136","host":"s3://npm-registry-packages"}},"2.2.5":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.5","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.5","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"3041de5da3d098785aeaabc38539ed3bd0b536ec","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.5.tgz","fileCount":34,"integrity":"sha512-QNbQfnijdzx8LRgYbLrYhj1w49OHXmqWQswHubK9fddu7yjEPVa3y9e42uNOci859fwqcYiiX7rtOgiu6Xw9Tw==","signatures":[{"sig":"MEYCIQDZNQhR78b/X0Wak15pMy/ErLJb5RPJ6R8gnDCibznwiQIhAMS8K4pJ9w46bbxPeIWAYZCejd8ciF9rWIUFbpownLXo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1cY8CRA9TVsSAnZWagAAudYP/RfDF7xzYttjNvZ8aiKj\nIQKlr5TGu4yI/h8DutoAAgeBDbwL/HNlL/WnbJNzN6gtev0xAY+0x4LMpwiU\nDl18kWCNAEFbTOjoYS/NNNTii10b5DZ6h0QsAvagLwj9UHbhh/1vnjQg3r/x\nxEYjvDzZjBVfcTru04h0N9ALa+xFyph+wCEuzfsvi+RKoY1y/IrvLUyOnSbM\n0jXdybAFz7EY7gMNYw4iYf5x4KwSTgGJA+CVoWbD3EsWZfCUKAiaMzFDW8qN\ngyidq6+6MFpNlimbyjeXEggqLbHFNlx7pSjKfAKIrhmij1GmQfPyRXRNRCNP\nGQ7fN55KPI76FD0blp+CwwAbbYacuQvS7iUwk/JS5R7Qh8ZYbtuLx7E6vDd6\nNLugpVZTuUFl7y1Kcb+xNoobv7MEq4p/No6InlnNTFo1X849NN865/HrlzOR\nIAguLkhgXop7W7ryOkBjSYydeDf7viqrbu2izydS3A0fRY/iOWonN95I/PgM\nIizNBw+8n1HgWphj7bVs2XkGLCkGTvy9Iw9qKO5/hfy6xRBCNAkWj2HDr5Kr\nfG4P1k+L3jRyU/L0tL9P7GbkTqECv9u50RNXFiqvo6qW4Sf2yK3Xk5DL9O/+\npgPGR/torBorQiLNooHWbSIx6ugoJfiV7br9JdLkc1wSsLUveOLL5nYN26wZ\nTwgX\r\n=98T5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.5.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK \n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now,the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"1ab8dbf479681b58af7d05ab55f9550686cf7ab2","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","build:dev":"npm run build:lint && npm run test","test:unit":"nyc tap test/unit/* --bail","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && nyc mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.5_1557513787953_0.03668110326920204","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.6","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.6","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"1a0119c6b5220179adde036aa5b696ac501a63de","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.6.tgz","fileCount":34,"integrity":"sha512-HH+f3KEqnqftU8QUQ69gf42j4tqW82csy1ViMEpo7zWrv/BtWOJpbfRfYsDA89gizeM0LdlgBJCO6nUSzY+vFw==","signatures":[{"sig":"MEUCIGTtwcJpD9tdr6UZzxQ6ouzb1gZib5NJEUwPFAyzOVMbAiEAtMTcZ5At+ACmugFmEhD9cXbX2FCqP5XRu6qNe/G6Ogo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2ZFNCRA9TVsSAnZWagAAYd4P/jZ1vf4mpmxct4t+e1nR\n38dGV0Mz4F8u4nr/2yZoOw1Zm/CnP5qqKzPiWHCefFCi4/y5+dmz+Kvhg23+\n2bp9IM/tBuU5leecFD60DODNh3/hzv2BbNa0OLapxHI4cW4yoACbWnq7BfK7\nbuQ+pTiZgGSKWuLRF9yuRLxksPs8k+e2FbrfMFahzrRu4veL67FyK+aQCOgK\nPHGXCU/qNMWLUfjMRaN0QBpm36OYGEClYAKaqwnhIeLVaChU9uWvaB/V6F5y\nmt++Q1wSwUYiCuKOKJKIQiMaE4h97x9rR1NoAYqlVJ7gBmluzNBh3dOnpGz9\n5vGTS5zuFWcak7837F5PCFJlcGt3Bq+TXlo8O8MJjLn52uNDT4ie2yxcvcy2\nEHEdaFUCa0TrdcXwZZI8F4c1VDuiTERbv4gt2GugrlfjtlLHZkjZwDKAmccs\nY7eVBuods+Hd/ADW293SUe43IV5WTRK54sL3Z1KgGvS3OcYd7crHGqFRGyj2\nMgd3sjAW1ue0KO/zPvJv3QV4TJNC7layzwuhjGQyG8RlshxMybkoqzzTO9Hd\nTV7HIIo9W0OEd8unsl33YvdZ8wXpAu6nZxxxjvdAs1FQ+8i718SEOQWF+emd\nfQVrU/2tYuA3otYQoleruqK7ODvgSByr655xXTpVy964ZCMNgCa6yO84U3O+\nojxi\r\n=lfLz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.6.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 2.2.6\n- #5709: Internal changes to update eslint rules.\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK \n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now,the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"c62cb1347c50bc90ae0361829d5a6b3973e15044","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","build:dev":"npm run build:lint && npm run test","test:unit":"nyc tap test/unit/* --bail","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","test:integration":"npm run cleanLinks && nyc mocha --colors test/integration/*.js --recursive -R spec --exit","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.6_1557762379973_0.16179801135479877","host":"s3://npm-registry-packages"}},"2.2.7":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.7","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.7","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"a9d1d6177a27a962b54e16ecdc862e941665666e","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.7.tgz","fileCount":34,"integrity":"sha512-w6lAlseHDGj89XW5ZcHKQpuQrKjmYKIjaMN9xmsm/qkWQOibzSzRaycxvG81gAYdVHrBgecJJ5U7YjhxBnuxQw==","signatures":[{"sig":"MEYCIQD98A3LwnNqQQsxApXKpR43Xf7OIKnyl4bUlEZa+tji8wIhANxRQshZwZP61jg90ILfBf0GMknDQRk2O6LsDR/v1aJj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2rKyCRA9TVsSAnZWagAARpMQAKBw+9YvVvQ6jnIixIIs\nBDGx9iSjvvlwnFM0P3hhcVsKjjfSu1AAr3NBZ42yW6TlUNOlLA1nyviYo7ng\nOLxYK54Ykc9fgxtsWCq9TYMbEqArlx78rs9dhZUmbBYywITgFpMrYHLEzv0i\ngHYrDk81gaXCyP/gJ/wImfpyQt4MWYXDwvXSla0cFSz4/aAQ/KawPz0TJJsa\nurA0IWhknkc0MOAK2iYN5LdMTZdWWjv7+JKIQ8b6p5+7DVoy5Ylb6+tvQXb8\nJErD2oyqOHI/w3iOgxy1RzwsixqeRuujbdeTRiBKxIOa1l4SonFb8Lj8Uguq\nLzaEdHfH3zcyVd7oh2ORtD2ga6EgIKS9U5hro+d6g1N4nD6r7OMVa5iK8U3K\nyNMTkn8n1lLoj5VIdj2t/1tYnGWoBxUo3WlL+AHbm/hjSOOkXEnZQPU0mkpf\n0DoXCxB7hFzfRpm+SgBCxX+iXyxiMwDqDTxF9iJ+dlUOdvXvA7SmGQIKTQ98\nFOAZSoZ77GAc15cEVBAf98Z4nBImRzwfs5+Vpr7IkLOUfpt2HuTs8DvAOiut\nHYQjPDB6kP1XuNQbgUNfD7CVVLhVYsFAqbbNOoZ63IafDcbPa0imJP24KCE2\nYVVqDy5NxF0NWy3lDaNxZH1+/xACuUR/cqsnVVKnFX3nRoTuSpXb2EnN8Aui\nv6VL\r\n=xB59\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.7.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 2.2.7\n- #5715: Internal changes to remove integration tests.\n\n#### 2.2.6\n- #5709: Internal changes to update eslint rules.\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK \n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now,the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`. \n\t\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"1e7c9326cd13f2211d7c162baa70fa89ea58c2c5","scripts":{"test":"npm run clean && npm run test:unit","build":"npm run clean && npm run build:dev","clean":"shx rm -rf coverage .nyc-output","build:dev":"npm run build:lint && npm run test","test:unit":"nyc tap test/unit/* --bail","build:lint":"eslint .","cleanLinks":"shx rm -rf node_modules/api-builder-plugin-dc-mysql","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check || exit 0"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.7_1557836465662_0.32383489944255484","host":"s3://npm-registry-packages"}},"2.2.8":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.8","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.8","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"f35c4b49858255e4d1082f3225f20d62035158dd","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.8.tgz","fileCount":34,"integrity":"sha512-C4+oYIubNvaanKh95A3S+7VBb9T8n5KHE+7DA8WyQ4TXVLuNR1bKhodZHqF0w6+Gc/e/UrwN2ZM49O5uhKUzPw==","signatures":[{"sig":"MEQCIBA1lJIwzc3TRQbGfbwRcAZrARbRj75jWCpfUei5HOmkAiAT1Jn6qg1s/Ibgs77sg5SR9gAeDJf2BLFLS0eyO980Qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5VuDCRA9TVsSAnZWagAAPrAQAIEUcppirol5bZyl7p6o\nOink+wolOkf0jnRyQj/2wcS3a/Ofajz6JeG1GaQrclQGoZm/XKrLAdVzJ7RW\nIT0q51513rC5gssIxLYfRvXkErZfnkIGpZ4swtc6a5/MHTKdeLQC0OwFreTZ\nozR/2fLfefplawoXIYk+LAWPHpr1Z7PEwtv0PCZUj3P116+soU5m6IQxn7sK\nVl+4FyACLQx6F1LFbOeUyQAIYi0ukeJg0udhAUeJSTzF2sELoqoDkEppV4fV\n/ZWI9jAQX+IdW+79qOWyLql3Brpe8RrLh7J5WNP2kG2TrWMnmoUZYv+Ckb/B\nKzkWMcCfM6w9KI/Q+F68P6RshIFlOMuDALUHK648zmbSBKjv86n2+7ZQ9cHr\nLHBPMXULjYpTbXM8gos6e0io+437eZ5irDFw+EiapmfDyD8UThjhRj8tF+Jb\nRetm0eFBZZ1jsgB3jHPmQwEuk9GsDo5xmuNUEBi3ET3WHrAaCjriOWwAeQZw\nJDea+7/xM4MMn7Eha9QNoxwuRiUhgWbfyiifOIwapYYuU7K3gLBNtn0hJwy+\nnnlHGJ/XsxIoL2Pluzd4Kzgpk8OCQf08AycP8NyAKlZwPOH9zDwpvKfc95Zw\n2FiZ1Um+nlndsxUaMZ+lJB0q5lH34wAKoyutI34QH0hl2pXhLesTbdlG90qO\nJtPu\r\n=rGJN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.8.tgz","engines":{"node":">= 8.9"},"gitHead":"efa6ee2c3beae11da58794c25cf0a8e7b32c87ee","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.8_1558535042876_0.1832241515317281","host":"s3://npm-registry-packages"}},"2.2.9":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.9","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.9","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"74b85b66370ceb8c0af9c3393eee94a9e0c42ceb","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.9.tgz","fileCount":34,"integrity":"sha512-ShkfWIhJ7zqYlYaNPvgD1m93h6BvSee7b7FuxaB2d/nSUwe+TwZUK0sK3jFtesO9amWUOJhgoNLnG9sSKcZPuQ==","signatures":[{"sig":"MEUCIQDnQU5x2f95x/JZef671rHDfzWzNZWQtIOPKPvS3gY7kAIgEsSRGs8rjr5fjSgPHQpQOqXQdJC/2ug26lHkAWpVV/w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc678eCRA9TVsSAnZWagAACKoP/1uTQQqFy+LYw3YjDjbW\nveKpUkVU6r5HIjBDarciSrFqxjv/GqNNJLbKCO7liDyl4/qabngS3XgKI+1/\nu3Fa1K+lxxl7IeH/WlRfnoEJxj7+njDA4UcktfAtn6FhRJ7dXe39l+9wwmcS\noGnt+dNumCmjo5gE2+AmMIa2ModKIsOzMH3KXwfArLqXFT8xcG3GYnEFUPMy\nIGOzaoJgkoHRAj3Vf58OdWvBVH/VGrQPmwWxlvUEYmjO4UA2bL9mT0VWxY1H\np8/t8SJODHs6cv3l2VDOvUDFnvMARzK2O+xxBhMkW6hJ5FZhtr2WSL05En1/\nHJ35NUIZfpPTmw81iYBphwy0BaKqIJWQ0rATWC7UaGrgRNcFp0pBxlaoqnOr\nFO0oPqwlwamm18QC41ESAS9mNBvdNDMRCPgKmh4RML7aPYuUHcAO+q9a1yT1\nvO0FemYFt8Atch/AKpOtgtaedGIXL3lG/6I3YtxZv5+nQerrL7Wh9FkRmN2U\nHbFevLEuCh8K8Qxs/fJ6Sx6JMyZ10T5osejLe6bIrnhgFPRkTjdKLZGuDenh\nlam7DUDyykLJF+QytmaOsfewDJZVZmD/37P5wOT/83zibjI/InMI9n7wqfCA\nmz7sVqHvX9g6Tis8O7XZe2piWtiVM4TLsybtBcOE654ext71uAY1CzgLkXKG\nkIvI\r\n=aiZZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.9.tgz","engines":{"node":">= 8.9"},"gitHead":"d553382028a910c7a1e51f5d6ee4b7c1e66345b0","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.9_1558953758127_0.17477643034801393","host":"s3://npm-registry-packages"}},"2.2.10":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.10","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.10","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"ivivanov-axway","email":"ivivanov@axway.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":94,"per-file":false,"statements":97},"dist":{"shasum":"16443e3658f465b367fb72c67a33bc3af872f11a","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.10.tgz","fileCount":34,"integrity":"sha512-GgPDMrrOzXu9F470MYz95Ig2hBoNNsK25lactMoHjBMnL/mLk1n5Xf+6wXB0c4eeOoOU1oBx71hfr9HT/FouPA==","signatures":[{"sig":"MEQCIHhlZSahWCgR4lvLda++I0n6/RuT3UNMqE9Y2fA/LbEFAiAFtsAo6lsc2r6bL+OTcq69lqtmw16p0oUXiBr0KTNDIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjfjvCRA9TVsSAnZWagAA9ywP/iVAWqK0CCKxTAEGMOP1\n42PMBXZmj9L9LSAT+lPRV6D3/J9h5qQObajHpcFJi74Dsmqu1AXpBcuNdZY7\nqWjVP8u6tvgPTZ3GTLs1V+eIXtEhxAnnhs82Kr8D5jeX6/veSXN+8dRxi1xr\nwXrgjJxEO87D+sRFgLF8glUghvvS5QQePbMDXm2n7WooyCpvSieZ6SnKevrs\n7g62w4YaeSso3ly7fE5jg53yt6bLEVA5EgpdUc2vEiK2d/ruD9yeN/cvcLvB\nwiXOVKMxgS718hFiC1FjsJ4goxwQVJPALCwoEG28sReZKyENyyw12/Bk/hq7\nchoFpvfq83XW2z97F370gxSpDCGhK04awaFj7VV1OzrbPkYg+eEMAk0X4obb\n/WPPjEdoECYciYqgYXNClwSiGg6TzdEfcmHoCsldv/9AvuFCR1BGZHcn1Amr\nz8klrq86PQ58UwOP6hFveG6r9CtVgM6XOOAWh+B4acet+SFGkH0Tbz9576hY\nziNPkY2digetwoCGXOnvPEYNT3Aod9gSMKAh6gUDP1Y72NhYYUbqQeWnGadu\nrLxe0B6sa4iFZLKhezM3qaxnYS9ffFJb+esjQP0xrWX+5Dr0slQ4DuQhuDy1\nHteQxaDGSbbDOYhNhhqW3sGtqrmr8EpP5UIWHZ68gsfx6OAlVENlcFLo4JGz\nwCFA\r\n=4lfV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.10.tgz","engines":{"node":">= 8.9"},"gitHead":"743a4baacaf10fe8ba868ff98cf6a2d99dab4854","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.1","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.10_1569585391147_0.34517694495649587","host":"s3://npm-registry-packages"}},"2.2.11":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.11","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.11","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":93,"per-file":false,"statements":97},"dist":{"shasum":"7d4d62c61523b54632f59f44fd93826f1ffc0a1e","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.11.tgz","fileCount":34,"integrity":"sha512-n+nKwWaDeV5mfQ/LLSY3fZ/4LVZTSuGzv8s6wrby4Gxger8UuNIAqVN5HxEEObQAYyhtXrMBcLyk0p9Yn4g2Xw==","signatures":[{"sig":"MEYCIQC3azAuK07S9OIKoRsXmZqRLwN+QI6p5mpNkPV941j/IgIhAPJXLU68fyFsesqT5aKFwch5VC+OiblekGgeKh9sXa81","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxWaECRA9TVsSAnZWagAAH6gP/2zxv7vg9GNWcVMFrFZX\nl1noFMZ3cQEQIZCl/q1Ky7KxkYDloiA3sNC6jCTwZQYjNzUnj4Tu6s2+0rlg\nHFkA/A1BrvXs68hJDYqXjuvAQh0Bx9BWEqhniXWgYEDSndysqw3bNVwoeZGz\nFabGewx7Kb+VGZzvRKChb3bQx5tk3Jw+3tqk/tQImGK2aT4lZlaqKx27XI7r\nIl9da3BZIXJzBlkP0nn4KEzqQWCq89CVxyhptZlk7g+0w6sbwIRbbhkVdCK6\nDISGu8vZ3RqALtR4GoJItsieDQD08L2teAG7pmUF+LqkOyAs47LfKdyuZV+x\n4tO9DRdQBZ96SPDYPnQpof9ftrpdTJsx/CK6K55wzug00DLMeKVO1hZ1BOy8\n31bfLakhbpcPOvdXpAMomUQUm6uM5W5gXGk+ycyQeEBODqtNmbYwS4ORooL0\nMUT+JP33KM4jaMdYWypDNX2fxjXtJl33AaoKWRJ4sTn1BO5om1Iw8Wc9trhs\n9a01DJHOQejXMzswZG7JAUqqnNrOhZgrb/uwAtOpOBeMs9b4i+svDtIQ8t2Y\neVVbfEr9HbUczOUN5615A8Vwf3y+ca22L5yMpBZ7Xorg8V/K3474Hey1lLdW\n2r/FkP6Wr68VI7uN1nNUCJqUWZ1XD89spiHMJNdwFvtkTiEHZnyyhSapiOSz\ncg1O\r\n=E7h7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.11.tgz","engines":{"node":">= 8.9"},"gitHead":"76e1c432b1fa2dacf0c6544070a7ee84530b36d8","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.11_1573217923745_0.612722022267058","host":"s3://npm-registry-packages"}},"2.2.12":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.12","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.12","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":93,"per-file":false,"statements":97},"dist":{"shasum":"83a9f6920a3a8494b9cb50b554907c00e0578d86","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.12.tgz","fileCount":34,"integrity":"sha512-Kgpnp9YZLF1nDca/hZ37uIqtVGvcrqEIT0aHdBjiNl309tit6h5eHLBxHmgr9ZZxwgNFXo+sEVl2i1tJSfivGg==","signatures":[{"sig":"MEYCIQC2jqt6jBtazC2ArU2izUj7FroRwPgNH10tO69GC0lN4QIhAP5NHqilLhUYJvopYKIxXWtQp6vYdayuJcALdsjongcv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3PoJCRA9TVsSAnZWagAAfnsP/0hSP3Q5XmPICywRtbGL\nAHznYPcEELo65t6B3Uo7MnsEGyMAjkAoB9RjbSdfGjmB/zL5tDWKU8LjCnxZ\n1ejp5jViFdc6sgEYKEsyqiqKDU8bnNFR+8DScidha0/syOhmXUZIFzfBIcWr\nHux1lHosc1O3oMrDO9nW0QW85qRt0cpwhvAnjKGWh/80jN0W4DSEjNjPLDuy\nFjaUre1U+ysK7frXPoRqdsBNIPMn3m01/oFNU78wYURelC2aPQdBjOZnNDlh\nwmh0RZvwthnQlggiyCMaWY55bNfqMPU6rXyI1t+Ihh3mcXeHiZIbkUTrfK1i\njQFxI3Y7OqfW5wnAOt49xIYUntJE5zAUhVxj9HEzcNS/86DzQP7nlMaZK/yb\n0t/PbsgBbYEBCmABR+g2pAo4vO8hqreGzGjoIfew/bEMklPn4WuzFm837vSc\n8o1KcgRc75V8qi6BrWoxvGqg2TgJJYC259JyAmWkUyrXtOuMn63tZ97agO6c\nUylImTfT9Sg7jvrUMP3oqI2fsesUWgCOC35ObNCKvyt21IlYgEEar6JbIBLj\nSNVCmL3zmAo1AHgAspQsaJ5wum2ejPuDAIu4ixyrkVCQbDK4A0rVp9OSRB79\nRT+Iwq3sfa+eHLbPZD7RmO19D6WLZPknNMC0z34aEkT30lpUFcxXdzEtUEZg\neHZw\r\n=EO49\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.12.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 2.2.12\n- #6115: Internal fix for Sonar scans.\n\n#### 2.2.11\n- #6105: Non-primary-key fields named 'id' are no longer filtered out from generated Models. This specific fix requires at least API Builder 4.17.4 which introduces support for fields named 'id'.\n\n#### 2.2.10\n- #6074: Internal CI chore\n\n#### 2.2.9\n- #5700: Previously, Mysql connector had an inconsistent error message for no PK. Now, has proper one.\n\n#### 2.2.8\n- #5711: Internal cleanup of npm scripts.\n\n#### 2.2.7\n- #5715: Internal changes to remove integration tests.\n\n#### 2.2.6\n- #5709: Internal changes to update eslint rules.\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK\n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now, the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`.\n\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"b7aaf85e2382f16ea1b736b7206f695864cb3784","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.12_1574763017037_0.3707495757293131","host":"s3://npm-registry-packages"}},"2.2.13":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.13","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.13","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97,"branches":93,"per-file":false,"statements":97},"dist":{"shasum":"58ccc0df4c6598d2beb9d8aa04cf7198622a0b54","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.13.tgz","fileCount":34,"integrity":"sha512-tVzjIuZqdDg7LTwjmyP2xx73IkcurOpr6K6gxEdJK9dSW5ZSuwEziwIgTWL8yKY3X0hwrIfEhytkIPBnFUynHg==","signatures":[{"sig":"MEYCIQDo56jiQgBrUBLV36FPpw5mNxjm8mhQmSegEyxFXuPP8AIhALwoSrBQZkkoLYFnwpTfqTPWVlaWKtFmhFsxrCJ76R3E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4PkBCRA9TVsSAnZWagAAoBUQAKCsf47fl1lCsrNLfUbX\nNFsy47/+s7op2nL3WbFJVSpyVywTFrlfzQzQEHzYjZJKgu5Re1ms063QDxs0\npehdu4JpVePUwRDsI7Yov6Apr17Ha8J9i3kAn0wbxJX9cEnqZe5EqhnBLAUJ\nmrWMm5AO1N+Eo9sneW7mUaqoGvldNhbyABVIKQM2XPqjSLw2yV0x9XLggN0h\nSSg0p0sbV3tNGSJ9Pd/5ZIKi0qjI05kP1fFjComKddQIlzhugVfrRteucNCa\n0kGqwQiVDqrFZxiNeoUVWjObXyRd83Jza8UYuz9uMfzjsSPP/hvirVIWco6T\nzReclEal5vgsAWwjN5oB43Hp65uajm9LkyrrS50ZsiJWWXjqGUT8oD6DvnDK\n0mXvYJzpOwG+t1SMPGJwXvpVmU6SDlhhXJGkHwAGxYONxlrtB0nJ2heitlvv\nvgafDc0MrjkDXrtASdolgdy9jIUpeZ1cEqUA+4DoxrY9jhJMmeqCPVV4uoD3\nBmfeYI4Uv9IT4TAY1fdkD17UO9cdZWPBlvOz/7ozl25rzLhH/DpJqysXGUVY\nBh3Y5XX0wgWkTizAhH3I6ylDaC/wsNEJ6L+RQztUuMHqVcUfZ9GqAu1U/Vt2\nejRJ8PVAV75DGeHQFHMuLl8SOdWUpQ4d19KDVUy6OCgth7z/aJu00WwT9tUQ\nHeh0\r\n=PTZI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.13.tgz","readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 2.2.13\n- #6114: Refactor code for style, security and performance improvements.\n\n#### 2.2.12\n- #6115: Internal fix for Sonar scans.\n\n#### 2.2.11\n- #6105: Non-primary-key fields named 'id' are no longer filtered out from generated Models. This specific fix requires at least API Builder 4.17.4 which introduces support for fields named 'id'.\n\n#### 2.2.10\n- #6074: Internal CI chore\n\n#### 2.2.9\n- #5700: Previously, Mysql connector had an inconsistent error message for no PK. Now, has proper one.\n\n#### 2.2.8\n- #5711: Internal cleanup of npm scripts.\n\n#### 2.2.7\n- #5715: Internal changes to remove integration tests.\n\n#### 2.2.6\n- #5709: Internal changes to update eslint rules.\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connectore advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK\n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now, the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`.\n\n\tFor more information on the Model flow node and the methods that accept a where clause please see [https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html](https://docs.axway.com/bundle/API_Builder_4x_allOS_en/page/model_flow-nodes.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","engines":{"node":">= 8.9"},"gitHead":"98687f704ce46524c8ac2130a300e74148f33b5c","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.13_1575024897317_0.4434527610329535","host":"s3://npm-registry-packages"}},"2.2.14":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.14","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.14","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"09331b5db240331bc156cb95a09ebf2d737e5df1","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.14.tgz","fileCount":34,"integrity":"sha512-UJ5PiidCnQcK2uBhQZco+O+hrA8cSfWcbZH1uXYXFSFSqU77MvQZgISSrY71zrYqKEjbx6r1MkIEgP7ElfVuzw==","signatures":[{"sig":"MEYCIQDFpo7xo7K9e/xUb9C4o/0+w1KZviYxbFODkrF55vOnewIhANj2l76dopzC/xdiVUhdWCTqZnVBIcQFsxKq1/sCdnRH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4RcOCRA9TVsSAnZWagAAxPwP/0h8wFKmtzikOXBqZyGE\nxJaW/aLXivR7xk6nOEp/FImdyigN3clJPc1Qzqzxe5LFJVhNEFhvcUbgYNaa\nxfpPJN+pfO787qwyoUjTdcDQRjhsO3dusARMdUm/tJXOasfnu200ZI2utYjZ\ndldNqmnPjvGF8Fgvv8zXQxSXXRdP5y2Q6myI0iRARdzLz/b/lPZDiRfITLyN\n7YRILMUXbjahoQya2L7XyYXxdzta/qvzGOJVCGjUaWSeI7G0SNxQFoW5b7Dz\nWMQdJ/eqKlzLeSfzjQbcL5bjJJCXJStnqKSp27L8UzoTDVFJsXG2ar6kB/Xw\neFUvLkl5UhDeEDpv66InslcKBAfB9AeZcu8JzyLy6+gVgQbUdggf3HKXz0S/\nra0HBBtufBb+vmKQOsXmOCv9CGqfDEF4A/ndAFAhf4zes0NXtlT4uHHINNsB\nwxmuMCLlaji1l5PHvnZnppU/q6YIbY5aidyiAnvtyvDww4HkhHo4l70q3JmX\ni4u1GlWEVw5MobDHK1RW2eAL5uwgptj1PEZT2sekRWdxdLbyvAt/+853pPIm\nYBKMG2nrEGYsFEa56btlSHCAri/WF9CEQBG4fUmFheUfYOp9qM8K3ivK2MMk\nZSAW8IiuoJINIRp8njV5/OOqngEe9uxLM800wFU+TW1dKBFY2FOCMFzfIA2s\n3Qw/\r\n=Q9YK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.14.tgz","engines":{"node":">= 8.9"},"gitHead":"84d1d4a46f11909e17dfc654438ea869024b921c","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.4.1","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.16.2","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.14_1575032590408_0.42040761155888573","host":"s3://npm-registry-packages"}},"2.2.15":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.15","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.15","maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"vchauhan","email":"vchauhan@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"9625f27c189aa30a39bbfd335b28dfdc6fae5b28","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.15.tgz","fileCount":34,"integrity":"sha512-KELZ3KWfEGupx7rf9xi2IoVosX8XGgFGb78/hIOo9wc9Y1oR2xLj39iwOxJSgjJmZcGj2voBI/5iikWenfctyg==","signatures":[{"sig":"MEYCIQDB38DUhj4y9pP/rjYQx5xy/Wy83v1QyC4LTf883/DVDwIhAOIn8N1RmUcbmXHunxuCPF9WI23OoNOFQURaN1Kh+tAT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejYJpCRA9TVsSAnZWagAASFwP/jPIz9e6jbHkgCkPZHKy\nIGVT2qaQnEvj/xX5K0Kr4rLrEjnNOygYFEYORTUR+9wt5kP08ymN9JcQZYhe\nv4NzWF84nbRR9nOZGTp/GSXDxUvq2e6PUMY1RxwSRyXV0c/RLwYAggL2geVo\nJuWu7zI44mYet3zqQKsJlAuLL4C8u8MlCqv9ljbbiuFMfkcdgJwtIf734NJ3\nofXM7zPiTi/vbmKdtMjQcgdMSZOz2wFAgdhfZGesGhikBciPC07QKiKoZDRX\nGQHqXVVhLtjDL+L3IUupWK0h/nFhqzoDac7CpQkvRpYJQdPOgD97ME1PWZJV\nOPDuQDnkwwsKdMy7g2kMa6wjXy+GFGUnPPUwXU4kgl8/+piPXQhdhi7lzA4p\nD4kgl+P+bM0C7GrYOkOonMHY8NSfDBhJm5rlYgczXuBVE0JfDO0+u0Oycumf\nuU34eW0Syeoapg0aq5NxPY95KwLh1ouf8XQApDN2aDFuI8ELB+1iEUTMmjqH\nU81gykMXj5aJgTCg5DXmKdGt/NgPbhxfXvFlcD8zIGZbkiGTdy9kfAP43njh\n3Hjdf3oGFOA6EPeo3ipyMiiItXSakGCI3vpJHvHm1d/yHouQCQZWVwgsvuBv\nGn3v2eCgCx5YXueu6Bt+jRXAaPNZ3BJ8pYqhyNjNkxii95E9eYSjB7J8qG0T\n4vQq\r\n=gyVr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.15.tgz","engines":{"node":">= 8.9"},"gitHead":"e2a495c05f8daf8ceb6a13a6b51e8392c726b88b","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^5.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.15_1586332264938_0.9972675722220103","host":"s3://npm-registry-packages"}},"2.2.16":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.16","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.16","maintainers":[{"name":"cdobrica","email":"cdobrica@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"3ee4afd0dedab1a39742ad07c1bbb93afaf7d3e7","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.16.tgz","fileCount":34,"integrity":"sha512-ZroPW6Awu512ni7tL7le/NRL8WC46ywCmoiGyv09+JzGdYfSYZ30/K0ckJhdn22V/YHgzJUzepsGlIdOjTlHbA==","signatures":[{"sig":"MEUCIQCvOmHrc9YXrI/HW2xKFuepsKEtxjoEPGRDow02v2h+agIgQ3gOHKN0W8WUoWsVAjW4xbec6WDq0SFt+RtWQ1ZerzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpnljCRA9TVsSAnZWagAACOoQAIUvwHm+jPFHNx72UOSF\n2RYYoWqFPq6wgC/3h9v6MUEhY+WrjTQYIyjTyUrI/yu41mrBflz+mAa4hmpe\nZQYjmeuKkCiC56aPvuUGQPYzkZ5uCaCFYEcXq3ROKvTHIj3Pa5kjXDwMcO7g\neSuqr29Xfnf1NsxL6UrN11KzoiKmg7ekrgQkgxgWMFzG7BsuUXqwW8naMk8I\nne89LID7d8P/E208UDA+6+aNRmiNQgm/EUCBSiC9s5gksbEZffK2sel2r3/f\nX97i35i82Bu/yM32ZM71fePos58J8CeZ2r2sks4vNUqCf8HhNDHbkQQ5Ebcs\n8C8jdLcGKISx5XWPJ90ev6zbc60oVlYoU8mXRj9CrpwMhvefgQ1fA0rmJG7I\ntEfey8bVCTh5xUGpobs+LwL2ZQksUAJ2vSoP8aovtnugE55G3lygVBxDtaBA\nLFSt7QBU7AVzW7Y1RSpqG+VB/AaDvmKmGi/nrIa+qWFil2gk1fQmiaIKa0Td\nPSGe23DMgFYR2hPEug4nuvXzNijcnuMtJFNv/G16Q95jG98ofXbcOjyeO1Cb\n4DWrT+TO9co+vgHXCG/hnLSIaKG4LgykV03My+JLXS/9z3DKPJ499h/y4/xa\nK46W2tgMBOgny9vbKoJ5yBrtQru7Rwi008IRoDcHPjVUMn3TqCxsbATCuNQC\n/LFj\r\n=fTBM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.16.tgz","engines":{"node":">= 8.9"},"gitHead":"bf5b07016a466933efef188df249551e00ab1592","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"node scripts/copyconf.js","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"chalk":"^2.3.2","mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.16_1621522787161_0.25608276757609794","host":"s3://npm-registry-packages"}},"2.2.17":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.17","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.17","maintainers":[{"name":"cdobrica","email":"cdobrica@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"7128a78b98a17fded24825f61c813e009f0eb36c","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.17.tgz","fileCount":32,"integrity":"sha512-SRIi3cXglWEFpUaCQVSKb3gioxYvVmzLxEJicBc+Y0R2oWYcRohGkCLxM2DYD+q2vYMZ2YY6rQmazLaOfrhxrw==","signatures":[{"sig":"MEUCIFVwtG7sa7wN9v8Yfm/nXAlNb4LhtvUMgGmiKX4gY/AmAiEAyzf9Iw2OVCsXApnJnSisRMIbRyvDlht52GCPDixP80U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40406,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyfk4CRA9TVsSAnZWagAAR68QAIzfcaVj2ua0yQ+8pp80\nxdbxDzcW/N1sWLsdPFiyauk13cz6Ze3F8IQlKgWL46BfotX8KdEOLi0YPe7k\n1hl10DNCbU79SfTmUD7qEZ157KZL/ba+GPQPduvVyOj4BWGwZytUfNixxDyA\nZwGuMfA+myGWW1xX34t7tqginRIXTe2yVJyDZvV2lJGhfies9ELTr/IlQmU8\nF9OpL425/bTC1uZ5Qzdo0FeN8QWU8jHaYmGfGJi9N6Iwc4YANAxSW0fRqs94\nIbucjfVACT8lSYBUjFCUd5nXT3cnprpeYeBCEkAbx42omm1wlnxAnWd1By7s\nzChttHLqquMays3tajOxBOd7nSx19cTdwL7Ucv4HhQqvokfFb3lvJhX66fPq\nDRcEsymXcwgfj7dr+LZ1iZu6IS3r20vZc2xWezyMn49Xmu60VsMjnu8n8khy\nRp/BPnc0Lo4+/89cuKxyk4X++sQAeHvf96TWHRzTQ+gib42mOTrie1FEK8Eb\nkdCdd37BImk1m51bUzBbh+TmholD/Vqyt2gH0kArZulqZTaawxfpNgVPhZ5P\nlL7PmR6YEy1/fUfTV6fH+CY0GUG6MXtAmra4uGqUIKPzGoHT+0/82YthUPQB\nD6wIPZ6EYspVrIOcMxqlz9vOx6vTBm5+mjViAiaS83nC7SwH8zIfevNK49Ed\n33+W\r\n=hGAH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.17.tgz","engines":{"node":">= 8.9"},"gitHead":"8a1fc524c98e5f437fb9e65dd9e019658ac7ead4","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"^1.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.17_1623849272546_0.7003179653357647","host":"s3://npm-registry-packages"}},"2.2.18":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.18","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.18","maintainers":[{"name":"cdobrica","email":"cdobrica@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"pboev-axway","email":"pboev@axway.com"},{"name":"jvos-axway","email":"jvos@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"5aef9de75117b261282242e19c5e559ee3844d5f","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.18.tgz","fileCount":32,"integrity":"sha512-Gf1y1o+V3Hb/Nc+q4Z3qLiZ5W055N5ekqbcy2aahUqUiq2PAOu/cQ5RH87T3hIDrc/K5zDAaLlXZ37cfqzJsVw==","signatures":[{"sig":"MEUCIQC5f6vo4ZueGtYm/uctsIC7+O9wYUtAvxjQnKJinx4WPgIganVJK8tKRRZEE+kqBGRmEhKI/E4Exfka7vk4LsQc5yI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3F07CRA9TVsSAnZWagAAttAQAJUpcAxMM6vuMFk8/+jx\nCaU4hNjbQ7YNwC3uCcGSZVdPMcCk5nZyHcJxEkFbZM9U2QK5QlIX6TpSPRFl\nA2fXDXC1Kvw2mBQLg0pKevHKdKXsHHVIxH4lDqXO2MiDvZWMfaaU+xu66rJm\nAfW75FKsya5S11XdZWjgCsaZuLw20z5ayctQ8NnWNV63vb4Bu9H/8XM7OAne\nHbttIjH5ZsRI4OIhjqw0I/gYErg9d0AsV6NlfYl1G4r48Yy8yMaLnfb0yLEK\n8ylhkL10Ca8ijrHO+JppgUjPLIzZMvudYtLPdK/+oCA1F9j6Weww+18fl5Ll\nOyKITs3je+Kpbrp9MIeTQnXHSt7fJsQFkWQcny0T3Fd0YOT8g4O+0RJUgjCa\nBvObgZc4G8RXp8A2PMs3OsMWDCKx2ytdeO6BcDJAO30liCDfgcWzNwCk0uAM\nLgGrIqOfF7xbSUl9ErTo9JGzIi1BATFXaEEh6/xoHDanir+qyJ4tAk+FBM99\n235H9sdOUCClD0Zd1MPmOQX/yB/chQWy0tZJtJogMvxrQI0cfJNvgC4P+OAj\njQ75Bk+Osd24+oX83J1LaQfUS70zmXvRXP+zl0PhKX6BJxuJS4UyyUxJM5xw\nyfdrDE10pqiekkocrVnN7YUknB6FAV+v4TftTZP+e9eVUFsNGtHSu1MkwG+n\nAHOe\r\n=CqBp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.18.tgz","engines":{"node":">= 8.9"},"gitHead":"5da063a3e99ae764900279a1d45abfca9e11e6fe","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"^1.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.18_1625054522521_0.7393615777258638","host":"s3://npm-registry-packages"}},"2.2.19":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.19","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.19","maintainers":[{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"axway_darnaudov","email":"darnaudov@axway.com"},{"name":"ddimonov-axway","email":"ddimonov@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"cdobrica","email":"cdobrica@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"42096b8799c97aa2825ba431eeb515eac19b137c","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.19.tgz","fileCount":32,"integrity":"sha512-dtNDNQSyKXpMJ2hWzWRSujf8MZR1tQANAGYtiwtuO4yoOspRYF1+xNipu4xZig6r+cYuWXRHFzYWkgWxICnvDQ==","signatures":[{"sig":"MEUCICSXr87ZBCti6Ag2AH1tqtncVJiQVbz2bZHLw0bbsH69AiEAnTqzN10RNT5NWYS7Kpjve7tOO1uCvGeAH3AkKmKtZxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40742},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.19.tgz","engines":{"node":">= 8.9"},"gitHead":"85bd4fbecef09e48652560f456095783c8090671","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf/","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"^2.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.19_1632413592944_0.7455153747399881","host":"s3://npm-registry-packages"}},"2.2.20":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.2.20","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.2.20","maintainers":[{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"axway_darnaudov","email":"darnaudov@axway.com"},{"name":"ddimonov-axway","email":"ddimonov@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"cdobrica","email":"cdobrica@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"afe2d003b8d827065ebc623fa52a5679500d2b98","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.2.20.tgz","fileCount":32,"integrity":"sha512-Ov7zHBEgqqlhxOK6DOw2kZV2kmxy725j2dgyBhH2nVZxfuJLV3CbChrZ+mgJ6W9AjbcpRJzc5e88TtEMTf6nCQ==","signatures":[{"sig":"MEYCIQCl66iiM3gI15rZ/qb+a8NglcR6xdfYIgHTNCUIT0uGAgIhAOD3BDHH0f37XjLxiWnCqlw+gJF3Sz4vlWhQ6i3xb7vZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzG/GCRA9TVsSAnZWagAAJY4P/j8xvn2d6X0Pnt/5Hc6N\n5h0lIOJjVClUXW+2l6WCD6CTWslfmTqJSyMXPB+ZK7qQATdx8o0EeJs35HZ0\njW83XPr/4ZIrt34gR+0dnCheJacLZGv2v1OIPyJCq4xFo0yOIBcDDSz4J+/9\n/r+nrnwAOVYGcNI8yJ2rqBBcFfWYOPSaCPR9L4euirI3ZkoKZAzEn/WE4jWL\nX7y+ZtKAwocRhvFqA9tqXqwR8uu7nqpe3zYE5TdxwJxx1NaJ6gSUwaHvODcQ\niA1cZR66A0vWmhUGHmL1fUlEPCL1b8nM+7nGuQ6BHXN80kpSLJKvWRb58Eq4\nQkwODSZSZVGGXOEhJuWpBW97ogw165KZGn9KRwPrnHFY7dFB320v68K69Pbl\n/s8ms6LFt+++Ns8zZEu12a3vXITxbgOf/NNqCHC42tWOGYEFnfhB3iKGfGOG\nwH0joSSCI1X5c2O7CV/OJthAnzdmNN/CNbx+9lnS9/d/TRq81Vno3pFuJRHy\n07sqQMd2YkXblkV6VANQE6jK4gBHOk6pIDBnOIJ3+rI4M7MKTuuqgKIzcWbs\niLUcapRbXghYRQsizPnm++YRBQJ3896VbaR7K6uSX/0sfxVo2b/+FLZ5kC1a\n2euiYf3luqB2oryRhDSFk9XC7FurtHbctsic3pTss40EFucbbtw8Bn1tknv2\n1afN\r\n=ip65\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.2.20.tgz","engines":{"node":">= 8.9"},"gitHead":"ec32935c81bc7c2a1e9ff313d401db14ad7116ce","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf/","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.13.4","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"8.17.0","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"^2.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@axway/api-builder-runtime":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.2.20_1633700413902_0.5860382284473735","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.3.0","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.3.0","maintainers":[{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"axway_darnaudov","email":"darnaudov@axway.com"},{"name":"ddimonov-axway","email":"ddimonov@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"cdobrica","email":"cdobrica@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"a27e9b5923192cd2815c0e0a93704474f0ce04e4","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.3.0.tgz","fileCount":32,"integrity":"sha512-zeb86Pk0jKg8MVxep8xoR3zRaNGwf0oZo3gvoWfxDelC34xiyy+PnPgGsC8dMr97iPPOmu8+UhW6deu+mq5ofA==","signatures":[{"sig":"MEYCIQDLjqgup01CTSfUJ1JUDHKpDo9DFLHMKJ38D/Hx0k5hkQIhAJQ7JB8eWnYnez+OF3u3KSPmserjmhmeXtS2HzSUt7be","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTdUDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCZA//VevuUE7zzZyGXBQoS3a3MexQC5rA0Ag66pLHtad45tfgVq21\r\n9krbVeKfqhUkZ/b095bn2k6FeP4jrlrJO5h/5xxtF6KF5iF91p2PR8CIwxL9\r\nt47rvCjv7AffD1QZQOIFfqE7yf7o0sW9SvpWHcbhn2zQa8M8HBv5yBQgbb+Z\r\n4Zw7Uthn07+Q5/K+zRxDDGdOwv7FR9ax9Mg6xvDSdViz93i6k2YjW7MF2Qjo\r\niZ7vorWGjyEeG1WV1DYwYuAbp4AZyx/+jxri5ZPdd/Nx4u1/XWQTN++aYxZp\r\nrdFAgeWVWodGhosezB7W8zKa3jNzSLT8iuyW4rY8AUh3D+CRc6ickOPW9fsz\r\n527QdZ0VOtyTLwf4EovHhqSIwvabuwMk07nxn+DPQJAhuz2UF0Mmx+g7h3Gg\r\nHmoMUFUfRJ/+JT9vlnofL1zTRFjzRx8Kp5xgqgAGs3WkW2NwAdnQRTD/KFOI\r\nD7iXfZA6/3EEtZa+dbl2wtp0Q65oMJ3tus9VHXAcCQNG6531UDJGKW8CNFQp\r\n9SCtsf7iCFMGBQaHSVfEGVyAn53yD1eiChtp81fGFZpCbTnC10NQ3EuwU5KV\r\nQSw9nnKsq1LbcJ8snY/Ko6VnI6VUG7KAQW02ECZADHotG4bcwUFtDTieF3N3\r\nDXw5g43SAM10ojXO30TS34Qn616IFbrC6oc=\r\n=u8gA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.3.0.tgz","engines":{"node":">= 8.9","apibuilder":">= 4.0.0"},"gitHead":"8cb351825976a95bd2aae73e1cdf0ee69ecd3170","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf/","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"axway_alasdair","email":"ahurst@axway.com"},"_resolved":"","_integrity":"","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"6.14.16","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"14.19.1","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.3.0_1649267971152_0.6998685426865041","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@axway/api-builder-plugin-dc-mysql","version":"2.3.1","keywords":["mysql","amplify","api-builder"],"author":{"url":"https://axway.com","name":"Axway R&D","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@2.3.1","maintainers":[{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"axway_darnaudov","email":"darnaudov@axway.com"},{"name":"ddimonov-axway","email":"ddimonov@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"axway-vertex","email":"agrakhov@axway.com"},{"name":"cdobrica","email":"cdobrica@axway.com"}],"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"5df71a4a0163d558afcb3fc381fcc2a47859cbb6","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-2.3.1.tgz","fileCount":32,"integrity":"sha512-wf2naGBFbHgXkEuh7bFZxh343rbPVM5IYlZNDlN569lENCy3wGs0Y0xvE6Nhrkg4fWk0qFT80FwpFaK1ZBS4BQ==","signatures":[{"sig":"MEQCIDz//AOzz/k2Ke9oE9RwQIFepyNRuujxAmAyrm6OYDZOAiBJ/s3C9NtZ/fbcGFlw6dADnB7DaFqTeJRB5OWniaIpiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisIoaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLtA/+LRiAWRIIRFDffRjy9GCLcKEXT0SnsM25WlcFx5p290GOLnXH\r\npGPSJEMpCQJO/o/XBUWPkeT7nNsAFgkPfC6MGfbf6bgzeJy7XqPIifgRZImX\r\nc2wGvqOT1rqh+n8xBRq65evwvGa0Lbmg/gPQDmqIZeJzgkuLdfLWt+YVGNub\r\neqpinjL7BYOpNJL+hjtN93hT91cqmEZrP0K7rqnZIQ+YP2uexTEUpyvDCbVt\r\nCKLTe7spYLQzVXCb4h6FkqMNu+X/QKICz1bRtADULy3+8+cG6bJtXwPb7HGX\r\nayLu6KeCZR2f3OAOzNkJGoURqaPbLGrHabHeynGRcQkqlqpwZAr+Y+TFAZM0\r\nqrqzhfEn7BqsQl1O1m/kD3GcUYJu3Bdc9eYzYI1ik/nt3kBcjZsdBWP8hCOF\r\nFMnkKN9v/UqN/RHKQs1Wkts4bsMJnQpS171m+Q1TImn1pxYqOTWKjwZTbStF\r\nXBf45kk96ptwqsjlYJvfshhwb6j3fLnEwAhiHqhkdKpbh9W+BfdR0rhntWSe\r\nyAoeZE1ovCz77W319BpebZqIfATbCsyQce+Rfou4gw+DQQMadvIhlMbL3RPr\r\nx98FtYv1vgFutEAQ6+Do+nyqDeFvKBVAdMVSnlV6IAco63YAlOw5VqOBN1xH\r\nUo1AlTH3MIMfRp8tBqk8ZGQnkqHjCP0Qp30=\r\n=Kw+h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":"file:published/@axway/api-builder-plugin-dc-mysql@2.3.1.tgz","engines":{"node":">= 8.9","apibuilder":">= 4.0.0"},"gitHead":"6c3f7532c3d202e58e6aa7a1ddf35142dd750fd9","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf/","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_resolved":"/builds/amplify/api-builder/published/@axway/api-builder-plugin-dc-mysql@2.3.1.tgz","_integrity":"sha512-wf2naGBFbHgXkEuh7bFZxh343rbPVM5IYlZNDlN569lENCy3wGs0Y0xvE6Nhrkg4fWk0qFT80FwpFaK1ZBS4BQ==","repository":{"url":"https://git.ecd.axway.int/amplify/api-builder-plugins","type":"git"},"_npmVersion":"8.5.0","description":"MySQL data connector for Axway API Builder","directories":{},"_nodeVersion":"16.14.2","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_2.3.1_1655736858445_0.2929289614052164","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@axway/api-builder-plugin-dc-mysql","version":"3.0.0","keywords":["axway","amplify","api-builder","plugin","mysql"],"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","_id":"@axway/api-builder-plugin-dc-mysql@3.0.0","maintainers":[{"name":"nkeranova","email":"nkeranova@axway.com"},{"name":"axway-npm","email":"builder11@axway.com"},{"name":"cb1kenobi","email":"chris@cb1inc.com"},{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},{"name":"awam","email":"ewanharris93@gmail.com"},{"name":"bladedancer","email":"bladedancer.gavin@gmail.com"},{"name":"axway_darnaudov","email":"darnaudov@axway.com"},{"name":"ddimonov-axway","email":"ddimonov@axway.com"},{"name":"neon-axway","email":"cshantakumar@axway.com"},{"name":"vchauhan","email":"vchauhan@axway.com"},{"name":"mdimitrova","email":"mdimitrova@axway.com"},{"name":"pdzhorev","email":"pdzhorev@axway.com"},{"name":"axway_alasdair","email":"ahurst@axway.com"},{"name":"pltod2","email":"pl.todorov@gmail.com"},{"name":"npetrovski-axway","email":"npetrovski@axway.com"},{"name":"pbozhkovaxway","email":"pbozhkov@axway.com"},{"name":"mbonchev-axway","email":"mbonchev@axway.com"},{"name":"axway-vertex","email":"agrakhov.work@gmail.com"},{"name":"cdobrica","email":"cdobrica@axway.com"}],"homepage":"https://platform.axway.com","bugs":{"url":"https://axway.com"},"nyc":{"lines":97.44,"branches":94.09,"per-file":false,"statements":97.48},"dist":{"shasum":"8d05523d26e7404732efc21f5d2fcb103ba9c2de","tarball":"https://registry.npmjs.org/@axway/api-builder-plugin-dc-mysql/-/api-builder-plugin-dc-mysql-3.0.0.tgz","fileCount":32,"integrity":"sha512-yU0rak6hX38jNSE7U4bk3DTCHsmABjOEKN5bS2HKtttdWLYWSPBTA1nfTnlK4tyZFZNyudYF5YSZDDpHWw1oTw==","signatures":[{"sig":"MEYCIQDG8F50PFwfwNKf27noNOH4f4C6nYCeXuhrikegedlJnAIhAKLKsiOK/G/zM57NWBVyxymKBOtKsIcgwisxUTyxlyYK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG1hCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnHQ//dRppnCpkRrAJBVlyTefpMPraYil63SlWtj6WnAvXJi9GNXZS\r\nYRJ348DVQtFWjE/ZRUZdMjZ4gwdWdth7CVhqY/4zVwh66Zq9SQjd00IYiFYC\r\n6uXtSt29YOBnW/aSAjWVq0n+lIkdekXSC46W2LQfrg5o4HWBDYyopzK7edsb\r\nSHf229CjpmjNKBTurE/nJpz+KE+D3b8j5j5HpVJlDaVwRoAjQqefrYn4LJow\r\nfwy9VJAGTsQhaEL8lHjpdmxljP6rr6lfN0Zr931IUAraXY2Bhop3HFrOhilW\r\nhL+2S0vJ11kRFPf442z7d+9OOCMitct74coGBOMFW8vlZ/WcjvDVR3Nzcgf4\r\nHDUbVzPNS5bY1TtNPFzndkfKRbTTCbwcxDFt3gCfNJ6dpg+cC2IOq53UeFhl\r\n4VapdHjSvm2GVEjOsSeiDZXgkxsBfWPWy+e4RYdS/XeY6zpZdWc/h+BlKLgk\r\nxsAylVntw69n/0EjCvlfB4qBAV9o1yypr+Ngmhk6Ofrlhuw2ICQFXfu5rqAK\r\nOjGezUOHZMjjDWxI8cFMfjMA5bnkegCzLpHDLAx9YbFCxZI8TZRygd7pTUHV\r\nV4EKtFOKnHl1wUnnDf0t/F/RhaM+P6kHRUiMjyBXRUUJYQmr0+VVNvbD86Yq\r\nw0lMeGAQCLiLPIDhS99Gz9d9MRE7DS0MhLE=\r\n=sbxI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","engines":{"node":">= 16","apibuilder":">= 4.0.0"},"gitHead":"6897fc91490e48b16876f5ab78f4cbe4f1ee26ab","scripts":{"test":"nyc tap test/unit/* --bail","build":"npm run build:lint && npm run test","build:lint":"eslint .","postinstall":"api-builder-copy ./config/mysql.default.js ./conf/","build:lint:fix":"eslint . --fix","check:dependencies":"npm-check -i mock-require -i sinon -i sinon-test -i simple-mock -i tap"},"_npmUser":{"name":"jamie.peabody","email":"jamie.peabody@gmail.com"},"_npmVersion":"8.15.0","api-builder":{"onlyPrerequisitesBreakThisComponent":true},"description":"MySQL plugin","directories":{},"_nodeVersion":"16.17.0","dependencies":{"mysql":"^2.15.0","lodash":"^4.17.5","semver":"^7.3.5","@axway/api-builder-project-utils":"3.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-builder-plugin-dc-mysql_3.0.0_1662736450269_0.21768791948833188","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-04-11T14:57:44.337Z","modified":"2025-07-25T08:30:14.698Z","1.0.1-3":"2018-04-11T14:57:44.578Z","1.0.1-4":"2018-04-13T13:01:11.870Z","1.0.1-5":"2018-04-17T07:03:04.151Z","1.0.1-6":"2018-04-25T09:20:00.660Z","1.0.1-7":"2018-04-26T14:29:14.461Z","1.0.1-8":"2018-05-11T10:29:46.271Z","1.0.1-9":"2018-05-24T17:23:55.172Z","1.0.1-10":"2018-05-25T11:31:08.614Z","1.0.1-11":"2018-05-25T15:20:59.818Z","1.0.1-12":"2018-06-08T12:39:02.247Z","1.0.1-13":"2018-06-14T12:22:13.640Z","1.0.1-14":"2018-06-19T09:26:24.718Z","1.0.1-15":"2018-06-21T12:57:13.774Z","1.1.0":"2018-06-27T10:24:01.520Z","1.1.1":"2018-07-10T17:14:06.187Z","1.1.2":"2018-07-10T19:54:14.353Z","1.1.3":"2018-07-23T11:25:50.872Z","1.1.4":"2018-07-23T11:51:08.956Z","2.0.0":"2018-08-02T13:08:08.283Z","2.0.1":"2018-08-03T11:42:09.297Z","2.1.0":"2018-08-10T09:07:07.934Z","2.2.0":"2018-08-16T08:41:39.104Z","2.2.1":"2018-09-06T13:22:14.400Z","2.2.2":"2018-11-13T11:51:20.218Z","2.2.3":"2019-01-25T15:24:26.395Z","2.2.4":"2019-01-25T16:24:04.381Z","2.2.5":"2019-05-10T18:43:08.075Z","2.2.6":"2019-05-13T15:46:20.142Z","2.2.7":"2019-05-14T12:21:05.757Z","2.2.8":"2019-05-22T14:24:02.998Z","2.2.9":"2019-05-27T10:42:38.265Z","2.2.10":"2019-09-27T11:56:31.313Z","2.2.11":"2019-11-08T12:58:43.883Z","2.2.12":"2019-11-26T10:10:17.215Z","2.2.13":"2019-11-29T10:54:57.488Z","2.2.14":"2019-11-29T13:03:10.538Z","2.2.15":"2020-04-08T07:51:05.051Z","2.2.16":"2021-05-20T14:59:47.400Z","2.2.17":"2021-06-16T13:14:32.654Z","2.2.18":"2021-06-30T12:02:02.904Z","2.2.19":"2021-09-23T16:13:13.063Z","2.2.20":"2021-10-08T13:40:14.064Z","2.3.0":"2022-04-06T17:59:31.274Z","2.3.1":"2022-06-20T14:54:18.682Z","3.0.0":"2022-09-09T15:14:10.467Z"},"bugs":{"url":"https://axway.com"},"author":{"url":"https://axway.com","name":"Axway","email":"support@axway.com"},"license":"SEE LICENSE IN LICENSE","homepage":"https://platform.axway.com","keywords":["axway","amplify","api-builder","plugin","mysql"],"description":"MySQL plugin","maintainers":[{"email":"nkeranova@axway.com","name":"nkeranova"},{"email":"builder11@axway.com","name":"axway-npm"},{"email":"bladedancer.gavin@gmail.com","name":"bladedancer"},{"email":"ddimonov@axway.com","name":"ddimonov-axway"},{"email":"ashtripathi@axway.com","name":"neon-axway"},{"email":"vchauhan@axway.com","name":"vchauhan"},{"email":"mdimitrova@axway.com","name":"mdimitrova"},{"email":"pdzhorev@axway.com","name":"pdzhorev"},{"email":"ahurst@axway.com","name":"axway_alasdair"},{"email":"pl.todorov@gmail.com","name":"pltod2"},{"email":"mbonchev@axway.com","name":"mbonchev-axway"},{"email":"bchristiansen@axway.com","name":"axway-vertex"},{"email":"npm.modules@axway.com","name":"buildernpmuser"}],"readme":"# MySQL Connector\n\nThe MySQL data connector is a plugin for API Builder that can connect to your MySQL database instance and interrogate your schema that will automatically provision Models into to your project, and optionally, automatically generate a rich CRUD API to the underlying tables.  The Models can be used programmatically, or can be used within the flow editor to interact with your database.\n\n## Minimum requirements\n\n### Supported versions\n* MySQL 5.7\n\n### Memory\n* ~7 MB\n\n### Disk space\n* ~10 MB\n\n### Supported features\n* Automatic generation of Models from SQL tables\n* Automatic generation of API for Models\n* Full CRUD operations on tables via Models\n* Connection pooling\n\n## Installation\n\n```bash\nnpm install --no-optional @axway/api-builder-plugin-dc-mysql\n```\n\nA configuration file is generated for you and placed into the conf directory of your API Builder project. By default, we use a host of `localhost`, and expect user and password to come from the OS host environment.\n\n## Configuration\n\nOnce the plugin is installed, the configuration file is located `<project>/conf/mysql.default.js`.\n\n| Option name | Type | Description |\n| ----------- | ---- | ----------- |\n| connector   | string | Must be: `@axway/api-builder-plugin-dc-mysql` |\n| connectionPooling | boolean | boolean Enables connection pooling for better performance and scalability. |\n| connectionLimit | number | Number of simultaneous connections when connectionPooling is enabled. |\n| host | string | The database host. |\n| port | number | The database post. |\n| database | string | The database instance name. |\n| user | string | The user with which to connect to the database. |\n| password | string | The user's password with which to connect to the database. |\n| generateModelsFromSchema | boolean | If enabled, API Builder will automatically interrogate the database and auto-generate Models from SQL tables. |\n| modelAutogen | boolean | If enabled, API Builder will automatically generate a full and rich CRUD API from the generated Models. |\n\n### Warning\n\nThe `mysql` library used by this connector depends on a MySQL server setting [NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) to mitigate against SQL injection attacks.  This setting must be disabled (which is the default setting for MySQL servers).\n\n## Usage\n\nAfter you configure the connector, you can start up your API Builder project and visit the console (normally found under http://localhost:8080/console). Your connector will be listed under the [Connectors](http://localhost:8080/console/project/connectors) section of the console.\n\nYour database tables will be listed under the [Models](http://localhost:8080/console/project/models) section of the console. You can now click on the gear icon to the right of the table names and generate flow based APIs.\n\nYou can also reference the connector in a custom model.\n\n```javascript\nconst Account = APIBuilder.Model.extend('Account', {\n  fields: {\n    Name: { type: String, required: true }\n  },\n  connector: 'mysql'\n});\n```\n\nIf you want to map a specific model to a specific table, use metadata.  For example, to map the `account` model to the table named `accounts`, set it such as:\n\n```javascript\nconst Account = APIBuilder.Model.extend('account', {\n  fields: {\n    Name: { type: String, required: false, validator: /[a-zA-Z]{3,}/ }\n  },\n  connector: 'mysql',\n  metadata: {\n    'mysql': {\n      table: 'accounts'\n    }\n  }\n});\n```\n\n## Known issues and limitations\n\n1. Only supports SQL tables.\n1. Does not support views.\n1. Does not support stored procedures.\n\n## Changes\n\n#### 3.0.0\n- #6089: Breaking change: requires minimum Node.js version 16.x.\n\n#### 2.3.1\n- #7412: Pin in-house dependencies.\n\n#### 2.3.0\n- #6933: Replace peerDependency on @axway/api-builder-runtime with `engines.apibuilder`.\n\n#### 2.2.20\n- #7057: Updated documentation links.\n\n#### 2.2.19\n- #7008: Fixed the issue where the plugin configuration file is not installed correctly if the project `conf` directory does not exist.\n\n#### 2.2.18\n- #6934: Internal refactoring around code style.\n\n#### 2.2.17\n- #6459: Added [`@axway/api-builder-project-utils`](https://www.npmjs.com/package/@axway/api-builder-project-utils) to handle copying config to a project after installing this plugin.\n\n#### 2.2.16\n- #6815: Internal tooling changes.\n\n#### 2.2.15\n- #6315: Internal chore.\n\n#### 2.2.14\n- #6116: Internal cleanup chore.\n\n#### 2.2.13\n- #6114: Refactor code for style, security and performance improvements.\n\n#### 2.2.12\n- #6115: Internal fix for Sonar scans.\n\n#### 2.2.11\n- #6105: Non-primary-key fields named 'id' are no longer filtered out from generated Models. This specific fix requires at least API Builder 4.17.4 which introduces support for fields named 'id'.\n\n#### 2.2.10\n- #6074: Internal CI chore\n\n#### 2.2.9\n- #5700: Previously, Mysql connector had an inconsistent error message for no PK. Now, has proper one.\n\n#### 2.2.8\n- #5711: Internal cleanup of npm scripts.\n\n#### 2.2.7\n- #5715: Internal changes to remove integration tests.\n\n#### 2.2.6\n- #5709: Internal changes to update eslint rules.\n\n#### 2.2.5\n- #5707: Internal cleanup to code coverage during build process.\n\n#### 2.2.1\n- #5050: Updating license text.\n\n#### 2.2.0\n- #4724: Support for Models based on tables that have no primary key.\n\tPreviously, there was no way to distinguish between a model with no primary key and a model relying on the default. Now, the models auto-generated by the connector advertise whether or not they have primary keys.\n\n\n#### 2.1.0\n- #4532: Data connectors table methods did not display the proper type for the PK\n  Previously, APIs and flows generated for models based created by data connectors assumed a IDs were of type string. Now, the APIs and flows will use the proper type for the primary key.\n\n\n#### 2.0.1\n- #4929: Remove unexpected query logging on `create`.\n\n\n#### 2.0.0 (deprecated)\n- #4871: Breaking Change: Introduce support $eq, $in and $nin (IN and NOT IN) operators in where query.\n\tPreviously, when using Model flow-nodes and the auto-generated APIs with the MySQL data connectors, it was not possible to formulate a where clause to return results where the field value is in or not in a list of values. Now the where clause can use $eq, $in and $nin to construct these queries, e.g. `{ \"field\": { \"$in\": [\"value1\", \"value2\",...]}}`.\n\n\tFor more information on the Model flow-node and the methods that accept a where clause please see  the [Model documentation](https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/flows/flow_nodes/model_flow_nodes/index.html).\n\n\tPreviously, the MySql data connector returned undefined when query returned no results. Now, it returns an empty array.\n\n\n#### 1.1.4 (deprecated)\n- #4757: Changed SCM repository and associated internal cleanup.\n\n## License\n\nThis code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: [https://support.axway.com/en/auth/general-conditions](https://support.axway.com/en/auth/general-conditions); EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.\n","readmeFilename":"README.md"}