{"id":22886349,"url":"https://github.com/defra/btms-gateway","last_synced_at":"2025-03-31T18:44:29.115Z","repository":{"id":266117712,"uuid":"897444430","full_name":"DEFRA/btms-gateway","owner":"DEFRA","description":"Git repository for service btms-gateway","archived":false,"fork":false,"pushed_at":"2025-03-27T15:50:00.000Z","size":493,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-27T16:33:30.414Z","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":"other","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":"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":"2024-12-02T16:34:07.000Z","updated_at":"2025-03-27T15:24:19.000Z","dependencies_parsed_at":"2024-12-23T16:26:03.323Z","dependency_job_id":"5c6d1b70-48e5-442e-a607-9638b2728c72","html_url":"https://github.com/DEFRA/btms-gateway","commit_stats":null,"previous_names":["defra/btms-gateway"],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fbtms-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fbtms-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fbtms-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fbtms-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/btms-gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246522755,"owners_count":20791388,"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-12-13T20:17:51.341Z","updated_at":"2025-03-31T18:44:29.091Z","avatar_url":"https://github.com/DEFRA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BTMS 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 BtmsGateway --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%2Fbtms-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fbtms-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fbtms-gateway/lists"}