{"id":17108427,"url":"https://github.com/dotx12/application-design-test","last_synced_at":"2026-01-30T17:31:18.189Z","repository":{"id":252930800,"uuid":"841938568","full_name":"dotX12/application-design-test","owner":"dotX12","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-13T11:08:36.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T23:19:24.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dotX12.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-08-13T10:51:11.000Z","updated_at":"2024-08-13T11:08:39.000Z","dependencies_parsed_at":"2024-08-16T22:52:22.341Z","dependency_job_id":null,"html_url":"https://github.com/dotX12/application-design-test","commit_stats":null,"previous_names":["dotx12/application-design-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotX12/application-design-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2Fapplication-design-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2Fapplication-design-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2Fapplication-design-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2Fapplication-design-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotX12","download_url":"https://codeload.github.com/dotX12/application-design-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2Fapplication-design-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28916075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-14T16:05:21.122Z","updated_at":"2026-01-30T17:31:18.155Z","avatar_url":"https://github.com/dotX12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Application design\n\n### Logs format\n```\n2024-08-13T14:05:59+03:00 TRC internal\\presentation\\http\\v1\\handler\\create_order.go:26 \u003e Received request to CreateOrderHandler spanId=c9ff6fa7255542bb traceId=66bb3e17076a3fd1f1552e18bd70264b\n2024-08-13T14:05:59+03:00 TRC internal\\application\\pipeline\\logging.go:29 \u003e Received request for processing in mediator request={\"email\":\"foo@bar.com\",\"from\":\"2025-01-02T00:00:00Z\",\"hotel_id\":\"string\",\"room_id\":\"string\",\"to\":\"2025-01-02T00:00:00Z\"} spanId=5f6108f795686b7e traceId=66bb3e17076a3fd1f1552e18bd70264b type=AddOrderCommand\n2024-08-13T14:05:59+03:00 TRC internal\\application\\command\\create_order.go:43 \u003e AddOrderCommandHandler.Handle spanId=5f6108f795686b7e traceId=66bb3e17076a3fd1f1552e18bd70264b\n2024-08-13T14:05:59+03:00 TRC internal\\application\\pipeline\\logging.go:52 \u003e Request processed successfully in mediator request={\"email\":\"foo@bar.com\",\"from\":\"2025-01-02T00:00:00Z\",\"hotel_id\":\"string\",\"room_id\":\"string\",\"to\":\"2025-01-02T00:00:00Z\"} response={\"From\":\"2025-01-02T00:00:00Z\",\"HotelID\":{},\"ID\":{},\"RoomID\":{},\"To\":\"2025-01-02T00:00:00Z\",\"UserEmail\":{}} spanId=5f6108f795686b7e traceId=66bb3e17076a3fd1f1552e18bd70264b type=AddOrderCommand\n2024-08-13T14:05:59+03:00 TRC internal\\application\\event\\order_created.go:30 \u003e We send a email about the hotel reservation... created_at=\"2024-08-13 14:05:59.8012522 +0300 MSK m=+200.421637801\" email=foo@bar.com event_id=f069d186-cdd0-4613-983d-4d7dc33006bd from=2025-01-02T00:00:00Z order_id=fbf3de2a-8cbe-48c6-ae04-faf46f84802d spanId=5f6108f795686b7e to=2025-01-02T00:00:00Z topic=booking.OrderCreated traceId=66bb3e17076a3fd1f1552e18bd70264b\n2024-08-13T14:05:59+03:00 INF pkg\\logging\\fiberzerolog\\fiber.go:80 \u003e Success bytesReceived=149 bytesSent=144 ip=127.0.0.1 latency=\"89.7µs\" method=POST spanId=c9ff6fa7255542bb status=201 traceId=66bb3e17076a3fd1f1552e18bd70264b ua=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36\" url=/v1/orders\n```\n\n## Docs\n\n![image](https://github.com/user-attachments/assets/7277ce2b-d540-47d5-bcd8-db71b9dcb9bc)\n![image](https://github.com/user-attachments/assets/eaf64939-fac6-46af-a94d-ca26784478aa)\n\n## Metrics\n![image](https://github.com/user-attachments/assets/debbd7b0-c607-4547-b151-08fa5e95612f)\n\n```sh\nswag init -g cmd/http.go --instanceName v1 --parseDependency --collectionFormat multi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotx12%2Fapplication-design-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotx12%2Fapplication-design-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotx12%2Fapplication-design-test/lists"}