{"id":23066905,"url":"https://github.com/dvsa/cvs-svc-app-logs","last_synced_at":"2025-04-03T09:13:53.214Z","repository":{"id":37444833,"uuid":"190593371","full_name":"dvsa/cvs-svc-app-logs","owner":"dvsa","description":"Central logging service for the Vehicle Testing Application to use for recording diagnostic information","archived":false,"fork":false,"pushed_at":"2024-10-24T16:04:34.000Z","size":934,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2024-10-25T06:32:18.514Z","etag":null,"topics":["cvs-project"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvsa.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-06-06T14:14:21.000Z","updated_at":"2024-10-16T13:19:36.000Z","dependencies_parsed_at":"2024-01-15T16:48:46.524Z","dependency_job_id":"2354f3de-ec54-4650-ad22-215017c8bf9f","html_url":"https://github.com/dvsa/cvs-svc-app-logs","commit_stats":null,"previous_names":[],"tags_count":2601,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-svc-app-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-svc-app-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-svc-app-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-svc-app-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvsa","download_url":"https://codeload.github.com/dvsa/cvs-svc-app-logs/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970323,"owners_count":20862509,"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":["cvs-project"],"created_at":"2024-12-16T05:15:31.450Z","updated_at":"2025-04-03T09:13:53.196Z","avatar_url":"https://github.com/dvsa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cvs-svc-app-logs\n\nA serverless microservice responsible reporting error logs from the cvs-mobile-app\n\n## Structure\n\nAll serverless functions live in dedicated directories in `src/functions`.\nCode that is common between multiple functions should reside in `src/common`.\n\nAs per the principles of Hexagonal Architecture, each function has the following directories to help us separate concerns:\n\n- `framework` - contains all Inbound and Outbound Adapters, and all use of external/proprietary APIs - depends upon...\n- `application` - contains all Inbound and Outbound Ports, doesn't use any external/proprietary APIs - depends upon...\n- `domain` - contains all domain objects (Aggregates, Objects, Value classes etc) with all \"business logic\" (not just anaemic data holders), doesn't use any external/proprietary APIs.\n\n## Build\n\nTo build a zip file for every function to `build/artifacts`, run:\n\n```shell\nnpm run package\n```\n\nTo build a subset of the functions, pass a comma separated list of function names, like so:\n\n```shell\nnpm run package -- get,set\n```\n\nN.b. The build requires [jq](https://github.com/stedolan/jq).\n\n## Test\n\nTo run the unit tests, simply run:\n\n```shell\nnpm test\n```\n\nPlease refer to the the [docs](./docs/README.md) for the API specification and samples of postman requests.\n\nIf the tests return a credentials error, check `~/.aws/credentials` has dummy values set up\n\n```\nAWS_ACCESS_KEY_ID=some_value\nAWS_SECRET_ACCESS_KEY=some_value\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fcvs-svc-app-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvsa%2Fcvs-svc-app-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fcvs-svc-app-logs/lists"}