Refactor model selection to calling the method from imports rather than redirection to endpoints
Refactor model selection to calling the method from imports rather than redirection to endpoints. Faced issues with test cases and it was because of system specific configurations. Read for RESTful services redirection is not a good design and would add complexity.