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

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

Build:
Build:
LAST BUILD BRANCH: 3.1.2
DEFAULT BRANCH: master
Ran 29 Jan 2018 08:59AM UTC
Jobs 1
Files 44
Run time 2s
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

pending completion
133

push

travis-ci

jorissteyn
Delete entities on metadata push

A metadata push by service registry contains metadata of all entities
that engineblock should know about. So all entities in the roles table
not present in the pushed metadata should be deleted on push.

This was already implemented but did not function as intended:

 - the deletion logic did not take into account entities that were
   updated instead of created

 - doctrines 'partial reference' cannot be used to delete entities
   since it does not load the database identifier when loaded by
   entity id

This commit changes the metadata deletion logic by keeping track of
what entity ids should be deleted, and deleting them with one query
when the metadata import has finished.

930 of 1805 relevant lines covered (51.52%)

2.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 133.1 (EXECUTE_COVERAGE=true) 29 Jan 2018 08:59AM UTC 0
51.52
Travis Job 133.1
Source Files on build 133
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #133
  • b2f7daf0 on github
  • Next Build on feature/doctrine-push-deletes (#137)
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

© 2026 Coveralls, Inc