daml/triggers/service
Rohan Jacob-Rao 3cfed4d7a3
Trigger Service: Refactor running trigger access using DAO interface (#6334)
Trigger Service: Refactor running trigger access using DAO interface

This introduces a RunningTriggerDao trait and two classes that implement
it, one for in-memory and one for database storage. This moves a lot of
code out of the Server class and into the DAO classes. The class chosen
at runtime depends on whether a JDBC config has been provided.

The database DAO also has methods for initialization and clean up used by
the server main function and the test fixture.

This is a pure refactoring (modulo some minor error message changes) so
functionality should stay the same.

CHANGELOG_BEGIN
CHANGELOG_END
2020-06-13 14:33:46 -04:00
..
release Rename targets (#5950) 2020-05-12 16:00:15 -04:00
src Trigger Service: Refactor running trigger access using DAO interface (#6334) 2020-06-13 14:33:46 -04:00
test-model Renfinements to error test DAMLs (#6212) 2020-06-03 15:02:53 +00:00
BUILD.bazel Switch to basic auth in readiness for auth service integration (#6279) 2020-06-10 09:48:33 -04:00
daml-platform.sh Trigger service docs and SDK integration basics (#6329) 2020-06-12 18:54:38 +00:00