From 9070fbbaaead6f69fb948863439f5ce7b11ebc54 Mon Sep 17 00:00:00 2001 From: Brian Fitzpatrick Date: Tue, 26 Feb 2019 11:05:45 -0700 Subject: [PATCH] issue #36 - fixing problem with processing wsdl from url and fixing sonar issue Signed-off-by: Brian Fitzpatrick --- CHANGELOG.md | 4 ++++ package-lock.json | 2 +- package.json | 2 +- src/extension.ts | 2 +- src/test/wsdl_url.test.ts | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9eb6d09..3f132fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to the "vscode-wsdl2rest" extension will be documented in this file. +## 0.0.5 +- addressed issue with URL-based WSDL files https://github.com/camel-tooling/vscode-wsdl2rest/issues/36 +- addressed issue with focus loss https://github.com/camel-tooling/vscode-wsdl2rest/issues/35 + ## 0.0.4 - addressed issue https://github.com/camel-tooling/vscode-wsdl2rest/issues/30 diff --git a/package-lock.json b/package-lock.json index 88bc35a6..55f85139 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-wsdl2rest", - "version": "0.0.4", + "version": "0.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6c36363b..57fce9a1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "wsdl2rest", "description": "A VS Code extension supporting wsdl2rest via Camel Rest DSL", "license": "Apache-2.0", - "version": "0.0.4", + "version": "0.0.5", "publisher": "camel-tooling", "icon": "icons/icon128.png", "preview": true, diff --git a/src/extension.ts b/src/extension.ts index 42d55e20..5fb70021 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -194,7 +194,7 @@ function callWsdl2Rest(wsdl2restExecutablePath: string): Promise { let outPath: string = path.join(storagePath, outputDirectory); - if (!(wsdlFileUri.startsWith('http:') || !wsdlFileUri.startsWith('https:'))) { + if (!(wsdlFileUri.startsWith('http:') || wsdlFileUri.startsWith('https:'))) { if (!wsdlFileUri.startsWith('file:')) { wsdlFileUri = fileUrl(wsdlFileUri); } diff --git a/src/test/wsdl_url.test.ts b/src/test/wsdl_url.test.ts index bd035f35..2de386ee 100644 --- a/src/test/wsdl_url.test.ts +++ b/src/test/wsdl_url.test.ts @@ -26,6 +26,7 @@ import * as test_utils from './test_utils'; import * as app_soap from './app_soap'; // possible wsdl to test - http://www.thomas-bayer.com/axis2/services/BLZService?wsdl +// possible wsdl to test - https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl suite("Wsdl2rest Extension Tests from URL-provided wsdl file", function () {