Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling changes #1007

Merged
merged 21 commits into from
Dec 5, 2022
Merged

Profiling changes #1007

merged 21 commits into from
Dec 5, 2022

Conversation

vmueller-vg
Copy link
Contributor

@vmueller-vg vmueller-vg commented Nov 28, 2022

Changes

  • add caches for ehr.concept, ehr.territory, ehr.language
  • remove unnecessary DB queries
  • use caffeine cache instead of ehcache as ehcache has unnecessary blocking

Related issue

Additional information and checks

  • Pull request linked in changelog

HolgerReiseVSys and others added 20 commits November 23, 2022 12:38
# Conflicts:
#	application/src/main/resources/ehcache.xml
#	service/src/main/java/org/ehrbase/cache/CacheOptions.java
#	service/src/main/java/org/ehrbase/dao/access/interfaces/I_CompositionAccess.java
#	service/src/main/java/org/ehrbase/dao/access/interfaces/I_ContributionAccess.java
#	service/src/main/java/org/ehrbase/dao/access/interfaces/I_EhrAccess.java
#	service/src/main/java/org/ehrbase/dao/access/jooq/AuditDetailsAccess.java
#	service/src/main/java/org/ehrbase/dao/access/jooq/CompositionAccess.java
#	service/src/main/java/org/ehrbase/dao/access/jooq/ContributionAccess.java
#	service/src/main/java/org/ehrbase/dao/access/jooq/EhrAccess.java
#	service/src/main/java/org/ehrbase/ehr/knowledge/I_KnowledgeCache.java
#	service/src/main/java/org/ehrbase/service/KnowledgeCacheService.java
# Conflicts:
#	application/src/main/resources/ehcache.xml
#	service/src/main/java/org/ehrbase/aql/containment/TemplateIdAqlTuple.java
#	service/src/main/java/org/ehrbase/service/KnowledgeCacheService.java
# Conflicts:
#	rest-openehr/src/main/java/org/ehrbase/rest/openehr/OpenehrCompositionController.java
#	service/src/main/java/org/ehrbase/dao/access/jooq/CompositionAccess.java
#	service/src/main/java/org/ehrbase/service/CompositionServiceImp.java
# Conflicts:
#	service/src/main/java/org/ehrbase/service/BaseServiceImp.java
# Conflicts:
#	service/src/main/java/org/ehrbase/service/KnowledgeCacheService.java
# Conflicts:
#	rest-openehr/src/main/java/org/ehrbase/rest/openehr/OpenehrEhrController.java
#	service/src/main/java/org/ehrbase/service/EhrServiceImp.java
# Conflicts:
#	application/src/main/java/org/ehrbase/application/config/cache/CacheConfiguration.java
#	application/src/main/resources/application.yml
#	application/src/main/resources/ehcache.xml
# Conflicts:
#	service/src/main/java/org/ehrbase/service/KnowledgeCacheService.java
@vmueller-vg vmueller-vg marked this pull request as ready for review November 28, 2022 10:24
@stefanspiska stefanspiska self-requested a review December 5, 2022 09:10
@sonarcloud
Copy link

sonarcloud bot commented Dec 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

80.7% 80.7% Coverage
0.0% 0.0% Duplication

@stefanspiska stefanspiska merged commit 32717c6 into develop Dec 5, 2022
@stefanspiska stefanspiska deleted the profiling-changes branch December 5, 2022 10:13
@vidi42 vidi42 mentioned this pull request Dec 15, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants