{"id":24849325,"url":"https://github.com/bugbiteme/mule-vax-status","last_synced_at":"2025-03-26T11:25:39.002Z","repository":{"id":71384715,"uuid":"406580957","full_name":"bugbiteme/mule-vax-status","owner":"bugbiteme","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-29T15:09:13.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T12:36:14.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/bugbiteme.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,"publiccode":null,"codemeta":null}},"created_at":"2021-09-15T02:01:18.000Z","updated_at":"2021-10-29T15:09:16.000Z","dependencies_parsed_at":"2023-07-07T05:00:20.204Z","dependency_job_id":null,"html_url":"https://github.com/bugbiteme/mule-vax-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fmule-vax-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fmule-vax-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fmule-vax-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugbiteme%2Fmule-vax-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugbiteme","download_url":"https://codeload.github.com/bugbiteme/mule-vax-status/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245642696,"owners_count":20648902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-01-31T12:30:37.884Z","updated_at":"2025-03-26T11:25:38.992Z","avatar_url":"https://github.com/bugbiteme.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mule-vax-status\n\n## How to test\n\nOnce up and running you can test the API with the following calls:\n\n```\ncurl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Jack\u0026lastName=Sheppard\u0026dob=1992-05-18'\n\ncurl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Aden\u0026lastName=Episcopio\u0026dob=1994-09-11'\n\ncurl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Max\u0026lastName=Mule\u0026dob=1991-04-06'\n\ncurl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=John\u0026lastName=Talksalot\u0026dob=1981-10-25'\n\nverify\n\n```\n\n## Expected output\n\n```json\n❯ curl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Jack\u0026lastName=Sheppard\u0026dob=1992-05-18'\n{\n  \"firstName\": \"Jack\",\n  \"lastName\": \"Sheppard\",\n  \"dob\": \"1992-05-18\",\n  \"doses\": [\n    {\n      \"provider\": \"LAX\",\n      \"doa\": \"3/22/21\",\n      \"lotNumber\": \"1234\",\n      \"type\": \"Pfizer\"\n    },\n    {\n      \"provider\": \"WALGREENS\",\n      \"doa\": \"4/19/21\",\n      \"lotNumber\": \"5678\",\n      \"type\": \"Pfizer\"\n    }\n  ]\n}\n```\n\n```json\n❯ curl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Aden\u0026lastName=Episcopio\u0026dob=1994-09-11'\n{\n  \"firstName\": \"Aden\",\n  \"lastName\": \"Episcopio\",\n  \"dob\": \"1994-09-11\",\n  \"doses\": [\n    {\n      \"provider\": \"CVS\",\n      \"doa\": \"5/25/21\",\n      \"lotNumber\": \"1234\",\n      \"type\": \"Johnson \u0026 Johnson\"\n    }\n  ]\n}\n```\n\n```json\n❯ curl --location --request GET 'http://localhost:8081/api/vaccine-status?firstName=Max\u0026lastName=Mule\u0026dob=1991-04-06'\n{\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"dob\": \"\",\n  \"doses\": [\n\n  ]\n}\n```\n## Testing Cloud Deployment\n\n```\n\ncurl --location --request GET 'http://mule-vax-patient.us-w1.cloudhub.io/api/vaccine-status?firstName=Jack\u0026lastName=Sheppard\u0026dob=1992-05-18'\n\ncurl --location --request GET 'http://mule-vax-patient.us-w1.cloudhub.io/api/vaccine-status?firstName=Aden\u0026lastName=Episcopio\u0026dob=1994-09-11'\n\ncurl --location --request GET 'http://mule-vax-patient.us-w1.cloudhub.io/api/vaccine-status?firstName=Max\u0026lastName=Mule\u0026dob=1991-04-06'\n\n\n```\n\n### validate vaccine\n```\ncurl --location --request GET 'http://localhost:8081/api/verify-vaccine?firstName=John\u0026lastName=Talksalot\u0026dob=1981-10-25'\ncurl --location --request GET 'http://localhost:8081/api/verify-vaccine?firstName=Jack\u0026lastName=Sheppard\u0026dob=1992-05-18'\ncurl --location --request GET 'http://localhost:8081/api/verify-vaccine?firstName=Aden\u0026lastName=Episcopio\u0026dob=1994-09-11'\ncurl --location --request GET 'http://localhost:8081/api/verify-vaccine?firstName=Max\u0026lastName=Mule\u0026dob=1991-04-06'\n\ncurl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=John\u0026lastName=Talksalot\u0026dob=1981-10-25'\n\ncurl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Jack\u0026lastName=Sheppard\u0026dob=1992-05-18'\n\ncurl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Aden\u0026lastName=Episcopio\u0026dob=1994-09-11'\n\ncurl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Max\u0026lastName=Mule\u0026dob=1991-04-06'\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugbiteme%2Fmule-vax-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugbiteme%2Fmule-vax-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugbiteme%2Fmule-vax-status/lists"}