Skip to content

Commit

Permalink
add mock server
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Sep 23, 2024
1 parent 51c8c5a commit df6e75e
Show file tree
Hide file tree
Showing 7 changed files with 682,216 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ test:
test-snapshots:
clj -M:test -m kaocha.runner --focus-meta :snapshot

serve-mocks:
clj -M -m mock-server.main

PATH_TO_JAR := $(project_dir)/$(jar_path)

AGENT_OPTS := caller-filter-file=$(project_dir)/trace-filter.json,config-output-dir=$(project_dir)/META
Expand Down
18 changes: 9 additions & 9 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{:paths ["src"]
:deps {com.github.clj-easy/graal-build-time {:mvn/version "1.0.5"}
org.clj-commons/clj-http-lite {:mvn/version "1.0.13"}
org.clojure/clojure {:mvn/version "1.11.3"}
org.clojure/data.json {:mvn/version "2.5.0"}
metosin/malli {:mvn/version "0.16.3"}
org.clojure/tools.cli {:mvn/version "1.1.230"}}
:deps {com.github.clj-easy/graal-build-time {:mvn/version "1.0.5"}
org.clj-commons/clj-http-lite {:mvn/version "1.0.13"}
org.clojure/clojure {:mvn/version "1.11.3"}
org.clojure/data.json {:mvn/version "2.5.0"}
http-kit/http-kit {:mvn/version "2.8.0"}
metosin/malli {:mvn/version "0.16.3"}
org.clojure/tools.cli {:mvn/version "1.1.230"}}

:aliases
{:dev {:extra-paths ["dev" "test"]
:extra-deps {com.health-samurai/matcho {:mvn/version "0.3.11"}}}
:extra-deps {com.health-samurai/matcho {:mvn/version "0.3.11"}}}

:nrepl
{:extra-paths ["dev"]
:extra-deps {cider/cider-nrepl {:mvn/version "LATEST"}}

:extra-deps {cider/cider-nrepl {:mvn/version "0.50.2"}}
:main-opts ["-m" "nrepl.cmdline"
"-b" "0.0.0.0"
"--middleware"
Expand Down
28 changes: 28 additions & 0 deletions resources/aidbox_schemas/r4/fhir-packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"name": "app.aidbox.main",
"version": "0.0.1",
"dependencies": { "hl7.fhir.r4.core": "4.0.1" },
"resourceType": "Package",
"technical-id": "2d5ec72f-a946-496a-a02c-bfd97e159e80",
"href": "http://localhost:3333/r4/fhir-packages/app.aidbox.main%230.0.1/schemas"
},
{
"license": "CC0-1.0",
"url": "http://hl7.org/fhir/R4",
"dependencies": {},
"author": "HL7 Inc",
"homepage": "http://hl7.org/fhir",
"name": "hl7.fhir.r4.core",
"tools-version": 3,
"canonical": "http://hl7.org/fhir",
"title": "FHIR R4 package : Core",
"type": "fhir.core",
"version": "4.0.1",
"resourceType": "Package",
"fhirVersions": ["4.0.1"],
"href": "http://localhost:3333/r4/fhir-packages/hl7.fhir.r4.core%234.0.1/schemas",
"description": "Definitions (API, structures and terminologies) for the R4 version of the FHIR standard",
"technical-id": "6b24387e-a83e-49da-b630-a7421f66bb0a"
}
]
Loading

0 comments on commit df6e75e

Please sign in to comment.