1306 Commits

Author SHA1 Message Date
hsn
76c45d128a OrderCompletedDomainEventHandler is added. 2023-07-10 00:14:30 +03:00
hsn
48caa9bb2c Integration event is added. 2023-07-10 00:01:03 +03:00
hsn
fe8528d855 CompleteOrderValidations are added 2023-07-08 13:09:48 +03:00
hsn
979d4ff01d Functional test is added that partially tests CompleteOrderAsync action 2023-07-08 12:46:39 +03:00
hsn
ba8bbe71df Units tests are added for completeOrderAsync 2023-07-08 12:45:38 +03:00
hsn
abf4fc5fe7 CompleteOrderAsyn action is added. 2023-07-08 12:44:47 +03:00
David Fowler
508fa593d7
Added implict usings (#2125) 2023-06-15 05:25:36 -07:00
David Fowler
3b9560c26e
Clean up usings and controller attributes (#2124)
* Clean up usings and controller attributes
- Removed redundant attributes when the controllers already specifies what the result type is.
- Use StatusCodes instead of HttpStatusCode.
- Clean up namespaces and use type aliases to disambiguate the many DTOs defined.

* Forgot one

* Update src/Services/Webhooks/Webhooks.API/Controllers/WebhooksController.cs

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>

---------

Co-authored-by: Reuben Bond <203839+ReubenBond@users.noreply.github.com>
2023-06-14 20:56:52 -07:00
Eric Erhardt
5d13c097d3 Address PR feedback 2023-06-13 14:41:55 -05:00
Eric Erhardt
42e161d1f9 Use file scoped namespace. 2023-06-13 11:33:29 -05:00
Eric Erhardt
fd76f390ef Cache JsonSerializerOptions
According to https://github.com/dotnet/runtime/issues/65396, using a new JsonSerializerOptions every time JsonSerializer is invoked is a suboptimal pattern.

Fix this by caching JsonSerializerOptions instances.
2023-06-13 11:31:11 -05:00
David Fowler
df4eb4c124 More code sharing and clean up WebHooks client 2023-05-09 07:05:40 -07:00
Reuben Bond
6f4ae509f1 Port WebhookClient to WebApplicationBuilder 2023-05-09 07:05:40 -07:00
Reuben Bond
6ebde3fb5c Remove on-start health check in Ordering.BackgroundTasks so that it doesn't crash on startup 2023-05-09 07:05:39 -07:00
Reuben Bond
f5218e8087 Start adding connection strings for VS launch profile 2023-05-09 07:05:39 -07:00
Reuben Bond
9c2b972cc9 Correctly set scopes for AuthorizeCheckOperationFilter 2023-05-09 07:05:39 -07:00
Reuben Bond
3858d7ccf7 Fix integration tests 2023-05-09 07:05:39 -07:00
Reuben Bond
52cdd1645a Fix Handler_sends_no_command_when_order_already_exists test 2023-05-09 07:05:39 -07:00
David Fowler
d5533c0ff9 Move the pic controller to a minimal API 2023-05-09 07:05:39 -07:00
David Fowler
8debda5c67 Don't read the file into memory 2023-05-09 07:05:39 -07:00
David Fowler
af42aab95e Don't launch the browser for signalr 2023-05-09 07:05:39 -07:00
David Fowler
84c6b11c69 Remove cors from the signalr service
- The frontend hits the gateway which does the preflight request
2023-05-09 07:05:38 -07:00
David Fowler
6a2fceb57c Fix more urls 2023-05-09 07:05:38 -07:00
David Fowler
f76a8c61db Make default URLs work 2023-05-09 07:05:38 -07:00
David Fowler
5a2d38575e Fixed identity url 2023-05-09 07:05:38 -07:00
David Fowler
670a9452e1 Remove health check 2023-05-09 07:05:38 -07:00
David Fowler
69b28c6add Added gRPC and HTTP endpoints via config 2023-05-09 07:05:38 -07:00
David Fowler
d0c710ebdc Docker compose works 2023-05-09 07:05:38 -07:00
David Fowler
e1ec790ddf Make more things work with docker compose 2023-05-09 07:05:38 -07:00
David Fowler
6b8992153a Rename extensions to extensions 2023-05-09 07:05:38 -07:00
David Fowler
d086d278e8 Moved repository to top level folder 2023-05-09 07:05:38 -07:00
David Fowler
3c00be38f9 Make BFF work and clean up ports 2023-05-09 07:05:37 -07:00
David Fowler
031996d87c Fixed check 2023-05-09 07:05:37 -07:00
David Fowler
5ea034106c Move extensions to Extensions folder 2023-05-09 07:05:37 -07:00
David Fowler
acd9a6d04b Clean up the identity project and make it use services common 2023-05-09 07:05:37 -07:00
David Fowler
7027967568 More random clean up 2023-05-09 07:05:37 -07:00
David Fowler
e166b28a0a Update the webhooks project to use service common 2023-05-09 07:05:37 -07:00
Reuben Bond
bcb1374d1e Avoid logging exception details twice in a given log, clean up 2023-05-09 07:05:37 -07:00
David Fowler
57d9baf106 Make the payment API use the common code 2023-05-09 07:05:37 -07:00
David Fowler
a37b0430b2 Remove unneeded dependencies 2023-05-09 07:05:37 -07:00
David Fowler
2a4a6abf9b Small tweaks
- Fix the payment profile's launch profile
- Added Services.Common to global usings
2023-05-09 07:05:37 -07:00
David Fowler
c41cd3830c Updated background tasks to use common service logic 2023-05-09 07:05:37 -07:00
David Fowler
0cb6b08300 Clean up the project 2023-05-09 07:05:37 -07:00
David Fowler
9743c83221 Use the common services in the Ordering.SignalRHub project 2023-05-09 07:05:37 -07:00
David Fowler
6e69a2472e Small naming tweaks for consistency 2023-05-09 07:05:37 -07:00
David Fowler
3357c70bc1 Clean up excess in project file 2023-05-09 07:05:37 -07:00
David Fowler
909f08675b Make the ordering API use the commmon services 2023-05-09 07:05:37 -07:00
David Fowler
a41560544c Split redis and health checks for redis 2023-05-09 07:05:37 -07:00
David Fowler
08e7c3424d Delete more cruft
- Remove migration from the tests
2023-05-09 07:05:37 -07:00
David Fowler
7681405eaf More clean up 2023-05-09 07:05:37 -07:00