diff --git a/cfg/config.json b/cfg/config.json index ff49db0..fea6c8d 100644 --- a/cfg/config.json +++ b/cfg/config.json @@ -62,7 +62,7 @@ "serviceNamePrefix": "io.restorecommerce.", "serviceConfigPrefix": "io-restorecommerce-", "resources": { - "default-catalog-srv": [ + "catalog-srv": [ "manufacturer", "price_group", "product_category", @@ -80,8 +80,11 @@ } }, "client": { - "default-catalog-srv": { - "address": "localhost:50068" + "acs-srv": { + "address": "localhost:50061" + }, + "user": { + "address": "localhost:50051" } }, "redis": { diff --git a/cfg/config_production.json b/cfg/config_production.json index d79636e..e3a76d3 100644 --- a/cfg/config_production.json +++ b/cfg/config_production.json @@ -27,8 +27,11 @@ } }, "client": { - "default-catalog-srv": { - "address": "0.0.0.0:50051" + "acs-srv": { + "address": "access-control-srv:50051" + }, + "user": { + "address": "identity-srv:50051" } }, "server": { diff --git a/cfg/config_test.json b/cfg/config_test.json index d3bf1c1..32e21b8 100644 --- a/cfg/config_test.json +++ b/cfg/config_test.json @@ -17,7 +17,7 @@ } }, "client": { - "default-catalog-srv": { + "catalog-srv": { "address": "localhost:50068" }, "acs-srv": { diff --git a/test/catalog_srv.spec.ts b/test/catalog_srv.spec.ts index 9eb42a7..e49ff2f 100644 --- a/test/catalog_srv.spec.ts +++ b/test/catalog_srv.spec.ts @@ -53,7 +53,7 @@ const getClientResourceServices = async () => { mapClients: new Map() }; const resources = cfg.get('resources'); - const defaultConfig = cfg.get('client:default-catalog-srv'); + const defaultConfig = cfg.get('client:catalog-srv'); for (let resourceType in resources) { const resourceCfg = resources[resourceType]; const serviceNamePrefix = resourceCfg.serviceNamePrefix;