Yicong-Huang opened a new issue, #5430:
URL: https://github.com/apache/texera/issues/5430

   ### Task Summary
   
   `RegionExecutionCoordinator` (engine) calls the static 
`WorkflowExecutionsResource.insertOperatorPortResultUri(eid, globalPortId, 
uri)`. `WorkflowExecutionsResource` is a JAX-RS web resource — but the called 
method is a pure JOOQ `INSERT` with no Jersey / HTTP / auth concerns; it sits 
in the web class only by historical accident.
   
   Move the method out of 
`amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala`
 into a DAO under `common/dao/src/main/scala/org/apache/texera/dao/`. Engine 
then depends on the DAO (already its existing pattern for DB access). 
`WorkflowExecutionsResource` keeps any callers it has by delegating to the new 
DAO.
   
   Part of #5424.
   
   ### Task Type
   
   - [x] Refactor / Cleanup


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to