moov-io / watchman

AML/CTF/KYC/OFAC Search of global watchlist and sanctions
https://moov-io.github.io/watchman/
Apache License 2.0
330 stars 87 forks source link

Remove MySQL and sqlite dependencies, resolves #468 #541

Closed m29h closed 5 months ago

m29h commented 5 months ago

this removes the entire database package along with MySQL and sqlite backends as proposed in issue #468 this includes database metrics, database API endpoints and so on.... 1081 lines deleted in total :+1:

removes all related configuration parameters from documentation removing the sqlite3 dependency allowed to change all builds to not using CGO, removing related library libc dependency leading to a 100% static build Dockerfile is updated reflecting the fully static build (container now based on alpine image) The whole container shrinks from 130MB to 27MB in size

there are no functional changes (except for the deprecated database stuff not being there any more)