Skip to content

server-api: Initial MONAID Server API#21

Merged
GreySeaWolf merged 6 commits intomainfrom
whoisj/server-api
Sep 29, 2021
Merged

server-api: Initial MONAID Server API#21
GreySeaWolf merged 6 commits intomainfrom
whoisj/server-api

Conversation

@whoisj
Copy link
Copy Markdown
Collaborator

@whoisj whoisj commented Jul 27, 2021

This commit adds the initial version of the MONAID Server API (GRPC based).

Some elements of the API are marked as "Feature Not Available in Current Version". These items are planned for future versions of the Server.

The goal of this pull-request is to spark discussion about the features provided by MONAI Deploy Application Server.

I recommend starting with map.proto file.

This commit adds the initial version of the MONAID Server API (GRPC based).

Some elements of the API are marked as "Feature Not Available in Current Version". These items are planned for future versions of the Server.
@whoisj whoisj added the feature MONAI Deploy code implementation label Jul 27, 2021
Comment thread server-api/grpc/error-code.proto Outdated
whoisj added 2 commits July 29, 2021 09:43
This change adds ERROR_JOB_UNSCHEDULABLE to the error_code enumeration in the Server API as requested by @pritishnahar95.
This change fixes the comments issue found by @pritishnarah95, which indicate that payload cloning is not available in the initial release, to include all parts of payload cloning.
Comment thread server-api/grpc/job.proto Outdated
This change correct an error in the job service status rpc defintion caught by @pritishnahar95. The status rpc incorrectly accepted `JobDetailRequest` and returned `JobDetailResponse` which it should have accepted `JobStatusRequest` and `JobStatusResponse`.
Comment thread server-api/grpc/payload.proto
Comment thread server-api/grpc/error-code.proto
Comment thread server-api/grpc/error-code.proto
Comment thread server-api/grpc/map.proto Outdated
Comment thread server-api/grpc/map.proto Outdated
This change fixes a number of issues with the original Server GRPC API proposal which were discovered during first attempted generation.

These issues and changes are all syntax corrections, or naming corrections to ensure the GRPC .proto files could be used for code generation.
@whoisj whoisj force-pushed the whoisj/server-api branch from b210826 to 0f34f53 Compare August 11, 2021 18:22
This change updates the proposed MONAID Server GRPC API based on feedback from actual development of the v0 Server implementation.
Copy link
Copy Markdown
Collaborator

@hshuaib90 hshuaib90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting reading. Would be interested in hearing about why GPRC and other design decisions at one of the Thursday meetings, if possible.

Comment thread server-api/grpc/map.proto
Comment thread server-api/grpc/map.proto
@GreySeaWolf GreySeaWolf merged commit 214e6a0 into main Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature MONAI Deploy code implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants