David Fowler
44345135b9
Forgot one
2023-06-14 20:46:08 -07:00
David Fowler
cea48cb151
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.
2023-06-14 20:44:25 -07:00
Tarun Jain
3169a93344
Merge pull request #2107 from dotnet-architecture/davidfowl/common-services
...
Modernization
2023-05-16 22:54:58 +05:30
David Fowler
df4eb4c124
More code sharing and clean up WebHooks client
2023-05-09 07:05:40 -07:00
Reuben Bond
e4b94decb2
Use Services.Common in WebhookClient
2023-05-09 07:05:40 -07:00
Reuben Bond
6f4ae509f1
Port WebhookClient to WebApplicationBuilder
2023-05-09 07:05:40 -07:00
David Fowler
dbef61fdaf
Nuke the cors from the mobile BFF
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
8f9f9d168f
Add libman package to WebMVC to fix site
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
72c8167ec0
Attempt to migrate Mobile BFF to common services pattern
2023-05-09 07:05:39 -07:00
Reuben Bond
8c9524c771
Reduce double writes in Application.FunctionalTests build
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
David Fowler
a87efdef32
Small nit
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
89a42e6c8f
Removed session since its not used
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
6ad5e8fb09
Deleted test controller
2023-05-09 07:05:39 -07:00
David Fowler
bdebee70dc
Clean up SignIn action
2023-05-09 07:05:39 -07:00
David Fowler
184ed15ef6
Clean up the auth delegating handler
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
6933d9997d
Forward SignalR requests through the web app
2023-05-09 07:05:39 -07:00
David Fowler
992b58d4bc
Fixed cookies
2023-05-09 07:05:39 -07:00
David Fowler
a7cdb1df68
Remove unused code
2023-05-09 07:05:39 -07:00
David Fowler
0a07aea4ff
Small refactoring of the helper methods
2023-05-09 07:05:38 -07:00
David Fowler
8c2ca8dbd9
Make WebMVC use the service common helpers
2023-05-09 07:05:38 -07:00
David Fowler
40315c69d7
Make docker use the reverse proxy
2023-05-09 07:05:38 -07:00
David Fowler
62a6f17595
Removed unneeded usings
2023-05-09 07:05:38 -07:00
David Fowler
64a2d69e92
Use YARP native config
2023-05-09 07:05:38 -07:00
David Fowler
69476a3175
Use the default YARP configuration
2023-05-09 07:05:38 -07:00
David Fowler
758d4bbe88
Specify routes in config
2023-05-09 07:05:38 -07:00
David Fowler
bd745121b2
Added comment about allowed origins
2023-05-09 07:05:38 -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
561d48bc62
Fix cors and prefix rewriting
2023-05-09 07:05:38 -07:00
David Fowler
6a2fceb57c
Fix more urls
2023-05-09 07:05:38 -07:00
David Fowler
c3efea0293
Add YARP to the BFF directly.
...
- This avoids the extra process hop
2023-05-09 07:05:38 -07:00
David Fowler
30ed0011cb
Added YARP as an API gateway
...
- It will eventually replace envoy
2023-05-09 07:05:38 -07:00
David Fowler
06d74d1658
Small tweaks to make the MVC application run locally
2023-05-09 07:05:38 -07:00
David Fowler
50952bed10
Sort usings and delete web.config
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