From fda7df7cfcb356478e483816da779abb44c1a8a3 Mon Sep 17 00:00:00 2001 From: Jordi Garcia Date: Wed, 21 Feb 2024 18:26:48 +0100 Subject: [PATCH 1/5] SAS-15401 Renaming --- modules/azerionRtdProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/azerionRtdProvider.js b/modules/azerionRtdProvider.js index 8dda0aa8fb8..7c20825b75f 100644 --- a/modules/azerionRtdProvider.js +++ b/modules/azerionRtdProvider.js @@ -34,7 +34,7 @@ function getScriptURL(config) { const VERSION = 'v1'; const key = config.params?.key; const publisherPath = key ? `${key}/` : ''; - return `https://pa.hyth.io/js/${VERSION}/${publisherPath}htpa.min.js`; + return `https://azerion-edge.hyth.io/js/${VERSION}/${publisherPath}htpa.min.js`; } /** From 2027f2142ed9519fab3ba5a6332d78d91ca8e091 Mon Sep 17 00:00:00 2001 From: Jordi Garcia Date: Wed, 21 Feb 2024 18:37:26 +0100 Subject: [PATCH 2/5] Renaming --- modules/azerionRtdProvider.js | 2 +- test/spec/modules/azerionRtdProvider_spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/azerionRtdProvider.js b/modules/azerionRtdProvider.js index 7c20825b75f..7479a1f2a16 100644 --- a/modules/azerionRtdProvider.js +++ b/modules/azerionRtdProvider.js @@ -34,7 +34,7 @@ function getScriptURL(config) { const VERSION = 'v1'; const key = config.params?.key; const publisherPath = key ? `${key}/` : ''; - return `https://azerion-edge.hyth.io/js/${VERSION}/${publisherPath}htpa.min.js`; + return `https://edge.hyth.io/js/${VERSION}/${publisherPath}azerion-edge.min.js`; } /** diff --git a/test/spec/modules/azerionRtdProvider_spec.js b/test/spec/modules/azerionRtdProvider_spec.js index b5d94569913..3dd5f88bb3d 100644 --- a/test/spec/modules/azerionRtdProvider_spec.js +++ b/test/spec/modules/azerionRtdProvider_spec.js @@ -42,7 +42,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with default versioned url', function() { - const expected = 'https://pa.hyth.io/js/v1/htpa.min.js'; + const expected = "edge.hyth.io/js/v1/azerion-edge.min.js"; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); @@ -62,7 +62,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with publisher id url', function() { - const expected = `https://pa.hyth.io/js/v1/${key}/htpa.min.js`; + const expected = `https://edge.hyth.io/js/v1/${key}/azerion-edge.min.js`; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); }); From ee662bb45eda0068e40ac8ee045d65f5cd691a81 Mon Sep 17 00:00:00 2001 From: Jordi Garcia Date: Wed, 21 Feb 2024 18:52:33 +0100 Subject: [PATCH 3/5] quotes --- test/spec/modules/azerionRtdProvider_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/modules/azerionRtdProvider_spec.js b/test/spec/modules/azerionRtdProvider_spec.js index 3dd5f88bb3d..e1f03aa51bf 100644 --- a/test/spec/modules/azerionRtdProvider_spec.js +++ b/test/spec/modules/azerionRtdProvider_spec.js @@ -42,7 +42,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with default versioned url', function() { - const expected = "edge.hyth.io/js/v1/azerion-edge.min.js"; + const expected = 'edge.hyth.io/js/v1/azerion-edge.min.js'; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); From 7a1624f66b148d2fa2a7e4813629ad27d0a7c7f4 Mon Sep 17 00:00:00 2001 From: Jordi Garcia Date: Wed, 21 Feb 2024 18:54:29 +0100 Subject: [PATCH 4/5] Test --- test/spec/modules/azerionRtdProvider_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/modules/azerionRtdProvider_spec.js b/test/spec/modules/azerionRtdProvider_spec.js index e1f03aa51bf..11208528338 100644 --- a/test/spec/modules/azerionRtdProvider_spec.js +++ b/test/spec/modules/azerionRtdProvider_spec.js @@ -42,7 +42,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with default versioned url', function() { - const expected = 'edge.hyth.io/js/v1/azerion-edge.min.js'; + const expected = 'https://edge.edge.hyth.io/js/v1/azerion-edge.min.js'; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); From 35e11e7e7f9c2f09fbb0d0a9626985e4d538b857 Mon Sep 17 00:00:00 2001 From: Jordi Garcia Date: Thu, 22 Feb 2024 12:43:13 +0100 Subject: [PATCH 5/5] Typo --- test/spec/modules/azerionRtdProvider_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/modules/azerionRtdProvider_spec.js b/test/spec/modules/azerionRtdProvider_spec.js index 11208528338..8c81e6e95fa 100644 --- a/test/spec/modules/azerionRtdProvider_spec.js +++ b/test/spec/modules/azerionRtdProvider_spec.js @@ -42,7 +42,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with default versioned url', function() { - const expected = 'https://edge.edge.hyth.io/js/v1/azerion-edge.min.js'; + const expected = 'https://edge.hyth.io/js/v1/azerion-edge.min.js'; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); });