Skip to content

Commit

Permalink
Clearly separate FHIR and non-FHIR middleware (preparation for #2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
allentiak committed Dec 13, 2024
1 parent 23f56ac commit 71f073e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions modules/admin-api/src/blaze/admin_api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
[blaze.middleware.fhir.db :as db]
[blaze.middleware.fhir.output :as fhir-output]
[blaze.middleware.fhir.resource :as resource]
[blaze.middleware.link-headers :as link-headers]
[blaze.middleware.output :as output]
[blaze.middleware.non-fhir.link-headers :as link-headers]
[blaze.middleware.non-fhir.output :as output]
[blaze.module :as m]
[blaze.spec]
[clojure.datafy :as datafy]
Expand Down
4 changes: 2 additions & 2 deletions modules/rest-api/src/blaze/rest_api/routes.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[blaze.middleware.fhir.error :as error]
[blaze.middleware.fhir.output :as fhir-output]
[blaze.middleware.fhir.resource :as resource]
[blaze.middleware.link-headers :as link-headers]
[blaze.middleware.output :as output]
[blaze.middleware.non-fhir.link-headers :as link-headers]
[blaze.middleware.non-fhir.output :as output]
[blaze.rest-api.middleware.auth-guard :as auth-guard]
[blaze.rest-api.middleware.ensure-form-body :as ensure-form-body]
[blaze.rest-api.middleware.forwarded :as forwarded]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(ns blaze.middleware.link-headers
"Middleware that will transfer bundle links into link headers according to
(ns blaze.middleware.non-fhir.link-headers
"Non-FHIR middleware that will transfer bundle links into link headers according to
RFC 8288."
(:require
[blaze.async.comp :refer [do-sync]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns blaze.middleware.output
(ns blaze.middleware.non-fhir.output
"Non-FHIR serialization middleware.
Currently supported formats:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns blaze.middleware.link-headers-test
(ns blaze.middleware.non-fhir.link-headers-test
(:require
[blaze.async.comp :as ac]
[blaze.middleware.link-headers :refer [wrap-link-headers]]
[blaze.middleware.non-fhir.link-headers :refer [wrap-link-headers]]
[blaze.test-util :as tu]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest testing]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(ns blaze.middleware.output-test
(ns blaze.middleware.non-fhir.output-test
(:require
[blaze.fhir.spec-spec]
[blaze.fhir.test-util]
[blaze.middleware.output :refer [wrap-output]]
[blaze.middleware.non-fhir.output :refer [wrap-output]]
[blaze.module.test-util.ring :refer [call]]
[blaze.test-util :as tu]
[clojure.spec.test.alpha :as st]
Expand Down

0 comments on commit 71f073e

Please sign in to comment.