@pact-foundation/pact-core 13.4.1-beta.1 → 13.4.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.gyp +4 -8
- package/build/Makefile +352 -0
- package/build/binding.Makefile +6 -0
- package/build/copy_release_artifacts.target.mk +47 -0
- package/build/gyp-mac-tool +777 -0
- package/build/pact.target.mk +205 -0
- package/build/set_osx_install_name.target.mk +48 -0
- package/ffi/libpact_ffi.dylib +0 -0
- package/ffi/libpact_ffi.so +0 -0
- package/ffi/osxaarch64/libpact_ffi.dylib +0 -0
- package/ffi/pact.h +599 -108
- package/ffi/pact_ffi.dll +0 -0
- package/ffi/pact_ffi.dll.lib +0 -0
- package/native/consumer.cc +89 -33
- package/package.json +4 -7
- package/src/consumer/__testoutput__/foo-consumer-bar-provider.json +89 -0
- package/src/consumer/index.d.ts +1 -0
- package/src/consumer/index.js +43 -31
- package/src/consumer/index.js.map +1 -1
- package/src/consumer/types.d.ts +3 -0
- package/src/ffi/index.d.ts +4 -4
- package/src/ffi/index.js +6 -9
- package/src/ffi/index.js.map +1 -1
- package/src/ffi/internals/index.d.ts +0 -2
- package/src/ffi/internals/index.js +1 -11
- package/src/ffi/internals/index.js.map +1 -1
- package/src/ffi/internals/types.d.ts +2 -4
- package/src/ffi/types.d.ts +53 -0
- package/src/ffi/types.js +23 -1
- package/src/ffi/types.js.map +1 -1
- package/src/publisher.d.ts +1 -0
- package/src/publisher.js +11 -4
- package/src/publisher.js.map +1 -1
- package/src/verifier/nativeVerifier.js +12 -12
- package/src/verifier/nativeVerifier.js.map +1 -1
- package/src/verifier/types.d.ts +3 -0
- package/src/verifier/validateOptions.js +3 -1
- package/src/verifier/validateOptions.js.map +1 -1
- package/standalone/install.d.ts +1 -1
- package/standalone/install.js +1 -1
- package/ffi/libpact_ffi.so.gz +0 -0
- package/native/consumer.c +0 -210
- package/src/ffi/argumentMapper/index.d.ts +0 -2
- package/src/ffi/argumentMapper/index.js +0 -47
- package/src/ffi/argumentMapper/index.js.map +0 -1
- package/src/ffi/argumentMapper/types.d.ts +0 -8
- package/src/ffi/argumentMapper/types.js +0 -3
- package/src/ffi/argumentMapper/types.js.map +0 -1
- package/src/ffi/declarations.d.ts +0 -117
- package/src/ffi/declarations.js +0 -66
- package/src/ffi/declarations.js.map +0 -1
- package/src/verifier/arguments.d.ts +0 -13
- package/src/verifier/arguments.js +0 -89
- package/src/verifier/arguments.js.map +0 -1
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
declare const InteractionHandle = "uint16";
|
|
2
|
-
declare const PactHandle = "uint32";
|
|
3
|
-
export declare type FfiDeclarations = {
|
|
4
|
-
pactffi_init: ['string', ['string']];
|
|
5
|
-
pactffi_version: ['string', []];
|
|
6
|
-
pactffi_free_string: ['void', ['string']];
|
|
7
|
-
pactffi_verify: ['int32', ['string']];
|
|
8
|
-
pactffi_create_mock_server_for_pact: [
|
|
9
|
-
'int',
|
|
10
|
-
[
|
|
11
|
-
typeof PactHandle,
|
|
12
|
-
'string',
|
|
13
|
-
'bool'
|
|
14
|
-
]
|
|
15
|
-
];
|
|
16
|
-
pactffi_new_pact: [typeof PactHandle, ['string', 'string']];
|
|
17
|
-
pactffi_with_specification: ['bool', [typeof PactHandle, 'int']];
|
|
18
|
-
pactffi_mock_server_matched: ['bool', ['int32']];
|
|
19
|
-
pactffi_new_interaction: [
|
|
20
|
-
typeof InteractionHandle,
|
|
21
|
-
[
|
|
22
|
-
typeof PactHandle,
|
|
23
|
-
'string'
|
|
24
|
-
]
|
|
25
|
-
];
|
|
26
|
-
pactffi_upon_receiving: ['bool', [typeof InteractionHandle, 'string']];
|
|
27
|
-
pactffi_given: ['bool', [typeof InteractionHandle, 'string']];
|
|
28
|
-
pactffi_given_with_param: [
|
|
29
|
-
'bool',
|
|
30
|
-
[
|
|
31
|
-
typeof InteractionHandle,
|
|
32
|
-
'string',
|
|
33
|
-
'string',
|
|
34
|
-
'string'
|
|
35
|
-
]
|
|
36
|
-
];
|
|
37
|
-
pactffi_with_request: [
|
|
38
|
-
'bool',
|
|
39
|
-
[
|
|
40
|
-
typeof InteractionHandle,
|
|
41
|
-
'string',
|
|
42
|
-
'string'
|
|
43
|
-
]
|
|
44
|
-
];
|
|
45
|
-
pactffi_with_query_parameter: [
|
|
46
|
-
'bool',
|
|
47
|
-
[
|
|
48
|
-
typeof InteractionHandle,
|
|
49
|
-
'string',
|
|
50
|
-
'int',
|
|
51
|
-
'string'
|
|
52
|
-
]
|
|
53
|
-
];
|
|
54
|
-
pactffi_with_header: [
|
|
55
|
-
'bool',
|
|
56
|
-
[
|
|
57
|
-
typeof InteractionHandle,
|
|
58
|
-
'int',
|
|
59
|
-
'string',
|
|
60
|
-
'int',
|
|
61
|
-
'string'
|
|
62
|
-
]
|
|
63
|
-
];
|
|
64
|
-
pactffi_with_body: [
|
|
65
|
-
'bool',
|
|
66
|
-
[
|
|
67
|
-
typeof InteractionHandle,
|
|
68
|
-
'int',
|
|
69
|
-
'string',
|
|
70
|
-
'string'
|
|
71
|
-
]
|
|
72
|
-
];
|
|
73
|
-
pactffi_with_multipart_file: [
|
|
74
|
-
'bool',
|
|
75
|
-
[
|
|
76
|
-
typeof InteractionHandle,
|
|
77
|
-
'int',
|
|
78
|
-
'string',
|
|
79
|
-
'string',
|
|
80
|
-
'string'
|
|
81
|
-
]
|
|
82
|
-
];
|
|
83
|
-
pactffi_response_status: ['bool', [typeof InteractionHandle, 'int']];
|
|
84
|
-
pactffi_write_pact_file: ['int32', ['int32', 'string', 'bool']];
|
|
85
|
-
pactffi_cleanup_mock_server: ['bool', ['int']];
|
|
86
|
-
pactffi_mock_server_mismatches: ['string', ['int']];
|
|
87
|
-
pactffi_get_tls_ca_certificate: ['string', []];
|
|
88
|
-
pactffi_log_message: ['void', ['string', 'string', 'string']];
|
|
89
|
-
pactffi_log_to_buffer: ['int32', ['int32']];
|
|
90
|
-
pactffi_init_with_log_level: ['void', ['int32']];
|
|
91
|
-
pactffi_log_to_stdout: ['int32', ['int32']];
|
|
92
|
-
pactffi_log_to_file: ['int32', ['string', 'int32', 'int32']];
|
|
93
|
-
pactffi_fetch_log_buffer: ['string', ['int32']];
|
|
94
|
-
pactffi_with_pact_metadata: [
|
|
95
|
-
'bool',
|
|
96
|
-
[
|
|
97
|
-
typeof PactHandle,
|
|
98
|
-
'string',
|
|
99
|
-
'string',
|
|
100
|
-
'string'
|
|
101
|
-
]
|
|
102
|
-
];
|
|
103
|
-
};
|
|
104
|
-
export declare const declarations: FfiDeclarations;
|
|
105
|
-
export declare enum FfiFunctionResult {
|
|
106
|
-
RESULT_OK = 0,
|
|
107
|
-
RESULT_FAILED = 1
|
|
108
|
-
}
|
|
109
|
-
export declare enum FfiLogLevelFilter {
|
|
110
|
-
LOG_LEVEL_OFF = 0,
|
|
111
|
-
LOG_LEVEL_ERROR = 1,
|
|
112
|
-
LOG_LEVEL_WARN = 2,
|
|
113
|
-
LOG_LEVEL_INFO = 3,
|
|
114
|
-
LOG_LEVEL_DEBUG = 4,
|
|
115
|
-
LOG_LEVEL_TRACE = 5
|
|
116
|
-
}
|
|
117
|
-
export {};
|
package/src/ffi/declarations.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FfiLogLevelFilter = exports.FfiFunctionResult = exports.declarations = void 0;
|
|
4
|
-
var InteractionHandle = 'uint16';
|
|
5
|
-
var PactHandle = 'uint32';
|
|
6
|
-
exports.declarations = {
|
|
7
|
-
pactffi_init: ['string', ['string']],
|
|
8
|
-
pactffi_version: ['string', []],
|
|
9
|
-
pactffi_free_string: ['void', ['string']],
|
|
10
|
-
pactffi_verify: ['int32', ['string']],
|
|
11
|
-
pactffi_create_mock_server_for_pact: ['int', [PactHandle, 'string', 'bool']],
|
|
12
|
-
pactffi_new_pact: [PactHandle, ['string', 'string']],
|
|
13
|
-
pactffi_with_specification: ['bool', [PactHandle, 'int']],
|
|
14
|
-
pactffi_mock_server_matched: ['bool', ['int32']],
|
|
15
|
-
pactffi_new_interaction: [InteractionHandle, [PactHandle, 'string']],
|
|
16
|
-
pactffi_upon_receiving: ['bool', [InteractionHandle, 'string']],
|
|
17
|
-
pactffi_given: ['bool', [InteractionHandle, 'string']],
|
|
18
|
-
pactffi_given_with_param: [
|
|
19
|
-
'bool',
|
|
20
|
-
[InteractionHandle, 'string', 'string', 'string'],
|
|
21
|
-
],
|
|
22
|
-
pactffi_with_request: ['bool', [InteractionHandle, 'string', 'string']],
|
|
23
|
-
pactffi_with_query_parameter: [
|
|
24
|
-
'bool',
|
|
25
|
-
[InteractionHandle, 'string', 'int', 'string'],
|
|
26
|
-
],
|
|
27
|
-
pactffi_with_header: [
|
|
28
|
-
'bool',
|
|
29
|
-
[InteractionHandle, 'int', 'string', 'int', 'string'],
|
|
30
|
-
],
|
|
31
|
-
pactffi_with_body: ['bool', [InteractionHandle, 'int', 'string', 'string']],
|
|
32
|
-
pactffi_with_multipart_file: [
|
|
33
|
-
'bool',
|
|
34
|
-
[InteractionHandle, 'int', 'string', 'string', 'string'],
|
|
35
|
-
],
|
|
36
|
-
pactffi_response_status: ['bool', [InteractionHandle, 'int']],
|
|
37
|
-
pactffi_write_pact_file: ['int32', ['int32', 'string', 'bool']],
|
|
38
|
-
pactffi_cleanup_mock_server: ['bool', ['int']],
|
|
39
|
-
pactffi_mock_server_mismatches: ['string', ['int']],
|
|
40
|
-
pactffi_get_tls_ca_certificate: ['string', []],
|
|
41
|
-
pactffi_log_message: ['void', ['string', 'string', 'string']],
|
|
42
|
-
pactffi_log_to_buffer: ['int32', ['int32']],
|
|
43
|
-
pactffi_init_with_log_level: ['void', ['int32']],
|
|
44
|
-
pactffi_fetch_log_buffer: ['string', ['int32']],
|
|
45
|
-
pactffi_log_to_stdout: ['int32', ['int32']],
|
|
46
|
-
pactffi_log_to_file: ['int32', ['string', 'int32', 'int32']],
|
|
47
|
-
pactffi_with_pact_metadata: [
|
|
48
|
-
'bool',
|
|
49
|
-
[PactHandle, 'string', 'string', 'string'],
|
|
50
|
-
],
|
|
51
|
-
};
|
|
52
|
-
var FfiFunctionResult;
|
|
53
|
-
(function (FfiFunctionResult) {
|
|
54
|
-
FfiFunctionResult[FfiFunctionResult["RESULT_OK"] = 0] = "RESULT_OK";
|
|
55
|
-
FfiFunctionResult[FfiFunctionResult["RESULT_FAILED"] = 1] = "RESULT_FAILED";
|
|
56
|
-
})(FfiFunctionResult = exports.FfiFunctionResult || (exports.FfiFunctionResult = {}));
|
|
57
|
-
var FfiLogLevelFilter;
|
|
58
|
-
(function (FfiLogLevelFilter) {
|
|
59
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_OFF"] = 0] = "LOG_LEVEL_OFF";
|
|
60
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_ERROR"] = 1] = "LOG_LEVEL_ERROR";
|
|
61
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_WARN"] = 2] = "LOG_LEVEL_WARN";
|
|
62
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
63
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_DEBUG"] = 4] = "LOG_LEVEL_DEBUG";
|
|
64
|
-
FfiLogLevelFilter[FfiLogLevelFilter["LOG_LEVEL_TRACE"] = 5] = "LOG_LEVEL_TRACE";
|
|
65
|
-
})(FfiLogLevelFilter = exports.FfiLogLevelFilter || (exports.FfiLogLevelFilter = {}));
|
|
66
|
-
//# sourceMappingURL=declarations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"declarations.js","sourceRoot":"","sources":["declarations.ts"],"names":[],"mappings":";;;AAWA,IAAM,iBAAiB,GAAG,QAAQ,CAAA;AAClC,IAAM,UAAU,GAAG,QAAQ,CAAA;AAoGd,QAAA,YAAY,GAAoB;IAC3C,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AAY,iBAAiB;IAC3B,2EAAiB,CAAA;IACjB,+EAAe,CAAA;IACf,6EAAc,CAAA;IACd,6EAAc,CAAA;IACd,+EAAe,CAAA;IACf,+EAAe,CAAA;AACjB,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ArgMapping } from '../ffi/argumentMapper/types';
|
|
2
|
-
import { VerifierOptions } from './types';
|
|
3
|
-
declare type DeprecatedVerifierOptions = {
|
|
4
|
-
format?: 'json' | 'xml' | 'progress' | 'RspecJunitFormatter';
|
|
5
|
-
out?: string;
|
|
6
|
-
customProviderHeaders?: string[];
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
monkeypatch?: string;
|
|
9
|
-
logDir?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const ignoredArguments: string[];
|
|
12
|
-
export declare const argMapping: ArgMapping<VerifierOptions & DeprecatedVerifierOptions>;
|
|
13
|
-
export {};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
3
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
4
|
-
to[j] = from[i];
|
|
5
|
-
return to;
|
|
6
|
-
};
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.argMapping = exports.ignoredArguments = void 0;
|
|
9
|
-
var url = require("url");
|
|
10
|
-
var filesystem_1 = require("./filesystem");
|
|
11
|
-
exports.ignoredArguments = [
|
|
12
|
-
'requestFilter',
|
|
13
|
-
'stateHandlers',
|
|
14
|
-
'messageProviders',
|
|
15
|
-
'changeOrigin',
|
|
16
|
-
'beforeEach',
|
|
17
|
-
'afterEach',
|
|
18
|
-
'validateSSL',
|
|
19
|
-
];
|
|
20
|
-
exports.argMapping = {
|
|
21
|
-
providerBaseUrl: function (providerBaseUrl) {
|
|
22
|
-
var u = url.parse(providerBaseUrl);
|
|
23
|
-
return u && u.port && u.hostname
|
|
24
|
-
? ['--port', u.port, '--hostname', u.hostname]
|
|
25
|
-
: [];
|
|
26
|
-
},
|
|
27
|
-
logLevel: function (logLevel) { return ['--loglevel', logLevel]; },
|
|
28
|
-
provider: { arg: '--provider-name', mapper: 'string' },
|
|
29
|
-
pactUrls: function (pactUrls) {
|
|
30
|
-
return pactUrls.reduce(function (acc, uri) {
|
|
31
|
-
switch (filesystem_1.getUriType(uri)) {
|
|
32
|
-
case 'URL':
|
|
33
|
-
return __spreadArray(__spreadArray([], acc), ['--url', uri]);
|
|
34
|
-
case 'DIRECTORY':
|
|
35
|
-
return __spreadArray(__spreadArray([], acc), ['--dir', uri]);
|
|
36
|
-
case 'FILE':
|
|
37
|
-
return __spreadArray(__spreadArray([], acc), ['--file', uri]);
|
|
38
|
-
default:
|
|
39
|
-
return acc;
|
|
40
|
-
}
|
|
41
|
-
}, []);
|
|
42
|
-
},
|
|
43
|
-
pactBrokerUrl: { arg: '--broker-url', mapper: 'string' },
|
|
44
|
-
pactBrokerUsername: { arg: '--user', mapper: 'string' },
|
|
45
|
-
pactBrokerPassword: { arg: '--password', mapper: 'string' },
|
|
46
|
-
pactBrokerToken: { arg: '--token', mapper: 'string' },
|
|
47
|
-
consumerVersionTags: function (tags) { return [
|
|
48
|
-
'--consumer-version-tags',
|
|
49
|
-
Array.isArray(tags) ? tags.join(',') : tags,
|
|
50
|
-
]; },
|
|
51
|
-
providerVersionTags: function (tags) { return [
|
|
52
|
-
'--provider-tags',
|
|
53
|
-
Array.isArray(tags) ? tags.join(',') : tags,
|
|
54
|
-
]; },
|
|
55
|
-
providerStatesSetupUrl: { arg: '--state-change-url', mapper: 'string' },
|
|
56
|
-
providerVersion: { arg: '--provider-version', mapper: 'string' },
|
|
57
|
-
includeWipPactsSince: { arg: '--include-wip-pacts-since', mapper: 'string' },
|
|
58
|
-
consumerVersionSelectors: function (selectors) {
|
|
59
|
-
return selectors
|
|
60
|
-
.map(function (s) { return [
|
|
61
|
-
'--consumer-version-selectors',
|
|
62
|
-
JSON.stringify(s),
|
|
63
|
-
]; })
|
|
64
|
-
.reduce(function (acc, current) { return __spreadArray(__spreadArray([], acc), current); }, []);
|
|
65
|
-
},
|
|
66
|
-
publishVerificationResult: { arg: '--publish', mapper: 'flag' },
|
|
67
|
-
enablePending: { arg: '--enable-pending', mapper: 'flag' },
|
|
68
|
-
timeout: { arg: '--request-timeout', mapper: 'string' },
|
|
69
|
-
disableSslVerification: { arg: '--disable-ssl-verification', mapper: 'flag' },
|
|
70
|
-
format: {
|
|
71
|
-
warningMessage: "All output is now on standard out, setting 'format' has no effect",
|
|
72
|
-
},
|
|
73
|
-
out: {
|
|
74
|
-
warningMessage: "All output is now on standard out, setting 'out' has no effect",
|
|
75
|
-
},
|
|
76
|
-
logDir: {
|
|
77
|
-
warningMessage: 'Setting logDir is deprecated as all logs are now on standard out',
|
|
78
|
-
},
|
|
79
|
-
verbose: {
|
|
80
|
-
warningMessage: "Verbose mode is deprecated and has no effect, please use logLevel: 'DEBUG' instead",
|
|
81
|
-
},
|
|
82
|
-
monkeypatch: {
|
|
83
|
-
warningMessage: 'The undocumented feature monkeypatch is no more, please file an issue if you were using it and need this functionality',
|
|
84
|
-
},
|
|
85
|
-
customProviderHeaders: {
|
|
86
|
-
warningMessage: 'customProviderHeaders have been removed. This functionality is provided by request filters in a much more flexible way',
|
|
87
|
-
},
|
|
88
|
-
};
|
|
89
|
-
//# sourceMappingURL=arguments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arguments.js","sourceRoot":"","sources":["arguments.ts"],"names":[],"mappings":";;;;;;;;AAAA,yBAA4B;AAK5B,2CAA0C;AAa7B,QAAA,gBAAgB,GAAG;IAC9B,eAAe;IACf,eAAe;IACf,kBAAkB;IAClB,cAAc;IACd,YAAY;IACZ,WAAW;IACX,aAAa;CACd,CAAC;AAEW,QAAA,UAAU,GAEnB;IACF,eAAe,EAA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