Hi, team,

Do we know why in our admin rest api, we have these two kind of
OpeationInvokers, it looks like when RestHttpOperationInvoker failed to
find the resource, it will use the SimpleHttpOperationInvoker to try again,
but shouldn't that also fail as well?

Here is some of the logic I found in the code. I am wondering why this is
necessary.

.....
if( link is not available){
throw new RestApiCallForCommandNotFoundException(

      String.format("No REST API call for command (%1$s) was found!",
command.getInput()));
}

somewhere else in the process:

catch (RestApiCallForCommandNotFoundException e) {

    SimpleHttpOperationInvoker.processCommand()

}


-- 
Cheers

Jinmei

Reply via email to