Eliminates Yodlee1, because it's broken.

This commit is contained in:
2022-07-07 14:22:37 -07:00
parent 42c9c93623
commit f64df06110
9 changed files with 5 additions and 16 deletions

View File

@@ -17,7 +17,6 @@
(let [[{:keys [message-id receipt-handle body]}] (:messages (sqs/receive-message {:queue-url queue-url
:wait-time-seconds 1
:count 1}))]
(when message-id
(sqs/delete-message {:queue-url queue-url
:receipt-handle receipt-handle} )
@@ -26,9 +25,6 @@
(= ":intuit" body)
(i/import-intuit)
(= ":yodlee" body)
(y/import-yodlee)
(= ":yodlee2" body)
(y2/import-yodlee2)

View File

@@ -81,6 +81,6 @@
(def import-yodlee (allow-once import-yodlee))
(mount/defstate import-worker
#_(mount/defstate import-worker
:start (scheduler/every (* 1000 60 60 8) (heartbeat import-yodlee "import-yodlee"))
:stop (scheduler/stop import-worker))

View File

@@ -9,7 +9,7 @@
(defroutes routes
(wrap-routes
(context "/yodlee" []
#_(context "/yodlee" []
(GET "/fastlink" {:keys [identity]}
(assert-admin identity)
(let [[session token] (yodlee/get-access-token)]

View File

@@ -98,7 +98,6 @@
#'sysco/sysco-invoice-importer
#'auto-ap.background.invoices/close-auto-invoices-worker
#'gq-clients/current-balance-worker
#'yodlee/import-worker
#'yodlee2/import-worker
#'yodlee2/account-worker
#'intuit/import-worker

View File

@@ -391,7 +391,7 @@
(log/error e)))))
(mount/defstate in-memory-cache-worker
#_(mount/defstate in-memory-cache-worker
:start (scheduler/every (* 5 60 1000) refresh-in-memory-cache)
:stop (scheduler/stop in-memory-cache-worker))