From 46a006eecf79db4b1a61da2792b32a1f6744cba3 Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 10 Jan 2025 04:54:48 -0500 Subject: [PATCH] Add DNS mocks configuration for coffee.com and teapot.com --- coffee_socialbox/config/socialbox.conf | 5 ++++- teapot_socialbox/config/socialbox.conf | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/coffee_socialbox/config/socialbox.conf b/coffee_socialbox/config/socialbox.conf index 5c10b3f..13b5588 100755 --- a/coffee_socialbox/config/socialbox.conf +++ b/coffee_socialbox/config/socialbox.conf @@ -4,7 +4,10 @@ "name": "coffee", "domain": "coffee.com", "rpc_endpoint": "http://127.0.0.0:8086/", - "dns_mocks": [] + "dns_mocks": { + "teapot.com": "v=socialbox;sb-rpc=http://127.0.0.0:8087/;sb-key=sig:MDXUuripAo_IAv-EZTEoFhpIdhsXxfMLNunSnQzxYiY;sb-exp=0", + "coffee.com": "v=socialbox;sb-rpc=http://127.0.0.0:8086/;sb-key=sig:g59Cf8j1wmQmRg1MkveYbpdiZ-1-_hFU9eRRJmQAwmc;sb-exp=0" + } }, "security": { "display_internal_exceptions": false, diff --git a/teapot_socialbox/config/socialbox.conf b/teapot_socialbox/config/socialbox.conf index 1195bb6..07e0b5b 100755 --- a/teapot_socialbox/config/socialbox.conf +++ b/teapot_socialbox/config/socialbox.conf @@ -4,7 +4,10 @@ "name": "teapot", "domain": "teapot.com", "rpc_endpoint": "http://127.0.0.0:8087/", - "dns_mocks": [] + "dns_mocks": { + "teapot.com": "v=socialbox;sb-rpc=http://127.0.0.0:8087/;sb-key=sig:MDXUuripAo_IAv-EZTEoFhpIdhsXxfMLNunSnQzxYiY;sb-exp=0", + "coffee.com": "v=socialbox;sb-rpc=http://127.0.0.0:8086/;sb-key=sig:g59Cf8j1wmQmRg1MkveYbpdiZ-1-_hFU9eRRJmQAwmc;sb-exp=0" + } }, "security": { "display_internal_exceptions": false,