{"id":17947565,"url":"https://github.com/defra/cdms-gateway","last_synced_at":"2025-10-24T02:30:36.015Z","repository":{"id":259252638,"uuid":"877423395","full_name":"DEFRA/cdms-gateway","owner":"DEFRA","description":"Git repository for service cdms-gateway","archived":true,"fork":false,"pushed_at":"2024-12-03T10:23:13.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-09T03:45:03.762Z","etag":null,"topics":["backend","cdp","dotnet","service"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/DEFRA.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":"2024-10-23T16:13:34.000Z","updated_at":"2025-01-17T12:33:32.000Z","dependencies_parsed_at":"2024-10-30T22:45:36.996Z","dependency_job_id":"e17e8e5b-f558-416a-89d0-ea7027738051","html_url":"https://github.com/DEFRA/cdms-gateway","commit_stats":null,"previous_names":["defra/cdms-gateway"],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/cdms-gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237901394,"owners_count":19384388,"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":["backend","cdp","dotnet","service"],"created_at":"2024-10-29T08:05:46.048Z","updated_at":"2025-10-24T02:30:35.679Z","avatar_url":"https://github.com/DEFRA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdms-gateway\n\nCore delivery C# ASP.NET backend template.\n\n* [Testing](#testing)\n* [Running](#running)\n* [Deploying](#deploying)\n* [SonarCloud](#sonarCloud)\n* [Dependabot](#dependabot)\n\n### Testing\n\nRun the tests with:\n\n```\ndotnet test\n```\n\nUnit tests execute without a running instance of the web server. \nEnd-to-end tests can start the web server using `TestWebServer.BuildAndRun()` taking `ServiceDescriptors` to replace services with mocked or stubbed versions. The `TestWebServer` provides properties:\n- `Services` allows access to injected services.\n- `HttpServiceClient` provide a pre-configured `HttpClient` that can be used to access the web server.\n- `OutboundTestHttpHandler` is a `TestHttpHandler` class that intercepts all `HttpClient` requests to dependant services called by the web server.\n\n### Running\n\nRun CDP-Deployments application:\n```\ndotnet run --project CdmsGateway --launch-profile Development\n```\n### Deploying\n\nBefore deploying via CDP set the correct config for the environment as per the `appsettings.Development.json`.\n\n### SonarCloud\n\nExample SonarCloud configuration are available in the GitHub Action workflows.\n\n### Dependabot\n\nWe have added an example dependabot configuration file to the repository. You can enable it by renaming\nthe [.github/example.dependabot.yml](.github/example.dependabot.yml) to `.github/dependabot.yml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fcdms-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fcdms-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fcdms-gateway/lists"}