File tree Expand file tree Collapse file tree
access-control-app/src/cmr/access_control/api
system-int-test/test/cmr/system_int_test/misc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 271271 {:status 204 })
272272 (POST " /db-migrate" {ctx :request-context }
273273 (acl/verify-ingest-management-permission ctx :update )
274- (println " 10636- we are in /db-migrate" )
275274 ; ; TODO 10636 fix me we are defaulting to the gran-search-index only for now
276275 (index/create-index-or-update-mappings (-> ctx :system :gran-search-index ))
277276 {:status 204 })))
Original file line number Diff line number Diff line change 2727
2828(def good-indexer-health
2929 {:ok? true
30- :dependencies {:elastic_search {:ok? true }
30+ :dependencies {:gran-elastic {:ok? true }
31+ :non-gran-elastic {:ok? true }
3132 :message-queue {:ok? true }
3233 :metadata-db good-metadata-db-health}})
3334
6364
6465(deftest ^:oracle indexer-health-test
6566 (s/only-with-real-database
66- (is (= [200 {:elastic_search {:ok? true }
67+ (is (= [200 {:gran-elastic {:ok? true }
68+ :non-gran-elastic {:ok? true }
6769 :message-queue {:ok? true }
6870 :metadata-db good-metadata-db-health}]
6971 (get-app-health (url/indexer-health-url ))))))
You can’t perform that action at this time.
0 commit comments