From 7a3c170c215c5a1e861308db0923877179f730ea Mon Sep 17 00:00:00 2001 From: "Evgen Korobchuk (VGS)" <44065191+awaesome@users.noreply.github.com> Date: Mon, 11 Apr 2022 14:27:08 +0300 Subject: [PATCH] [refactor] updated port for some code-examples --- content-by-language/java/outbound-integration.java | 2 +- content-by-language/node/outbound-integration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content-by-language/java/outbound-integration.java b/content-by-language/java/outbound-integration.java index a5d05eb..ac9ac3a 100644 --- a/content-by-language/java/outbound-integration.java +++ b/content-by-language/java/outbound-integration.java @@ -25,7 +25,7 @@ public class OutboundIntegration { public static void main(String[] args) throws IOException, InterruptedException, GeneralSecurityException { System.setProperty("jdk.http.auth.tunneling.disabledSchemes", ""); final String proxyHost = "{VAULT_HOST}"; - final var proxyPort = {PORT}; + final var proxyPort = {SECURE_PORT}; final String proxyUser = "{USERNAME}"; final String proxyPassword = "{PASSWORD}"; diff --git a/content-by-language/node/outbound-integration.js b/content-by-language/node/outbound-integration.js index 6b28c4d..c66950b 100644 --- a/content-by-language/node/outbound-integration.js +++ b/content-by-language/node/outbound-integration.js @@ -7,7 +7,7 @@ async function getData() { ca: [ fs.readFileSync('{CERT_LOCATION}')], proxy: { host: '{VAULT_HOST}', - port: '{PORT}', + port: '{SECURE_PORT}', proxyAuth: '{ACCESS_CREDENTIALS}' } });