feat: add modular monolith source

This commit is contained in:
Meysam Hadeli 2025-04-06 19:23:23 +03:30
parent d278e36fd2
commit 95123ee6b2

View File

@ -13,30 +13,23 @@
},
"PostgresOptions": {
"ConnectionString": {
"Flight": "Server=localhost;Port=5432;Database=flight;User Id=postgres;Password=postgres;Include Error Detail=true",
"Identity": "Server=localhost;Port=5432;Database=identity;User Id=postgres;Password=postgres;Include Error Detail=true",
"Passenger": "Server=localhost;Port=5432;Database=passenger;User Id=postgres;Password=postgres;Include Error Detail=true"
"Flight": "Server=localhost;Port=5432;Database=flight_modular_monolith;User Id=postgres;Password=postgres;Include Error Detail=true",
"Identity": "Server=localhost;Port=5432;Database=identity_modular_monolith;User Id=postgres;Password=postgres;Include Error Detail=true",
"Passenger": "Server=localhost;Port=5432;Database=passenger_modular_monolith;User Id=postgres;Password=postgres;Include Error Detail=true"
}
},
"MongoOptions": {
"ConnectionString": "mongodb://localhost:27017",
"DatabaseName": "booking-read"
"DatabaseName": "booking_modular_monolith_read"
},
"EventStoreOptions": {
"ConnectionString": "esdb://localhost:2113?tls=false"
},
"Jwt": {
"Authority": "http://localhost:6005",
"Audience": "flight-api",
"Authority": "http://localhost:5001",
"Audience": "booking_modular_monolith",
"RequireHttpsMetadata": false,
"MetadataAddress": "http://localhost:6005/.well-known/openid-configuration"
},
"RabbitMqOptions": {
"HostName": "localhost",
"ExchangeName": "flight",
"UserName": "guest",
"Password": "guest",
"Port": 5672
"MetadataAddress": "http://localhost:5001/.well-known/openid-configuration"
},
"PersistMessageOptions": {
"Interval": 30,
@ -47,7 +40,7 @@
"Enabled": false
},
"ObservabilityOptions": {
"InstrumentationName": "flight_service",
"InstrumentationName": "booking_modular_monolith_service",
"OTLPOptions": {
"OTLPGrpExporterEndpoint": "http://localhost:4317"
},
@ -65,7 +58,7 @@
"UseOTLPExporter": true,
"UseAspireOTLPExporter": true,
"UseGrafanaExporter": false,
"ServiceName": "Flight Service"
"ServiceName": "Booking Modular Monolith Service"
},
"AllowedHosts": "*"
}