mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-26 07:24:09 +08:00
feat: add modular monolith source
This commit is contained in:
parent
d278e36fd2
commit
95123ee6b2
@ -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": "*"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user