wiremock-rest-client
Advanced tools
Comparing version 1.2.0 to 1.2.1
export * from './WireMockRestClient'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { MappingService } from '../service/MappingService'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './client'; | ||
export * from './service'; | ||
export * from './util'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { DelayDistribution } from './DelayDistribution'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { DelayDefinition } from '../model/DelayDefinition'; |
@@ -24,3 +24,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'settings'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'settings'), { | ||
method: 'POST', | ||
@@ -36,3 +36,3 @@ body: JSON.stringify(delayDefinition) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'reset'), { method: 'POST' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'reset'), { method: 'POST' }); | ||
}); | ||
@@ -45,3 +45,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'shutdown'), { method: 'POST' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'shutdown'), { method: 'POST' }); | ||
}); | ||
@@ -48,0 +48,0 @@ } |
export * from './MappingService'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ContentPattern } from '../model/ContentPattern'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { RecordSpec } from '../model/RecordSpec'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ContentPattern } from '../model/ContentPattern'; |
@@ -58,3 +58,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'reset'), { method: 'POST' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'reset'), { method: 'POST' }); | ||
}); | ||
@@ -68,3 +68,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'count'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'count'), { | ||
method: 'POST', | ||
@@ -81,3 +81,3 @@ body: JSON.stringify(requestPattern) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'remove'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'remove'), { | ||
method: 'POST', | ||
@@ -94,3 +94,3 @@ body: JSON.stringify(requestPattern) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'remove-by-metadata'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'remove-by-metadata'), { | ||
method: 'POST', | ||
@@ -107,3 +107,3 @@ body: JSON.stringify(contentPattern) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'find'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'find'), { | ||
method: 'POST', | ||
@@ -119,3 +119,3 @@ body: JSON.stringify(requestPattern) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'unmatched'), { method: 'GET' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'unmatched'), { method: 'GET' }); | ||
}); | ||
@@ -128,3 +128,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'unmatched/near-misses'), { method: 'GET' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'unmatched/near-misses'), { method: 'GET' }); | ||
}); | ||
@@ -138,3 +138,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'near-misses/request'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'near-misses/request'), { | ||
method: 'POST', | ||
@@ -151,3 +151,3 @@ body: JSON.stringify(loggedRequest) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'near-misses/request-pattern'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'near-misses/request-pattern'), { | ||
method: 'POST', | ||
@@ -154,0 +154,0 @@ body: JSON.stringify(requestPattern) |
@@ -0,0 +0,0 @@ import { Scenario } from '../model/Scenario'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class FileUtil { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class HttpUtil { |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './FileUtil'; | ||
export * from './HttpUtil'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "wiremock-rest-client", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Lightweight REST client to interact with a running WireMock server", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,0 +0,0 @@ # WireMock REST Client |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53659