Skip to content

jfetterolf/fhir-conversion-api

Repository files navigation

About the project

A REST API used to convert various data formats to FHIR.

Getting Started

Prerequisites

  • Java 21.0.1
  • Apache Maven 3.9.5
  • Docker (Observability)

Running Project from CLI

mvn spring-boot:run

Monitoring with Prometheus

In WSL Ubuntu terminal, view all exposed IPs:

hostname -I
  • example result: 000.00.00.000

In smooky/docker/prometheus/prometheus.yml, edit the IP to reflect:

scrape_configs:
- job_name: smooky
    metrics_path: /actuator/prometheus
    static_configs:
    - targets: ['000.00.00.000:8080']

Now we're ready to set up and run Prometheus & Grafana from the docker-compose.yml in Ubuntu terminal, run:

docker compose up -d

In a browser you can now access:

  1. Localhost Prometheus Endpoint | http://localhost:8080/actuator/prometheus

  2. Prometheus | http://localhost:9090/

  3. Grafana | http://localhost:3000/

For some reason, Ubuntu's UFW is blocking communication between Micrometer and Prometheus. To disable this in the Ubuntu terminal run:

sudo ufw disable

Don't forget to enable it when done!

sudo ufw enable

About

FHIR conversion REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages