@ -1,31 +0,0 @@ | |||
{ | |||
"sql": { | |||
"catalog": "Catalog SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....)", | |||
"identity":"Identity SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....)", | |||
"ordering":"Ordering SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....)", | |||
"marketing":"Marketing SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....)" | |||
}, | |||
"nosql": { | |||
"locations": { | |||
"constr": "Locations MongoDb ConnectionString", | |||
"db": "LocationsDb" | |||
}, | |||
"marketing": { | |||
"constr": "Marketing MongoDb ConnectionString", | |||
"db": "MarketingDb" | |||
} | |||
}, | |||
"redis": { | |||
"basket" : "REDIS CONNECTION STRING FOR BASKET", | |||
"keystore": "REDIS CONNECTION STRING FOR KEYSTORE" | |||
}, | |||
"servicebus": { | |||
"use_azure": "TRUE IF USE AZURE SB (FALSE FOR USING RABBITMQ)", | |||
"ordering": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)", | |||
"marketing": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)", | |||
"locations": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)", | |||
"payment": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)", | |||
"basket": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)", | |||
"catalog": "CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure)" | |||
} | |||
} |
@ -0,0 +1,35 @@ | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: externalcfg | |||
labels: | |||
app: eshop | |||
data: | |||
# Basket.API entries | |||
BasketBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
BasketRedisConStr: REDIS CONNECTION STRING FOR BASKET | |||
# Catalog.API entries | |||
CatalogBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
CatalogSqlDb: Catalog SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....) | |||
# Identity.API entries | |||
IdentitySqlDb: Identity SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....) | |||
# Locations.API entries | |||
LocationsBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
LocationsNoSqlDb: Locations MongoDb ConnectionString | |||
LocationsNoSqlDbName: Locations MongoDb database (LocationsDb) | |||
# Marketing.API entries | |||
MarketingBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
MarketingNoSqlDb: Marketing MongoDb ConnectionString | |||
MarketingNoSqlDbName: Marketing MongoDb database (MarketingDb) | |||
MarketingSqlDb: Marketing SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....) | |||
# Ordering.API entries | |||
OrderingBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
OrderingSqlDb: Ordering SQL SERVER CONNECTION STRING (Server=xxxx;Intial Catalog=yyy;....) | |||
# Payment.API entries | |||
PaymentBus: CONNECTION_STRING (NAME OF RABBITMQ CONTAINER OR Endpoint=sb://XXXX in case of using Azure) | |||
# GracePeriodManager entries | |||
GracePeriodTime: "5" # Grace period duration (time when you can cancel order) in minutes | |||
GracePeriodCheckUpdateTime: "60000" # Interval time to check new Order status (in milliseconds) | |||
# Global entries | |||
UseAzureServiceBus: "TRUE" IF USE AZURE SB ("FALSE" FOR USING RABBITMQ) | |||
keystore: REDIS CONNECTION STRING FOR KEYSTORE |
@ -0,0 +1,26 @@ | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: externalcfg | |||
labels: | |||
app: eshop | |||
data: | |||
BasketBus: rabbitmq | |||
BasketRedisConStr: basket-data | |||
CatalogBus: rabbitmq | |||
CatalogSqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word; | |||
IdentitySqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word; | |||
LocationsBus: rabbitmq | |||
LocationsNoSqlDb: mongodb://nosql-data | |||
LocationsNoSqlDbName: LocationsDb | |||
MarketingBus: rabbitmq | |||
MarketingNoSqlDb: mongodb://nosql-data | |||
MarketingNoSqlDbName: MarketingDb | |||
MarketingSqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word; | |||
OrderingBus: rabbitmq | |||
OrderingSqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word; | |||
PaymentBus: rabbitmq | |||
GracePeriodTime: "1" | |||
GracePeriodCheckUpdateTime: "60000" | |||
UseAzureServiceBus: "False" | |||
keystore: keystore-data |
@ -1,31 +0,0 @@ | |||
{ | |||
"sql": { | |||
"catalog": "Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word;", | |||
"identity":"Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;", | |||
"ordering":"Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;", | |||
"marketing":"Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word;" | |||
}, | |||
"nosql": { | |||
"locations": { | |||
"constr": "mongodb://nosql-data", | |||
"db": "LocationsDb" | |||
}, | |||
"marketing": { | |||
"constr": "mongodb://nosql-data", | |||
"db": "MarketingDb" | |||
} | |||
}, | |||
"redis": { | |||
"basket" : "basket-data", | |||
"keystore": "keystore-data" | |||
}, | |||
"servicebus": { | |||
"use_azure": false, | |||
"ordering": "rabbitmq", | |||
"marketing": "rabbitmq", | |||
"locations": "rabbitmq", | |||
"payment": "rabbitmq", | |||
"basket": "rabbitmq", | |||
"catalog": "rabbitmq" | |||
} | |||
} |