Closed dondi closed 1 year ago
I think I created a sort of DAL. I isolated the querying of the expression database and getting a response into a file called grnsight-dal.js
and made the database-controller compatible with querying to the network database as well. I also cleaned up the code a bit so there is less repetitions. This is in the Onariaginosa branch.
Upon review of the work so far, the direction looks good and next steps are:
This is complete
Code is reviewed and will go out with the next GRNsight release.
DAL code was merged into beta but when it was deployed to the GRNsight server it produced an error relating to a new import statement—we’ll need to look into this.
In order to try a new deployment, make sure to do the following:
git checkout beta
git pull
This is because we reverted beta to a prior state in order to keep the service running.
Need to review status of this with @Onariaginosa
Confirmed as finished
Our existing database code needs a refactor to a full-fledged DAL, especially if our database capabilities will continue to expand.