Skip to content

mtc-20210618.2-2

Compare
Choose a tag to compare
@GuyHarwood GuyHarwood released this 19 Jun 12:03
0fe50cb
feature/47176 results sync (#1923)

* add check table resultsSync column migration

* finished migration for check.resultsSynchronised

* fix migrations

* remove logic from sync-results-to-sql that updates check status

* remove logic from check-marker that puts message on check-completion queue

* modify function bindings

* remove timer input param

* refactor sync-results-to-sql to accept message from binding

* stub out idea for delete query

* complete delete method for existing check result

* verify delete is called

* migration to allow function user to delete within results schema

* provision methods for setting outcome

* [tslib] fix flaky integration test

* finish implementation of failure/success updates

* fix lint issues

* build out data services for azure storage

* wip tests for creating message

* WIP message creation

* [tslib] add new function

* Improve messaging

* lint fix

* dead code WIP

* [tslib] send a single message at a time

remove output binding to minimise runtime memory usage at the expense of time

* [tslib] make parallel requests

* remove debug logging

* test stubs for controller methods for check results resync

* add new config vars

* refactor service to call function API

* calling local function API successfully

* [tslib/sync-results-init]  collect meta information

* Fix log message

* Fix meta count

* [tslib/sync-results-init] generate messageId for duplicate detection on prod

* [tslib/sync-results-init] remove debug

* [tslib/sync-results-init] remove debug

* refactor function config

* [tslib/sync-results-init] add progress log

* [tslib/sync-results-init] make the param to `parallelLimit` configurable

* fix tests, fix function url and finish UI

* [tslib/sync-results-init] make consistent

* Update tslib/src/functions-throttled/sync-results-to-sql/index.ts

Co-authored-by: Jon Shipley <[email protected]>

* add page to resync all checks

* put transaction sql into objects

* fix lint issues and improve outcome logging

* Update doc

* Update font

* [tslib/sync-results-init] allow specific overrides when called via http

* [tslib] Change isolation level

* [tslib/sync-results-init] remove flag that's not needed

Allow check resync's on ERR code

* updates to tests

Co-authored-by: Jon Shipley <[email protected]>
Co-authored-by: Jon Shipley <[email protected]>
Co-authored-by: Mohsen Qureshi <[email protected]>