@skyramp/skyramp 0.5.18 → 0.5.20
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/package.json
CHANGED
|
@@ -51,7 +51,7 @@ const deployTargetWrapper = lib.func('deployTargetWrapper', 'string', ['string',
|
|
|
51
51
|
const deleteTargetWrapper = lib.func('deleteTargetWrapper', 'string', ['string', 'string', 'string', 'string', 'string']);
|
|
52
52
|
const runTesterGenerateRestWrapper = lib.func('runTesterGenerateRestWrapper', testerGenerateType, ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'int', 'bool', 'bool', 'bool']);
|
|
53
53
|
|
|
54
|
-
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', '
|
|
54
|
+
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string']);
|
|
55
55
|
const traceCollectWrapper = lib.func('traceCollectWrapper', 'string', ['string', 'string', 'bool', 'string']);
|
|
56
56
|
const analyzeOpenapiWrapper = lib.func('analyzeOpenapiWrapper', 'string', ['string', 'string']);
|
|
57
57
|
|
|
@@ -710,10 +710,8 @@ class SkyrampClient {
|
|
|
710
710
|
(err, res) => {
|
|
711
711
|
if (err) {
|
|
712
712
|
reject(err);
|
|
713
|
-
} else if (res) {
|
|
714
|
-
reject(new Error(res));
|
|
715
713
|
} else {
|
|
716
|
-
resolve();
|
|
714
|
+
resolve(res);
|
|
717
715
|
}
|
|
718
716
|
}
|
|
719
717
|
);
|
|
@@ -732,7 +730,7 @@ class SkyrampClient {
|
|
|
732
730
|
options.outputDir || "",
|
|
733
731
|
options.runtime || "",
|
|
734
732
|
options.dockerNetwork || "",
|
|
735
|
-
options.dockerWorkerPort || 0,
|
|
733
|
+
options.dockerWorkerPort || "0",
|
|
736
734
|
options.k8sNamespace || "",
|
|
737
735
|
options.k8sConfig || "",
|
|
738
736
|
options.k8sContext || "",
|
|
@@ -763,6 +761,7 @@ class SkyrampClient {
|
|
|
763
761
|
options.loadRampupInterval || "0",
|
|
764
762
|
options.loadTargetRPS || "0",
|
|
765
763
|
options.unblock || false,
|
|
764
|
+
options.entryPoint || "",
|
|
766
765
|
(err, res) => {
|
|
767
766
|
if (err) {
|
|
768
767
|
reject(err);
|