Skip to content

Commit e26028f

Browse files
committed
upgraded to MockServer 5.14.0
1 parent 653c535 commit e26028f

File tree

26 files changed

+884
-937
lines changed

26 files changed

+884
-937
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Description of the issue
1414
Description of what you are trying to do so we can understand the context of the problem
1515

1616
**MockServer version**
17-
The version you are using (i.e. 5.13.2)
17+
The version you are using (i.e. 5.14.0)
1818

1919
**To Reproduce**
2020
Steps to reproduce the issue:

Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function (grunt) {
3535
'-Dmockserver.corsAllowHeaders="Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization"',
3636
'-Dmockserver.corsAllowCredentials=true -Dmockserver.corsMaxAgeInSeconds=300'
3737
],
38-
mockServerVersion: "5.13.2"
38+
mockServerVersion: "5.14.0"
3939
}
4040
},
4141
stop_mockserver: {
@@ -72,7 +72,7 @@ module.exports = function (grunt) {
7272
var done = this.async();
7373
var artifactoryHost = 'oss.sonatype.org';
7474
var artifactoryPath = '/content/repositories/releases/org/mock-server/mockserver-netty/';
75-
require('./downloadJar').downloadJar('5.13.2', artifactoryHost, artifactoryPath).then(function () {
75+
require('./downloadJar').downloadJar('5.14.0', artifactoryHost, artifactoryPath).then(function () {
7676
done(true);
7777
}, function () {
7878
done(false);

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This value specifies the path to the artifactory leading to the mockserver-netty
112112

113113
#### options.mockServerVersion
114114
Type: `String`
115-
Default value: `5.13.2`
115+
Default value: `5.14.0`
116116

117117
This value specifies the artifact version of MockServer to download.
118118

examples/add_array_of_expectations/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/bug/main.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const ms = require("mockserver-node");
2+
ms.start_mockserver({
3+
serverPort: 3030,
4+
verbose: true,
5+
debug: true,
6+
jvmOptions: [
7+
"-Dmockserver.enableCORSForAPI=true",
8+
'-Dmockserver.corsAllowMethods="CONNECT, X, GET, HEAD, OPTIONS, POST, PUT, PATCH, TRACE"',
9+
],
10+
});

examples/bug/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"mockserver-node": "^5.14.0"
4+
}
5+
}

examples/callback_action_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/client_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/client_examples/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function runMockServer() {
1010
'-Dmockserver.corsAllowHeaders="Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization"',
1111
'-Dmockserver.corsAllowCredentials=true -Dmockserver.corsMaxAgeInSeconds=300'
1212
],
13-
mockServerVersion: "5.13.2",
13+
mockServerVersion: "5.14.0",
1414
verbose: true
1515
})
1616
.then(

examples/error_action_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/forward_action_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/openapi_expectations_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/openapi_request_matcher_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/request_properties_matcher_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/response_action_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/retrieve_active_expectations_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/retrieve_recorded_expectations_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/retrieve_recorded_requests_and_responses_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/retrieve_recorded_requests_examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2"
9+
"mockserver-client": "5.14.0"
1010
}
1111
}

examples/reverse_proxy_example/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2",
10-
"mockserver-node": "5.13.2"
9+
"mockserver-client": "5.14.0",
10+
"mockserver-node": "5.14.0"
1111
}
1212
}

examples/run_mockserver/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-node": "5.13.2"
9+
"mockserver-node": "5.14.0"
1010
}
1111
}

examples/run_mockserver/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mockserver
99
'-Dmockserver.corsAllowHeaders="Allow, Content-Encoding, Content-Length, Content-Type, ETag, Expires, Last-Modified, Location, Server, Vary, Authorization"',
1010
'-Dmockserver.corsAllowCredentials=true -Dmockserver.corsMaxAgeInSeconds=300'
1111
],
12-
mockServerVersion: "5.13.2",
12+
mockServerVersion: "5.14.0",
1313
verbose: true
1414
})
1515
.then(

examples/run_mockserver_and_add_expectations/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "James D Bloom",
77
"license": "Apache-2.0",
88
"dependencies": {
9-
"mockserver-client": "5.13.2",
10-
"mockserver-node": "5.13.2"
9+
"mockserver-client": "5.14.0",
10+
"mockserver-node": "5.14.0"
1111
}
1212
}

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = (function () {
1313
var logLevel;
1414
var artifactoryHost = 'oss.sonatype.org';
1515
var artifactoryPath = '/content/repositories/releases/org/mock-server/mockserver-netty/';
16-
var mockServerVersion = '5.13.2';
16+
var mockServerVersion = '5.14.0';
1717
var Q = require('q');
1818
var http = require('http');
1919

0 commit comments

Comments
 (0)