icgc-argo/program-service

Refactor Programs API

Closed this issue · 0 comments

Detailed Description

Add the CRUD requests for Programs API.

Possible Implementation

Replace the following service functions with REST functions.

  rpc CreateProgram(CreateProgramRequest) returns (CreateProgramResponse);
  rpc RemoveProgram(RemoveProgramRequest) returns (google.protobuf.Empty);
  rpc UpdateProgram(UpdateProgramRequest) returns (UpdateProgramResponse);
  rpc ListPrograms(google.protobuf.Empty) returns (ListProgramsResponse);
  rpc GetProgram(GetProgramRequest) returns (GetProgramResponse);
  rpc ActivateProgram(ActivateProgramRequest) returns (GetProgramResponse);