• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OpenConext / OpenConext-engineblock-metadata
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: 3.1.2
DEFAULT BRANCH: master
Repo Added 24 Jan 2016 11:59AM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/caching-metadata-repository
branch: feature/caching-metadata-repository
CHANGE BRANCH
x
Reset
  • feature/caching-metadata-repository
  • 1.4.5
  • 2.0
  • 2.0.1
  • 2.1.0
  • 2.2.0
  • 2.2.1
  • 2.2.2
  • 2.2.3
  • 2.3.0
  • 2.4.0
  • 2.4.1
  • 2.4.2
  • 2.5.0
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • engineblock5-compat
  • eol
  • feature/attribute-aggregation
  • feature/cached-repository-wayf-issue
  • feature/change-behaviour-trusted-proxies
  • feature/configurable-signature-method
  • feature/doctrine-push-deletes
  • feature/remove-implicit-vo-id
  • feature/retrieve-attribute-source
  • feature/security-checker
  • feature/support-contact-telephone-number
  • feature/support-push-pull-combination
  • feature/unconnected-idps-in-wayf
  • feature/upgrade-saml2-library
  • master
  • pr/7
  • release/3.x

pending completion
131

push

travis-ci

jorissteyn
Allow caching all database queries for the lifetime of a request

This commit introduces a new metadata repository as an alternative to
the regular doctrine metadata repository. It wraps the regular
doctrine metadata repository but caches the result of each distinct
query for the request lifetime. This mechanism is safe to use for
EngineBlock since it doesn't write metadata, and we're not concerned
with metadata updates during an authentication request.

In test cases, using the caching wrapper reduces the number of queries
during a single authentication request from approximately 40 to 15.

In order to use this new repository in EngineBlock, replace the
following line in engineblock.ini:

    metadataRepository.database.type = Doctrine

With:

    metadataRepository.database.type = CachedDoctrine

956 of 1839 relevant lines covered (51.98%)

2.91 hits per line

Relevant lines Covered
Build:
Build:
1839 RELEVANT LINES 956 COVERED LINES
2.91 HITS PER LINE
Source Files on feature/caching-metadata-repository
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
131 feature/caching-metadata-repository Allow caching all database queries for the lifetime of a request This commit introduces a new metadata repository as an alternative to the regular doctrine metadata repository. It wraps the regular doctrine metadata repository but caches the resu... push 26 Jan 2018 04:15PM UTC jorissteyn travis-ci pending completion  
129 feature/caching-metadata-repository Allow caching all database queries for the lifetime of a request This commit introduces a new metadata repository as an alternative to the regular doctrine metadata repository. It wraps the regular doctrine metadata repository but caches the resu... push 26 Jan 2018 03:49PM UTC jorissteyn travis-ci pending completion  
See All Builds (103)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc