@skyramp/skyramp 0.4.68 → 0.4.69
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/lib/dev-darwin-amd64.dylib +0 -0
- package/lib/dev-darwin-amd64.h +1 -1
- package/lib/dev-darwin-arm64.dylib +0 -0
- package/lib/dev-darwin-arm64.h +1 -1
- package/lib/dev-linux-386.h +1 -1
- package/lib/dev-linux-386.so +0 -0
- package/lib/dev-linux-amd64.h +1 -1
- package/lib/dev-linux-amd64.so +0 -0
- package/lib/dev-windows-amd64.dll +0 -0
- package/lib/dev-windows-amd64.h +1 -1
- package/package.json +1 -1
- package/src/classes/RestEndpoint.js +4 -2
|
Binary file
|
package/lib/dev-darwin-amd64.h
CHANGED
|
@@ -118,7 +118,7 @@ extern char* generateUserTokenWrapper(char* provider, char* email, char* oauthTo
|
|
|
118
118
|
extern struct worker_info newStartDockerSkyrampWorkerWrapper(char* image, char* tag, GoInt hostPort, char* targetNetworkName);
|
|
119
119
|
extern char* newDeleteDockerSkyrampWorkerWrapper(char* containerName);
|
|
120
120
|
extern char* newGrpcEndpointWrapper(char* name, char* serviceName, GoInt port, char* inputFile);
|
|
121
|
-
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile);
|
|
121
|
+
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile, char* restPath);
|
|
122
122
|
extern char* getEndpointWrapper(char* service, GoInt port, char* restPath);
|
|
123
123
|
extern char* writeMockDescriptionWrapper(char* mockDescription, char* kubernetesService);
|
|
124
124
|
extern char* writeTestDescriptionWrapper(char* testDescription, char* testName);
|
|
Binary file
|
package/lib/dev-darwin-arm64.h
CHANGED
|
@@ -118,7 +118,7 @@ extern char* generateUserTokenWrapper(char* provider, char* email, char* oauthTo
|
|
|
118
118
|
extern struct worker_info newStartDockerSkyrampWorkerWrapper(char* image, char* tag, GoInt hostPort, char* targetNetworkName);
|
|
119
119
|
extern char* newDeleteDockerSkyrampWorkerWrapper(char* containerName);
|
|
120
120
|
extern char* newGrpcEndpointWrapper(char* name, char* serviceName, GoInt port, char* inputFile);
|
|
121
|
-
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile);
|
|
121
|
+
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile, char* restPath);
|
|
122
122
|
extern char* getEndpointWrapper(char* service, GoInt port, char* restPath);
|
|
123
123
|
extern char* writeMockDescriptionWrapper(char* mockDescription, char* kubernetesService);
|
|
124
124
|
extern char* writeTestDescriptionWrapper(char* testDescription, char* testName);
|
package/lib/dev-linux-386.h
CHANGED
|
@@ -118,7 +118,7 @@ extern char* generateUserTokenWrapper(char* provider, char* email, char* oauthTo
|
|
|
118
118
|
extern struct worker_info newStartDockerSkyrampWorkerWrapper(char* image, char* tag, GoInt hostPort, char* targetNetworkName);
|
|
119
119
|
extern char* newDeleteDockerSkyrampWorkerWrapper(char* containerName);
|
|
120
120
|
extern char* newGrpcEndpointWrapper(char* name, char* serviceName, GoInt port, char* inputFile);
|
|
121
|
-
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile);
|
|
121
|
+
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile, char* restPath);
|
|
122
122
|
extern char* getEndpointWrapper(char* service, GoInt port, char* restPath);
|
|
123
123
|
extern char* writeMockDescriptionWrapper(char* mockDescription, char* kubernetesService);
|
|
124
124
|
extern char* writeTestDescriptionWrapper(char* testDescription, char* testName);
|
package/lib/dev-linux-386.so
CHANGED
|
Binary file
|
package/lib/dev-linux-amd64.h
CHANGED
|
@@ -118,7 +118,7 @@ extern char* generateUserTokenWrapper(char* provider, char* email, char* oauthTo
|
|
|
118
118
|
extern struct worker_info newStartDockerSkyrampWorkerWrapper(char* image, char* tag, GoInt hostPort, char* targetNetworkName);
|
|
119
119
|
extern char* newDeleteDockerSkyrampWorkerWrapper(char* containerName);
|
|
120
120
|
extern char* newGrpcEndpointWrapper(char* name, char* serviceName, GoInt port, char* inputFile);
|
|
121
|
-
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile);
|
|
121
|
+
extern char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile, char* restPath);
|
|
122
122
|
extern char* getEndpointWrapper(char* service, GoInt port, char* restPath);
|
|
123
123
|
extern char* writeMockDescriptionWrapper(char* mockDescription, char* kubernetesService);
|
|
124
124
|
extern char* writeTestDescriptionWrapper(char* testDescription, char* testName);
|
package/lib/dev-linux-amd64.so
CHANGED
|
Binary file
|
|
Binary file
|
package/lib/dev-windows-amd64.h
CHANGED
|
@@ -118,7 +118,7 @@ extern __declspec(dllexport) char* generateUserTokenWrapper(char* provider, char
|
|
|
118
118
|
extern __declspec(dllexport) struct worker_info newStartDockerSkyrampWorkerWrapper(char* image, char* tag, GoInt hostPort, char* targetNetworkName);
|
|
119
119
|
extern __declspec(dllexport) char* newDeleteDockerSkyrampWorkerWrapper(char* containerName);
|
|
120
120
|
extern __declspec(dllexport) char* newGrpcEndpointWrapper(char* name, char* serviceName, GoInt port, char* inputFile);
|
|
121
|
-
extern __declspec(dllexport) char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile);
|
|
121
|
+
extern __declspec(dllexport) char* newRestEndpointWrapper(char* name, char* openApiTag, GoInt port, char* inputFile, char* restPath);
|
|
122
122
|
extern __declspec(dllexport) char* getEndpointWrapper(char* service, GoInt port, char* restPath);
|
|
123
123
|
extern __declspec(dllexport) char* writeMockDescriptionWrapper(char* mockDescription, char* kubernetesService);
|
|
124
124
|
extern __declspec(dllexport) char* writeTestDescriptionWrapper(char* testDescription, char* testName);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const Endpoint = require('./Endpoint');
|
|
2
2
|
const lib = require('../lib');
|
|
3
|
-
const newRestEndpointWrapper = lib.func('newRestEndpointWrapper', 'string', ['string', 'string', 'int', 'string']);
|
|
3
|
+
const newRestEndpointWrapper = lib.func('newRestEndpointWrapper', 'string', ['string', 'string', 'int', 'string', 'string']);
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The `RestEndpoint` class represents a REST API Endpoint.
|
|
@@ -23,7 +23,9 @@ class RestEndpoint extends Endpoint {
|
|
|
23
23
|
} else if (args.length >= 4) {
|
|
24
24
|
// eslint-disable-next-line no-unused-vars
|
|
25
25
|
const [name, openApiTag, port, openapiFile, endpointAddress] = args;
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
// TODO: Add restPath support
|
|
28
|
+
restEndPointData = newRestEndpointWrapper(name, openApiTag, port, openapiFile, "");
|
|
27
29
|
}
|
|
28
30
|
super(restEndPointData, endpointAddress);
|
|
29
31
|
}
|