Closed
Description
The current version is using SQL scripts to perform the direct project CRUD operations which makes hte logic too complicated and one more place for Informix connection overhead. So, we should avoid creating database connections from this processor. We should:
Remove all the SQL calling for interacting with direct and use direct's APIs which we were using in v4 projects api- Also when updating the
directProjectId
back into the Connect projects database, we should not use SQL script again and rather call the projects api to update the project data. That would automatically index the project in ES which is missing as of current implementation.