-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3250d5
commit 1195766
Showing
59 changed files
with
5,402 additions
and
4,233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cryptography~=39.0 | ||
grpcio==1.41.0 | ||
grpcio-tools==1.41.0 | ||
grpcio==1.60.0 | ||
grpcio-tools==1.60.0 | ||
minknow-api-service-plugin | ||
pre-commit | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
syntax="proto3"; | ||
|
||
package minknow_api.analysis_workflows; | ||
|
||
option java_package = "com.nanoporetech.minknow_api"; | ||
option objc_class_prefix = "MKAPI"; | ||
|
||
import "minknow_api/rpc_options.proto"; | ||
|
||
service AnalysisWorkflowsService { | ||
rpc proxy (ProxyRequest) returns (stream ProxyResponse) { | ||
option (experimental) = true; | ||
} | ||
} | ||
|
||
message ProxyRequest { | ||
// with parameters but without the endpoint e.g. for API /workflows/{id}/start: | ||
// "/workflows/ae088129-8767-460f-8795-7c04771dc42f/start" | ||
// "/workflows/epi2me-labs/wf-alignment/v1.2.8/start" | ||
string api = 1; | ||
|
||
enum Method { | ||
GET = 0; | ||
POST = 1; | ||
PUT = 2; | ||
DELETE = 3; | ||
} | ||
|
||
Method method = 2; | ||
|
||
map<string, string> headers = 4; | ||
string request_body = 3; | ||
} | ||
|
||
message ProxyResponse { | ||
uint32 status_code = 1; | ||
string response_body = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.