{"id":37144092,"url":"https://github.com/zosconnect/db2servicegen","last_synced_at":"2026-01-14T16:55:12.870Z","repository":{"id":72862718,"uuid":"208420205","full_name":"zosconnect/db2servicegen","owner":"zosconnect","description":"Program to create z/OS Connect Db2 service projects","archived":false,"fork":false,"pushed_at":"2019-09-16T21:49:20.000Z","size":124,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-21T21:06:12.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zosconnect.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-14T09:49:47.000Z","updated_at":"2019-09-16T21:46:55.000Z","dependencies_parsed_at":"2023-04-08T10:48:05.625Z","dependency_job_id":null,"html_url":"https://github.com/zosconnect/db2servicegen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zosconnect/db2servicegen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosconnect%2Fdb2servicegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosconnect%2Fdb2servicegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosconnect%2Fdb2servicegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosconnect%2Fdb2servicegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zosconnect","download_url":"https://codeload.github.com/zosconnect/db2servicegen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosconnect%2Fdb2servicegen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2026-01-14T16:55:12.172Z","updated_at":"2026-01-14T16:55:12.859Z","avatar_url":"https://github.com/zosconnect.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# db2servicegen\n\nSample program to create z/OS Connect EE service projects for Db2 RESTful Services.\n\n## Usage\n\n```\ndb2servicegen --server http://example.mainframe.com:42100 --user admin --password adminpass\n```\n\n* `--server` : The hostname and port of the Db2 server\n* `--user` : The UserId of the user that can retrieve all the Db2 services\n* `--password` : The password for the UserId specified in the `--user` parameter\n\n## How it works\n\nThe program does the following to create the files required to create SARs for the Db2 services.\n\n1. Connect to the Db2 server and retrieve the list of services from the `/services` endpoint.\n1. Iterate through the services returned and get the information about each one.\n1. Extract the request and response schemas for the Db2 service and remove any references to `null` types which are unsupported by z/OS Connect EE.\n1. Create a `service.properties` file with the details of the service.\n1. Save the files in a new directory, named the same as the Db2 service, in the current working directory.\n\nSAR files can then be built using the z/OS Connect EE build toolkit by going into the directory and running \n\n```\nzconbt -p service.properties -f serviceName.sar\n```\n\n## License\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzosconnect%2Fdb2servicegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzosconnect%2Fdb2servicegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzosconnect%2Fdb2servicegen/lists"}