sdhealthconnect / leap-sls Goto Github PK
View Code? Open in Web Editor NEWLEAP Security Labeling Service
License: GNU General Public License v3.0
LEAP Security Labeling Service
License: GNU General Public License v3.0
This instance currently acts as SLS for LEAP-Demos, LEAP Consent UI. Requires a change in build and deploy process to automatically deploy to SDHealthConnect google cloud.
The LEAP-SLS is currently hosted on a shared compute engine, including HAPI-FHIR JPA SERVER(Consent Repository), and LEAP CDS Testing Service. Is configured with 2CPUs and 7.5GB of memory.
Docker compose config
version: '3.6'
services:
leap-mysql:
image: mysql:latest
container_name: leap-mysql
restart: always
environment:
MYSQL_DATABASE: 'leap'
MYSQL_USER: 'admin'
MYSQL_PASSWORD: 'admin'
MYSQL_ROOT_PASSWORD: 'admin'
ports:
- 3308:3306
volumes:
- leap-mysql:/var/lib/mysql
leap-sls-service:
image: ddecouteau/leap-sls-service
container_name: leap-sls-service
environment:
LEAP_DB_PASS: ${LEAP_DB_PASS}
LEAP_DB_USER: ${LEAP_DB_USER}
LEAP_DB_URL: ${LEAP_DB_URL}
ports:
- 9091:9091
volumes:
leap-mysql:
The application runs fine until some error appears in the log, the last one I' ve found was related with the Java Heap Space, so I increment it from 64m to 256m
Error form the log:
2021-08-27T17:04:15.220564Z java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:na] at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[na:na] at org.apache.coyote.AbstractProtocol.startAsyncTimeout(AbstractProtocol.java:628) ~[tomcat-embed-core-9.0.43.jar!/:9.0.43] at org.apache.coyote.AbstractProtocol.lambda$start$0(AbstractProtocol.java:612) ~[tomcat-embed-core-9.0.43.jar!/:9.0.43] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na] at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.43.jar!/:9.0.43] at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na] Caused by: java.lang.OutOfMemoryError: Java heap space
[ ] Bring in the FHIR adapter utilized in FHIR Embedded Demonstration to open LEAP SLS
[ ] Validate by testing through openapi and LEAP-Consent UI (resolves UI bug/omission)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.