THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
//#services service ActivationService { //ContainerProxy call this grpc method to get ActivationMessage rpc FetchActivation (FetchRequest) returns (FetchResponse) {} } //#services //#messages // The request message message FetchRequest { //initiator string invocationNamespace = 1; //the serialize content of FullyQualifiedEntityName string fqn = 12; //the serialize content of DocRevision string rev = 3; //the container id string containerId = 4; //the requested container is = 2warmed or not bool warmed = 5; //duration of last invoked activation google.protobuf.Int64Value lastDuration = 6; //the requested container is alive or not bool alive = 7; } // The response message message FetchResponse { //the serialize content of ActivationMessage string activationMessage = 1; } message RescheduleRequest { string invocationNamespace = 1; string fqn = 2; string rev = 3; //the serialize content of ActivationMessage string activationMessage //message will be rescheduled by scheduler string activationMessage = 4; } message RescheduleResponse { // if reschedule request is failed, then it will be `false` bool isRescheduled = 1; } |
4.Exception / Failure cases
...