From 511ac259571276387cda3af1974903aef9203237 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 22 Oct 2024 16:48:30 +0530 Subject: [PATCH 1/3] fix: http enchancements --- src/configurations/destinations/http/db-config.json | 5 ++++- src/configurations/destinations/http/ui-config.json | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/configurations/destinations/http/db-config.json b/src/configurations/destinations/http/db-config.json index 64e067579..843920caa 100644 --- a/src/configurations/destinations/http/db-config.json +++ b/src/configurations/destinations/http/db-config.json @@ -122,7 +122,10 @@ }, "options": { "isBeta": true, - "hidden": true, + "hidden": { + "featureFlagName": "AMP_http_webhook", + "featureFlagValue": false + }, "secondPositionRedirectComponent": true } } diff --git a/src/configurations/destinations/http/ui-config.json b/src/configurations/destinations/http/ui-config.json index bebad63f6..4190b80de 100644 --- a/src/configurations/destinations/http/ui-config.json +++ b/src/configurations/destinations/http/ui-config.json @@ -526,6 +526,8 @@ "to": "$." } ], + "jsonPathValidation": true, + "hideKeysJsonView": true, "columns": [ { "type": "textInput", @@ -551,6 +553,8 @@ "label": "Map your query parameters", "configKey": "queryParams", "default": [], + "jsonPathValidation": true, + "hideKeysJsonView": true, "columns": [ { "type": "textInput", @@ -576,6 +580,8 @@ "label": "Map your headers", "configKey": "headers", "default": [], + "jsonPathValidation": true, + "hideKeysJsonView": true, "columns": [ { "type": "textInput", From 807c150f9e6f03840a6982dbe47a21c55245a392 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 29 Oct 2024 18:18:16 +0530 Subject: [PATCH 2/3] fix: Update ui-config.json --- src/configurations/destinations/http/ui-config.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/configurations/destinations/http/ui-config.json b/src/configurations/destinations/http/ui-config.json index 4190b80de..a4dc30074 100644 --- a/src/configurations/destinations/http/ui-config.json +++ b/src/configurations/destinations/http/ui-config.json @@ -527,7 +527,6 @@ } ], "jsonPathValidation": true, - "hideKeysJsonView": true, "columns": [ { "type": "textInput", From 6eb56684cef5f5560dff0d4c0ec8e9bec7fe7583 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Tue, 29 Oct 2024 18:31:58 +0530 Subject: [PATCH 3/3] fix: update order --- src/configurations/destinations/http/ui-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/destinations/http/ui-config.json b/src/configurations/destinations/http/ui-config.json index a4dc30074..66292d7ff 100644 --- a/src/configurations/destinations/http/ui-config.json +++ b/src/configurations/destinations/http/ui-config.json @@ -579,8 +579,8 @@ "label": "Map your headers", "configKey": "headers", "default": [], - "jsonPathValidation": true, "hideKeysJsonView": true, + "jsonPathValidation": true, "columns": [ { "type": "textInput",