Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jun 07, 2023
    • bryan's avatar
      Autoload instance analytics content (when EE and avaliable) (#31314) · 4cbbc961
      bryan authored
      * wip
      
      * fix caching behavior for audit db in database-id->connection-pool
      
      * test that caching behavior works as advertised
      
      - db->pooled-connection-spec always returns the same pool for audit-db
      - audit-db-id is not in the database-id->connection-pool cache
      
      * DISABLE audit db exposure through GET api/database
      
      * Lots of things
      
      - automagically loads instance analytics on app startup
      - TODO: logging in after that is bokred
      
      * add some logs / fix comment
      
      * remove internal_analytics resource
      
      * fix linter issues + update logging
      
      * add tests for existing and missing content
      
      - add test replica of content into test-resources
      
      * remove unused require
      
      * delete sample db + personal collection from test-resources
      
      * get instance_analytics resource off the resource path
      
      * point it to the proper IA resource
      
      * un-hotwire the change to show audit DB on GET /databases
      
      * fix test + lookup the right resource
      
      * remove creator_id references from instance_analytics export test data
      
      - get test feedback
      
      * Revert "remove creator_id references from instance_analytics export test data"
      
      This reverts commit 1aa9d4b1dad304ac0c6d88221f81432d78fc88f0.
      
      * fix tests
      
      * lint
      
      * fix tests
      
      * more test fixing
      
      * linter fix
      
      * revert yarn.lock
      
      * Look up the correct instance_analytics resource
      
      * cleanup comment in serialization/cmd.clj
      
      * silence noisy serialization import logs
      
      * remove a bunch of unused serialization files
      
      * rename Audit Database + docstring
      
      * rename audit database everywhere
      
      * Put the database and tables back
      
      * constrain tests to postgres
      
      * ignore ia data in a test
      4cbbc961
Loading