From 1976cb2b9a04b143fe774df66920e5da38bca582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tayfun=20Y=C4=B1lmaz?= Date: Tue, 16 Dec 2025 06:35:54 +0300 Subject: [PATCH] mockoon address fixed --- core/Tasks/account-opening/create-bank-account.json | 2 +- .../account-opening/validate-account-policies.json | 2 +- core/Tasks/contract/get-contract-documents.json | 2 +- core/Tasks/contract/render-document.json | 2 +- core/Tasks/oauth/check-device-registration.json | 2 +- core/Tasks/oauth/check-push-response.json | 2 +- core/Tasks/oauth/generate-tokens.json | 2 +- core/Tasks/oauth/register-device.json | 2 +- core/Tasks/oauth/send-otp-notification.json | 2 +- core/Tasks/oauth/send-push-notification.json | 2 +- core/Tasks/oauth/validate-authorization-code.json | 2 +- core/Tasks/oauth/validate-client.json | 2 +- core/Tasks/oauth/validate-user-credentials.json | 2 +- core/Tasks/oauth/verify-otp-code.json | 2 +- core/Tasks/payments/activate-payment-schedule.json | 2 +- core/Tasks/payments/archive-payment-record.json | 2 +- core/Tasks/payments/deactivate-payment-schedule.json | 2 +- core/Tasks/payments/get-user-info.json | 2 +- core/Tasks/payments/increment-retry-counter.json | 2 +- core/Tasks/payments/process-payment.json | 2 +- core/Tasks/payments/save-payment-configuration.json | 2 +- core/Tasks/payments/send-payment-notification-sms.json | 2 +- .../Tasks/payments/send-payment-push-notification.json | 2 +- core/Tasks/task-test/test-http-items.json | 2 +- core/Tasks/task-test/test-http-task.json | 2 +- .../account-opening/account-opening-workflow.http | 2 +- .../Workflows/contract/contract-approval-workflow.http | 8 ++++---- .../Workflows/oauth/oauth-authentication-workflow.http | 2 +- .../payments/scheduled-payments-workflow.http | 2 +- core/Workflows/task-test/task-test-workflow.http | 8 ++++---- package-lock.json | 10 +++++----- package.json | 4 ++-- 32 files changed, 43 insertions(+), 43 deletions(-) diff --git a/core/Tasks/account-opening/create-bank-account.json b/core/Tasks/account-opening/create-bank-account.json index 7d16122..65c40d5 100644 --- a/core/Tasks/account-opening/create-bank-account.json +++ b/core/Tasks/account-opening/create-bank-account.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/banking/accounts/create", + "url": "http://mockoon:3001/api/banking/accounts/create", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/account-opening/validate-account-policies.json b/core/Tasks/account-opening/validate-account-policies.json index 98ef730..94304c4 100644 --- a/core/Tasks/account-opening/validate-account-policies.json +++ b/core/Tasks/account-opening/validate-account-policies.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/banking/policies/validate-account-opening", + "url": "http://mockoon:3001/api/banking/policies/validate-account-opening", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/contract/get-contract-documents.json b/core/Tasks/contract/get-contract-documents.json index 6af2cec..c97ef7d 100644 --- a/core/Tasks/contract/get-contract-documents.json +++ b/core/Tasks/contract/get-contract-documents.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/contract/get-documents", + "url": "http://mockoon:3001/api/contract/get-documents", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/contract/render-document.json b/core/Tasks/contract/render-document.json index 1ca4f4c..496294d 100644 --- a/core/Tasks/contract/render-document.json +++ b/core/Tasks/contract/render-document.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/contract/render-document", + "url": "http://mockoon:3001/api/contract/render-document", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/check-device-registration.json b/core/Tasks/oauth/check-device-registration.json index e8b4414..6736ac4 100644 --- a/core/Tasks/oauth/check-device-registration.json +++ b/core/Tasks/oauth/check-device-registration.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/devices/check/", + "url": "http://mockoon:3001/api/oauth2/devices/check/", "method": "GET", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/check-push-response.json b/core/Tasks/oauth/check-push-response.json index fd90b2e..91865b0 100644 --- a/core/Tasks/oauth/check-push-response.json +++ b/core/Tasks/oauth/check-push-response.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/push/status", + "url": "http://mockoon:3001/api/oauth2/push/status", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/generate-tokens.json b/core/Tasks/oauth/generate-tokens.json index 4a7a1c3..caa1fe9 100644 --- a/core/Tasks/oauth/generate-tokens.json +++ b/core/Tasks/oauth/generate-tokens.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/tokens/generate", + "url": "http://mockoon:3001/api/oauth2/tokens/generate", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/register-device.json b/core/Tasks/oauth/register-device.json index 78bf3c4..14eada0 100644 --- a/core/Tasks/oauth/register-device.json +++ b/core/Tasks/oauth/register-device.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/devices/register", + "url": "http://mockoon:3001/api/oauth2/devices/register", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/send-otp-notification.json b/core/Tasks/oauth/send-otp-notification.json index 907e43a..26770e5 100644 --- a/core/Tasks/oauth/send-otp-notification.json +++ b/core/Tasks/oauth/send-otp-notification.json @@ -15,7 +15,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/otp/send", + "url": "http://mockoon:3001/api/oauth2/otp/send", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/send-push-notification.json b/core/Tasks/oauth/send-push-notification.json index 3cbcd1e..4278c11 100644 --- a/core/Tasks/oauth/send-push-notification.json +++ b/core/Tasks/oauth/send-push-notification.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/push/send", + "url": "http://mockoon:3001/api/oauth2/push/send", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/validate-authorization-code.json b/core/Tasks/oauth/validate-authorization-code.json index 50eea10..a0c3491 100644 --- a/core/Tasks/oauth/validate-authorization-code.json +++ b/core/Tasks/oauth/validate-authorization-code.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/user/validate-authorization-code", + "url": "http://mockoon:3001/api/oauth2/user/validate-authorization-code", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/validate-client.json b/core/Tasks/oauth/validate-client.json index 5b1c580..7cbe900 100644 --- a/core/Tasks/oauth/validate-client.json +++ b/core/Tasks/oauth/validate-client.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/client/validate", + "url": "http://mockoon:3001/api/oauth2/client/validate", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/validate-user-credentials.json b/core/Tasks/oauth/validate-user-credentials.json index cc4150a..82f2a40 100644 --- a/core/Tasks/oauth/validate-user-credentials.json +++ b/core/Tasks/oauth/validate-user-credentials.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/user/authenticate", + "url": "http://mockoon:3001/api/oauth2/user/authenticate", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/oauth/verify-otp-code.json b/core/Tasks/oauth/verify-otp-code.json index a74759a..861b867 100644 --- a/core/Tasks/oauth/verify-otp-code.json +++ b/core/Tasks/oauth/verify-otp-code.json @@ -14,7 +14,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/oauth2/otp/verify", + "url": "http://mockoon:3001/api/oauth2/otp/verify", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/activate-payment-schedule.json b/core/Tasks/payments/activate-payment-schedule.json index 61eed63..6556187 100644 --- a/core/Tasks/payments/activate-payment-schedule.json +++ b/core/Tasks/payments/activate-payment-schedule.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/schedules/{scheduleId}/activate", + "url": "http://mockoon:3001/api/payments/schedules/{scheduleId}/activate", "method": "PATCH", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/archive-payment-record.json b/core/Tasks/payments/archive-payment-record.json index 64f9d05..1149578 100644 --- a/core/Tasks/payments/archive-payment-record.json +++ b/core/Tasks/payments/archive-payment-record.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/schedules/{scheduleId}/archive", + "url": "http://mockoon:3001/api/payments/schedules/{scheduleId}/archive", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/deactivate-payment-schedule.json b/core/Tasks/payments/deactivate-payment-schedule.json index 2c10b5c..222962c 100644 --- a/core/Tasks/payments/deactivate-payment-schedule.json +++ b/core/Tasks/payments/deactivate-payment-schedule.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/schedules/{scheduleId}/deactivate", + "url": "http://mockoon:3001/api/payments/schedules/{scheduleId}/deactivate", "method": "PATCH", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/get-user-info.json b/core/Tasks/payments/get-user-info.json index 628989a..cacd2e7 100644 --- a/core/Tasks/payments/get-user-info.json +++ b/core/Tasks/payments/get-user-info.json @@ -14,7 +14,7 @@ "type": "6", "config": { "method": "GET", - "url": "http://localhost:3001/api/payments/users/{userId}", + "url": "http://mockoon:3001/api/payments/users/{userId}", "headers": { "Content-Type": "application/json" }, diff --git a/core/Tasks/payments/increment-retry-counter.json b/core/Tasks/payments/increment-retry-counter.json index 6cc7eb1..43459b9 100644 --- a/core/Tasks/payments/increment-retry-counter.json +++ b/core/Tasks/payments/increment-retry-counter.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/schedules/{scheduleId}/retry", + "url": "http://mockoon:3001/api/payments/schedules/{scheduleId}/retry", "method": "PATCH", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/process-payment.json b/core/Tasks/payments/process-payment.json index 7e0349d..3e1eb58 100644 --- a/core/Tasks/payments/process-payment.json +++ b/core/Tasks/payments/process-payment.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/process", + "url": "http://mockoon:3001/api/payments/process", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/save-payment-configuration.json b/core/Tasks/payments/save-payment-configuration.json index e735ab0..22fb6aa 100644 --- a/core/Tasks/payments/save-payment-configuration.json +++ b/core/Tasks/payments/save-payment-configuration.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/payments/schedules", + "url": "http://mockoon:3001/api/payments/schedules", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/payments/send-payment-notification-sms.json b/core/Tasks/payments/send-payment-notification-sms.json index 45ebb56..90af20d 100644 --- a/core/Tasks/payments/send-payment-notification-sms.json +++ b/core/Tasks/payments/send-payment-notification-sms.json @@ -14,7 +14,7 @@ "type": "6", "config": { "method": "POST", - "url": "http://localhost:3001/api/payments/notify/sms", + "url": "http://mockoon:3001/api/payments/notify/sms", "headers": { "Content-Type": "application/json" }, diff --git a/core/Tasks/payments/send-payment-push-notification.json b/core/Tasks/payments/send-payment-push-notification.json index e2df447..558699d 100644 --- a/core/Tasks/payments/send-payment-push-notification.json +++ b/core/Tasks/payments/send-payment-push-notification.json @@ -15,7 +15,7 @@ "type": "6", "config": { "method": "POST", - "url": "http://localhost:3001/api/payments/notify/push", + "url": "http://mockoon:3001/api/payments/notify/push", "headers": { "Content-Type": "application/json" }, diff --git a/core/Tasks/task-test/test-http-items.json b/core/Tasks/task-test/test-http-items.json index 7cb237d..d6b1f87 100644 --- a/core/Tasks/task-test/test-http-items.json +++ b/core/Tasks/task-test/test-http-items.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/task-test/list-items", + "url": "http://mockoon:3001/api/task-test/list-items", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Tasks/task-test/test-http-task.json b/core/Tasks/task-test/test-http-task.json index 2b3977c..189e599 100644 --- a/core/Tasks/task-test/test-http-task.json +++ b/core/Tasks/task-test/test-http-task.json @@ -13,7 +13,7 @@ "attributes": { "type": "6", "config": { - "url": "http://localhost:3001/api/task-test/http-endpoint", + "url": "http://mockoon:3001/api/task-test/http-endpoint", "method": "POST", "headers": { "Content-Type": "application/json" diff --git a/core/Workflows/account-opening/account-opening-workflow.http b/core/Workflows/account-opening/account-opening-workflow.http index 88259b4..d871c05 100644 --- a/core/Workflows/account-opening/account-opening-workflow.http +++ b/core/Workflows/account-opening/account-opening-workflow.http @@ -10,7 +10,7 @@ # # Prerequisites: # 1. vNext Runtime running on localhost:4201 -# 2. Mockoon running on localhost:3001 +# 2. Mockoon running on mockoon:3001 ############################################################################### @baseUrl = http://localhost:4201 diff --git a/core/Workflows/contract/contract-approval-workflow.http b/core/Workflows/contract/contract-approval-workflow.http index 4ab3145..80f7ace 100644 --- a/core/Workflows/contract/contract-approval-workflow.http +++ b/core/Workflows/contract/contract-approval-workflow.http @@ -10,7 +10,7 @@ # # Prerequisites: # 1. vNext Runtime running on localhost:4201 -# 2. Mockoon running on localhost:3001 +# 2. Mockoon running on mockoon:3001 ############################################################################### @baseUrl = http://localhost:4201 @@ -163,11 +163,11 @@ Accept: application/json ############################################################################### ### Test Get Contract Documents (Mockoon) -GET http://localhost:3001/api/contract/documents?groupCode=KG-2024-001 +GET http://mockoon:3001/api/contract/documents?groupCode=KG-2024-001 Accept: application/json ### Test Render Document (Mockoon) -POST http://localhost:3001/api/contract/documents/render +POST http://mockoon:3001/api/contract/documents/render Content-Type: application/json { @@ -177,7 +177,7 @@ Content-Type: application/json } ### Test Notify Document Approved (Mockoon) -POST http://localhost:3001/api/contract/documents/notify-approved +POST http://mockoon:3001/api/contract/documents/notify-approved Content-Type: application/json { diff --git a/core/Workflows/oauth/oauth-authentication-workflow.http b/core/Workflows/oauth/oauth-authentication-workflow.http index e90ef7d..6a5a2b7 100644 --- a/core/Workflows/oauth/oauth-authentication-workflow.http +++ b/core/Workflows/oauth/oauth-authentication-workflow.http @@ -10,7 +10,7 @@ # # Prerequisites: # 1. vNext Runtime running on localhost:4201 -# 2. Mockoon running on localhost:3001 +# 2. Mockoon running on mockoon:3001 ############################################################################### @baseUrl = http://localhost:4201 diff --git a/core/Workflows/payments/scheduled-payments-workflow.http b/core/Workflows/payments/scheduled-payments-workflow.http index 26a23dd..aabf056 100644 --- a/core/Workflows/payments/scheduled-payments-workflow.http +++ b/core/Workflows/payments/scheduled-payments-workflow.http @@ -10,7 +10,7 @@ # # Prerequisites: # 1. vNext Runtime running on localhost:4201 -# 2. Mockoon running on localhost:3001 +# 2. Mockoon running on mockoon:3001 ############################################################################### @baseUrl = http://localhost:4201 diff --git a/core/Workflows/task-test/task-test-workflow.http b/core/Workflows/task-test/task-test-workflow.http index adb795b..7288b1e 100644 --- a/core/Workflows/task-test/task-test-workflow.http +++ b/core/Workflows/task-test/task-test-workflow.http @@ -14,7 +14,7 @@ # # Prerequisites: # 1. vNext Runtime running on localhost:4201 -# 2. Mockoon running on localhost:3001 +# 2. Mockoon running on mockoon:3001 # 3. Dapr sidecar running (for DaprPubSub and DaprServiceTask) ############################################################################### @@ -107,11 +107,11 @@ Content-Type: application/json ############################################################################### ### Test Mockoon Health Check -GET http://localhost:3001/health +GET http://mockoon:3001/health Accept: application/json ### Test Task Test HTTP Endpoint (Mockoon) -POST http://localhost:3001/api/task-test/http-endpoint +POST http://mockoon:3001/api/task-test/http-endpoint Content-Type: application/json { @@ -121,7 +121,7 @@ Content-Type: application/json } ### Test Task Test HTTP Endpoint - Error Scenario -POST http://localhost:3001/api/task-test/http-endpoint +POST http://mockoon:3001/api/task-test/http-endpoint Content-Type: application/json { diff --git a/package-lock.json b/package-lock.json index cfba144..946c669 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,14 +10,14 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@burgan-tech/vnext-schema": "^0.0.27" + "@burgan-tech/vnext-schema": "^0.0.28" }, "bin": { "vnext-setup": "setup.js", "vnext-template": "init.js" }, "devDependencies": { - "@burgan-tech/vnext-schema": "^0.0.27", + "@burgan-tech/vnext-schema": "^0.0.28", "ajv": "^8.12.0", "ajv-formats": "^2.1.1" }, @@ -26,9 +26,9 @@ } }, "node_modules/@burgan-tech/vnext-schema": { - "version": "0.0.27", - "resolved": "https://registry.npmjs.org/@burgan-tech/vnext-schema/-/vnext-schema-0.0.27.tgz", - "integrity": "sha512-3ESkt6eyPuDcajkO0sB0ptMN7UkzUnV9M2NAGGrNRaLWfnzMkN3AnEzGjfiB/Z3LpUpGRJDhC91KCFIjGinw+w==", + "version": "0.0.28", + "resolved": "https://registry.npmjs.org/@burgan-tech/vnext-schema/-/vnext-schema-0.0.28.tgz", + "integrity": "sha512-p+ZyGXb79N4KCYaIQuzh8+6/ku7L5TcmndQ9illDmyCxXszQPwVM68pQjb/HbvsF0cDfv8kutzmgvuo6rTbC8g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index e6ec049..0d9f614 100644 --- a/package.json +++ b/package.json @@ -55,11 +55,11 @@ "node": ">=16.0.0" }, "devDependencies": { - "@burgan-tech/vnext-schema": "^0.0.27", + "@burgan-tech/vnext-schema": "^0.0.28", "ajv": "^8.12.0", "ajv-formats": "^2.1.1" }, "dependencies": { - "@burgan-tech/vnext-schema": "^0.0.27" + "@burgan-tech/vnext-schema": "^0.0.28" } }