{"id":19874471,"url":"https://github.com/strongloop/loopback-connector-db2iseries","last_synced_at":"2026-03-06T08:01:54.457Z","repository":{"id":66071271,"uuid":"65228920","full_name":"strongloop/loopback-connector-db2iseries","owner":"strongloop","description":"Loopback connector for DB2 on iSeries","archived":false,"fork":false,"pushed_at":"2020-03-18T18:58:39.000Z","size":92,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-06-23T07:08:27.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strongloop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-08T18:30:34.000Z","updated_at":"2022-03-03T01:03:27.000Z","dependencies_parsed_at":"2023-02-20T19:30:56.432Z","dependency_job_id":null,"html_url":"https://github.com/strongloop/loopback-connector-db2iseries","commit_stats":{"total_commits":49,"total_committers":16,"mean_commits":3.0625,"dds":0.5918367346938775,"last_synced_commit":"aa647dfd0cc7c1e87c5cc9cdda0d154130d32b60"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/strongloop/loopback-connector-db2iseries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-connector-db2iseries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-connector-db2iseries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-connector-db2iseries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-connector-db2iseries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongloop","download_url":"https://codeload.github.com/strongloop/loopback-connector-db2iseries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-connector-db2iseries/sbom","scorecard":{"id":855550,"data":{"date":"2025-08-11","repo":{"name":"github.com/strongloop/loopback-connector-db2iseries","commit":"aa647dfd0cc7c1e87c5cc9cdda0d154130d32b60"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":7,"reason":"Found 9/12 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T23:49:18.950Z","repository_id":66071271,"created_at":"2025-08-23T23:49:18.950Z","updated_at":"2025-08-23T23:49:18.950Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30166859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T16:23:29.643Z","updated_at":"2026-03-06T08:01:54.435Z","avatar_url":"https://github.com/strongloop.png","language":"PLSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loopback-connector-db2iseries\n\n[IBM® DB2® for iSeries](http://www-03.ibm.com/systems/power/software/i/db2/) is the database of choice for robust, enterprise-wide solutions handling high-volume workloads.\nIt is optimized to deliver industry-leading performance while lowering costs.  The `loopback-connector-db2iseries`\nmodule is the LoopBack connector for DB2 for iSeries.\n\nThe LoopBack DB2 for iSeries connector supports:\n\n- All [create, retrieve, update, and delete operations](http://loopback.io/doc/en/lb2/Creating-updating-and-deleting-data.html).\n- [Queries](http://loopback.io/doc/en/lb2/Querying-data.html) with fields, limit, order, skip and where filters.\n\n## Installation\n\nEnter the following in the top-level directory of your LoopBack application:\n\n```\n$ npm install loopback-connector-db2iseries --save\n```\n\nThe `--save` option adds the dependency to the application's `package.json` file.\n\n## Configuration\n\nUse the [data source generator](http://loopback.io/doc/en/lb2/Data-source-generator.html) to add the DB2 for iSeries data source to your application.\nThe entry in the application's `server/datasources.json` will look something like this:\n\n```js\n\"mydb\": {\n  \"name\": \"mydb\",\n  \"connector\": \"db2iseries\"\n}\n```\n\nEdit `server/datasources.json` to add other supported properties as required:\n\n```js\n\"mydb\": {\n  \"name\": \"mydb\",\n  \"connector\": \"db2iseries\",\n  \"username\": \u003cusername\u003e,\n  \"password\": \u003cpassword\u003e,\n  \"database\": \u003cdatabase name\u003e,\n  \"hostname\": \u003cdb2 server hostname\u003e,\n  \"port\":     \u003cport number\u003e\n}\n```\n\nThe following table describes the connector properties.\n\nProperty\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; | Type\u0026nbsp;\u0026nbsp;    | Description\n---------------| --------| --------\ndatabase       | String  | Database name\nschema         | String  | Specifies the default schema name that is used to qualify unqualified database objects in dynamically prepared SQL statements. The value of this property sets the value in the CURRENT SCHEMA special register on the database server. The schema name is case-sensitive, and must be specified in uppercase characters\nusername       | String  | DB2 Username\npassword       | String  | DB2 password associated with the username above\nhostname       | String  | DB2 server hostname or IP address\nport           | String  | DB2 server TCP port number\nuseLimitOffset | Boolean | LIMIT and OFFSET must be configured on the DB2 server before use (compatibility mode)\nsupportDashDB  | Boolean | Create ROW ORGANIZED tables to support dashDB.\n\n\nAlternatively, you can create and configure the data source in JavaScript code.\nFor example:\n\n```js\nvar DataSource = require('loopback-datasource-juggler').DataSource;\nvar DB2 = require('loopback-connector-db2iseries');\n\nvar config = {\n  username: process.env.DB2_USERNAME,\n  password: process.env.DB2_PASSWORD,\n  hostname: process.env.DB2_HOSTNAME,\n  port: 50000,\n  database: 'SQLDB',\n};\n\nvar db = new DataSource(DB2, config);\n\nvar User = db.define('User', {\n  name: { type: String },\n  email: { type: String },\n});\n\ndb.autoupdate('User', function(err) {\n  if (err) {\n    console.log(err);\n    return;\n  }\n\n  User.create({\n    name: 'Tony',\n    email: 'tony@t.com',\n  }, function(err, user) {\n    console.log(err, user);\n  });\n\n  User.find({ where: { name: 'Tony' }}, function(err, users) {\n    console.log(err, users);\n  });\n\n  User.destroyAll(function() {\n    console.log('example complete');\n  });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-connector-db2iseries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongloop%2Floopback-connector-db2iseries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-connector-db2iseries/lists"}