Skip to content

Commit f51368f

Browse files
vpolcapJavert
andauthored
chore: switch skadi client to new url (#2981)
Co-authored-by: Ante Barić <[email protected]>
1 parent 6d16185 commit f51368f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ANALYTICS_URL=http://localhost:5000
4545
NJORD_ORIGIN=http://njord-transactions-server
4646
FREYJA_ORIGIN=http://localhost:7800
4747
SKADI_ORIGIN=http://localhost:8080
48-
SKADI_API_ORIGIN=http://skadi-api-server.local.svc.cluster.local
48+
SKADI_API_ORIGIN=http://skadi-post-boost-api.local.svc.cluster.local
4949
MIMIR_ORIGIN=http://localhost:7600
5050

5151
MEILI_INDEX=dev

.infra/Pulumi.adhoc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ config:
5454
defaultImageUrl: https://res.cloudinary.com/daily-now/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001,https://res.cloudinary.com/daily-now/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002,https://res.cloudinary.com/daily-now/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003,https://res.cloudinary.com/daily-now/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004,https://res.cloudinary.com/daily-now/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005,https://res.cloudinary.com/daily-now/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006,https://res.cloudinary.com/daily-now/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007,https://res.cloudinary.com/daily-now/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008,https://res.cloudinary.com/daily-now/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009,https://res.cloudinary.com/daily-now/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010,https://res.cloudinary.com/daily-now/image/upload/s--2-1xRawN--/f_auto/v1722860399/public/Placeholder%2011,https://res.cloudinary.com/daily-now/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012
5555
digestQueueConcurrency: 1000
5656
enablePubsub: true
57-
skadiApiOrigin: http://skadi-api-server.local.svc.cluster.local
57+
skadiApiOrigin: http://skadi-post-boost-api.local.svc.cluster.local
5858
freyjaOrigin: http://freyja
5959
gcloudProject: local
6060
heimdallOrigin: http://heimdall-api

.infra/Pulumi.prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ config:
5353
digestQueueConcurrency: 1000
5454
experimentationKey:
5555
secure: AAABADH0xT7H6UeMlZG0fUEGjohQ1dvwcbIgJ3WMI5wfqScub3Qp3nvUDhska0DunbFmvj7IrtH07noRL1lCYg==
56-
skadiApiOrigin: http://skadi-api-server.daily.svc.cluster.local
56+
skadiApiOrigin: http://skadi-post-boost-api.daily.svc.cluster.local
5757
freyjaOrigin: http://freyja.freyja
5858
growthbookApiConfigClientKey:
5959
secure: AAABAJEgS6b8xZv0j06KOawyNMdkTpGmzKs7Ryed5SofiLp3vSTjxhqQuKSVsaHjR5s=

__tests__/schema/posts/boost.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ describe('query postCampaigns', () => {
14931493

14941494
// Verify the HTTP call was made with correct parameters
14951495
expect(mockFetchParse.mock.calls[1]).toEqual([
1496-
'http://skadi-api-server.local.svc.cluster.local/promote/post/list',
1496+
'http://skadi-post-boost-api.local.svc.cluster.local/promote/post/list',
14971497
{
14981498
method: 'POST',
14991499
headers: {
@@ -2638,7 +2638,7 @@ describe('mutation cancelPostBoost', () => {
26382638

26392639
// Verify the skadi client was called with correct parameters
26402640
expect(mockFetchParse).toHaveBeenCalledWith(
2641-
'http://skadi-api-server.local.svc.cluster.local/promote/post/cancel',
2641+
'http://skadi-post-boost-api.local.svc.cluster.local/promote/post/cancel',
26422642
{
26432643
method: 'POST',
26442644
headers: {
@@ -2694,7 +2694,7 @@ describe('mutation cancelPostBoost', () => {
26942694

26952695
// Verify the skadi client was called with correct parameters
26962696
expect(mockFetchParse).toHaveBeenCalledWith(
2697-
'http://skadi-api-server.local.svc.cluster.local/promote/post/cancel',
2697+
'http://skadi-post-boost-api.local.svc.cluster.local/promote/post/cancel',
26982698
{
26992699
method: 'POST',
27002700
headers: {
@@ -2750,7 +2750,7 @@ describe('mutation cancelPostBoost', () => {
27502750

27512751
// Verify the skadi client was called with correct parameters
27522752
expect(mockFetchParse).toHaveBeenCalledWith(
2753-
'http://skadi-api-server.local.svc.cluster.local/promote/post/cancel',
2753+
'http://skadi-post-boost-api.local.svc.cluster.local/promote/post/cancel',
27542754
{
27552755
method: 'POST',
27562756
headers: {

0 commit comments

Comments
 (0)