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))

View File

@@ -15,7 +15,6 @@
"reminders" :admin-reminders
"vendors" :admin-vendors
"excel-import" :admin-excel-import
"yodlee" :admin-yodlee
"yodlee2" :admin-yodlee2
"plaid" :admin-plaid}
"invoices/" {"" :invoices

View File

@@ -51,11 +51,6 @@
[:span {:class "name"} "Rules"]]]
[:li.menu-item
[:a {:href (bidi/path-for routes/routes :admin-yodlee), :class (str "item" (active-when ap = :admin-yodlee))}
[:span {:class "icon icon-saving-bank-1" :style {:font-size "25px"}}]
[:span {:class "name"} "Yodlee Link"]]]
[:li.menu-item
[:a {:href (bidi/path-for routes/routes :admin-yodlee2), :class (str "item" (active-when ap = :admin-yodlee2))}
[:span {:class "icon icon-saving-bank-1" :style {:font-size "25px"}}]

View File

@@ -410,6 +410,6 @@
{:component-did-mount (fn []
(re-frame/dispatch [::mounted]))})])
(defn admin-yodlee-page []
#_(defn admin-yodlee-page []
[side-bar-layout {:side-bar [admin-side-bar {}]
:main [admin-yodlee-content]}])