[Apps] Remove emitters (#25999)
* [Apps] Remove emitters Emitters were created when we thought that we would be adding actions to multiple places in metabase. Instead we've coalesced to actions being a core feature of data-apps and are executed from within them. Attaching actions to models, as a form of re-use rather than a form of execution, means that actions can still be executed directly from a model, if we want to allow that in the future. * Fix lint errors * Move perform-action! tests out of the api. Since we want to keep the implicit bulk functionality but remove those endpoints move the tests to the actions namespace. * Fix linter * Change driver test to use function instead of endpoint
Showing
- enterprise/backend/test/metabase_enterprise/models/entity_id_test.clj 0 additions, 3 deletions...ackend/test/metabase_enterprise/models/entity_id_test.clj
- resources/migrations/000_migrations.yaml 24 additions, 0 deletionsresources/migrations/000_migrations.yaml
- src/metabase/api/action.clj 3 additions, 19 deletionssrc/metabase/api/action.clj
- src/metabase/api/card.clj 2 additions, 3 deletionssrc/metabase/api/card.clj
- src/metabase/api/dashboard.clj 0 additions, 1 deletionsrc/metabase/api/dashboard.clj
- src/metabase/api/emitter.clj 0 additions, 116 deletionssrc/metabase/api/emitter.clj
- src/metabase/api/routes.clj 0 additions, 2 deletionssrc/metabase/api/routes.clj
- src/metabase/cmd/copy.clj 0 additions, 2 deletionssrc/metabase/cmd/copy.clj
- src/metabase/models.clj 0 additions, 5 deletionssrc/metabase/models.clj
- src/metabase/models/action.clj 0 additions, 12 deletionssrc/metabase/models/action.clj
- src/metabase/models/emitter.clj 0 additions, 126 deletionssrc/metabase/models/emitter.clj
- test/metabase/actions/test_util.clj 1 addition, 55 deletionstest/metabase/actions/test_util.clj
- test/metabase/actions_test.clj 447 additions, 1 deletiontest/metabase/actions_test.clj
- test/metabase/api/action_test.clj 1 addition, 447 deletionstest/metabase/api/action_test.clj
- test/metabase/api/card_test.clj 0 additions, 19 deletionstest/metabase/api/card_test.clj
- test/metabase/api/dashboard_test.clj 1 addition, 20 deletionstest/metabase/api/dashboard_test.clj
- test/metabase/api/emitter_test.clj 0 additions, 119 deletionstest/metabase/api/emitter_test.clj
- test/metabase/cmd/copy_test.clj 1 addition, 1 deletiontest/metabase/cmd/copy_test.clj
- test/metabase/driver/sql_jdbc/actions_test.clj 3 additions, 7 deletionstest/metabase/driver/sql_jdbc/actions_test.clj
- test/metabase/models/action_test.clj 16 additions, 24 deletionstest/metabase/models/action_test.clj
Loading
Please register or sign in to comment