Closed SPlanzer closed 4 years ago
Note: old version of postgres that gazetteer runs on may need to be built from source
According to https://confluence.linz.govt.nz/display/MNAI/High+Level+Design the PostgreSQL database running in production is 8.4.
A docker image to be used as base does exist for 8.4: https://hub.docker.com/_/postgres/?tab=tags&page=1&name=8.4
Shall we split this repository from a separate repository containing only the database schema, like it was done with linz-bde-schema ? It would basically contain what's currently under src/sql ...
I think we should leave this as a mono-repo. Spliting only makes sense if another system might use it, or the components are really large. This app is pretty small and self contained
From the README file the db schema is used both by the QGIS plugin and by the Web app ? (not sure the information there is correct).
I think splitting would ultimately be a good idea (there is a slim possibility the NZGB may be extending this in the future), but I feel we can leave it for now. Unless leaving the components in the same repo is going to cause problems for us with doing the tasks we want to do now? i.e. CI/CD integration and unit testing.
Ideally the web app would be in with this stuff too, but that can't occur cause a 3rd party built that. But yeah good point. Allowing the developers of the web app to reference the database component by itself potentially makes it easier for their development. But this comes at the cost of additional source code and built management.
Simon isn't this completed ? We do have the database containerized and linked to qgis..
Yes, Thank you
The database must be containerised. This will support continuous integration validation as it will allow for CI to run tests against the DB.
Definition of Done: