-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from a-sharifov/develop
Develop
- Loading branch information
Showing
173 changed files
with
1,772 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ public interface IDomainEvent : INotification | |
/// Gets the id of the event. | ||
/// </summary> | ||
Guid Id { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...racts/Services/Identity/identity.v1.proto → ...ontracts/Services/Identity/identity.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crs/CommonComponents/EventBus/EventBus.MassTransit.RabbitMQ/GlobalUsings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
global using MassTransit; | ||
global using EventBus.Common.Abstractions; | ||
global using EventBus.MassTransit.Abstractions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
crs/CommonComponents/EventBus/EventBus.MassTransit/Abstractions/IMessageBus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace EventBus.MassTransit.Abstractions; | ||
|
||
/// <summary> | ||
/// The message bus interface. | ||
/// </summary> | ||
public interface IMessageBus : IMessageBusBase | ||
{ | ||
/// <summary> | ||
/// Get send endpoint by address. | ||
/// </summary> | ||
/// <param name="address"> The address.</param> | ||
/// <returns> The <see cref="ISendEndpoint"/>.</returns> | ||
Task<ISendEndpoint> GetSendEndpoint(Uri address); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ version: "3.4" | |
services: | ||
catalog.app: | ||
environment: | ||
- ASPNETCORE_URLS=http://+:80 | ||
- ASPNETCORE_HTTP_PORTS=7060 | ||
- ASPNETCORE_HTTP_PORTS=80 | ||
- ASPNETCORE_ENVIRONMENT=Development | ||
# Custom environment variables | ||
- REDIS_PASSWORD=${REDIS_PASSWORD} | ||
|
@@ -14,6 +13,9 @@ services: | |
- AUTH_ISSUER=${AUTH_ISSUER} | ||
- WEB_AUDIENCE=${WEB_AUDIENCE} | ||
- JWT_SECURITY_KEY=${JWT_SECURITY_KEY} | ||
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER} | ||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS} | ||
- IDENTITY_GRPC_URL=${IDENTITY_GRPC_URL} | ||
volumes: | ||
- ${APPDATA}\microsoft\UserSecrets\:/root/.microsoft/usersecrets | ||
- ${USERPROFILE}\.aspnet\https:/root/.aspnet/https/ | ||
|
@@ -22,9 +24,9 @@ services: | |
|
||
identity.app: | ||
environment: | ||
- ASPNETCORE_URLS=http://+:80 | ||
- ASPNETCORE_HTTP_PORTS=8080 | ||
- ASPNETCORE_HTTP_PORTS=80 | ||
- ASPNETCORE_ENVIRONMENT=Development | ||
# - Kestrel__EndpointDefaults__Protocols=Http2 | ||
# Custom environment variables | ||
- POSTGRES_USER=${POSTGRES_USER} | ||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} | ||
|
@@ -34,6 +36,8 @@ services: | |
- JWT_SECURITY_KEY=${JWT_SECURITY_KEY} | ||
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER} | ||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS} | ||
- HTTP_PORT=80 | ||
- GRPC_PORT=81 | ||
ports: | ||
- 8080:80 | ||
volumes: | ||
|
@@ -42,8 +46,7 @@ services: | |
|
||
monitoring.app: | ||
environment: | ||
- ASPNETCORE_URLS=http://+:80 | ||
- ASPNETCORE_HTTP_PORTS=5065 | ||
- ASPNETCORE_HTTP_PORTS=80 | ||
- ASPNETCORE_ENVIRONMENT=Development | ||
# Custom environment variables | ||
- HealthChecksUI__HealthChecks__0__Name=Catalog API | ||
|
@@ -59,9 +62,8 @@ services: | |
|
||
gateways.web: | ||
environment: | ||
- ASPNETCORE_URL=http://+:80;https://+:443 | ||
- ASPNETCORE_HTTP_PORTS=5039 | ||
- ASPNETCORE_HTTPS_PORTS=5040 | ||
- ASPNETCORE_HTTP_PORTS=80 | ||
- ASPNETCORE_HTTPS_PORTS=443 | ||
- ASPNETCORE_ENVIRONMENT=Development | ||
# Custom environment variables | ||
- [email protected] | ||
|
@@ -73,29 +75,27 @@ services: | |
- ${APPDATA}\microsoft\UserSecrets\:/root/.microsoft/usersecrets | ||
- ${USERPROFILE}\.aspnet\https:/root/.aspnet/https/ | ||
|
||
|
||
email.app: | ||
environment: | ||
- ASPNETCORE_URLS=http://+:80 | ||
- ASPNETCORE_HTTP_PORTS=5110 | ||
- ASPNETCORE_HTTP_PORTS=80 | ||
- ASPNETCORE_ENVIRONMENT=Development | ||
# Custom environment variables | ||
- Email__From=${EMAIL_FROM}} | ||
- Email__Host=${EMAIL_HOST} | ||
- Email__Port=${EMAIL_PORT} | ||
- Email__Username=${EMAIL_USERNAME} | ||
- Email__Password=${EMAIL_PASSWORD} | ||
- Retry__Message__Send__Count=3 | ||
- Email__RetryMessageSendCount=3 | ||
- IdentityEndpoint__BaseUrl=${AUTH_ISSUER}} | ||
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER} | ||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS} | ||
- AUTH_ISSUER=${AUTH_ISSUER} | ||
- WEB_AUDIENCE=${WEB_AUDIENCE} | ||
- JWT_SECURITY_KEY=${JWT_SECURITY_KEY} | ||
- IDENTITY_GRPC_URL=${IDENTITY_GRPC_URL} | ||
ports: | ||
- "5110:80" | ||
|
||
|
||
|
||
mssql: | ||
environment: | ||
- ACCEPT_EULA=Y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\CommonComponents\Common\Common.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Oops, something went wrong.