{"id":22141680,"url":"https://github.com/bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined","last_synced_at":"2026-05-06T22:11:19.603Z","repository":{"id":234055444,"uuid":"697937426","full_name":"bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined","owner":"bearddan2000","description":"Creates a small database table","archived":false,"fork":false,"pushed_at":"2023-09-28T19:32:42.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:25:27.088Z","etag":null,"topics":["cli","data","defined","driver","gradle","groovy","log4j","postgres","ssl","type","user"],"latest_commit_sha":null,"homepage":"https://github.com/bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bearddan2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-09-28T19:32:39.000Z","updated_at":"2023-09-28T19:32:46.000Z","dependencies_parsed_at":"2024-04-18T03:31:42.029Z","dependency_job_id":null,"html_url":"https://github.com/bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined","commit_stats":null,"previous_names":["bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bearddan2000","download_url":"https://codeload.github.com/bearddan2000/groovy-cli-gradle-ssl-postgres-data-type-user-defined/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: 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":["cli","data","defined","driver","gradle","groovy","log4j","postgres","ssl","type","user"],"created_at":"2024-12-01T21:14:19.748Z","updated_at":"2026-05-06T22:11:19.587Z","avatar_url":"https://github.com/bearddan2000.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# groovy-cli-gradle-ssl-postgres-data-type-user-defined\n\n## Description\nCreates a small database table\ncalled `dog`. This table, `dog`, has been normalized to 3NF.\nTwo new tables have been added, `breedLookup` and `colorLookup`.\n\nCreates a new table `dog_expanded` that joins\n`dog`, `breedLookup` and `colorLookup`. Added clustered indexes on\n`dog`.breedId and `dog`.colorId.\n\nTurned `dog_expanded` into a view with an implicit index on `dog_expanded`.id.\n\nDefined a type `type_int_int` that acts as a return type.\nUsing table function with the aggregate function\nCOUNT, create a new view `breed_count`.\n\nAll output normally\nseen in a terminal will be in `groovy-srv/log` which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.\n\nUses self-sign ssl.\n\n## Tech stack\n- groovy\n- gradle\n  - log4j\n  - postgres driver\n\n## Docker stack\n- alpine:edge\n- gradle:jdk11\n- postgres\n\n## To run\n`sudo ./install.sh -u`\nCreates groovy-srv/log\n\n## To stop\n`sudo ./install.sh -d`\nRemoves groovy-srv/log\n\n## For help\n`sudo ./install.sh -h`\n\n## Credit\n- [Pretty sql print](https://github.com/htorun/dbtableprinter)\n- [User defined type](https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-user-defined-data-types/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearddan2000%2Fgroovy-cli-gradle-ssl-postgres-data-type-user-defined/lists"}