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

dockstore / dockstore / 13290 / 2
68%
develop: 68%

Build:
DEFAULT BRANCH: develop
Ran 13 Aug 2020 05:40PM UTC
Files 289
Run time 1min
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

13 Aug 2020 05:16PM UTC coverage: 18.979% (-0.02%) from 18.998%
TESTING_PROFILE=unit-tests

push

travis-ci

web-flow
Delete non-approved organizations (#3725)

Delete rejected and pending organizations

dockstore/dockstore#3254

Implemented a new endpoint '/{organizationId}/' in
OrganizationResource to delete a non-approved organization

API call now allow users to delete their own organizations only if
they are part of the organization, the organization is pending or
rejected, and that their role in the organization is 'MAINTAINER'

API call also allows for admins/curators to delete any rejected or
pending organizations regardless whether or not the admins/curators are
part of

New endpoint would remove rows having a foreign key constraint
before removing the organization from the database

Added a orphanRemove parameter to 'users' in Organization.java in order
to address and delete the organizationid FKEY instead of CASCADE as
CascadeType.REMOVE or CascadeType.ALL does not always remove
child entities using organizationid

Implemented a new method in EventDAO.java to delete a list of events
having a specific organizationId

Added a new NamedQuery to Event.java to execute the SQL statement of
deleting events based on a given organizationId

Added a @Consumes annotation for 'createOrganization' in order to
specify the content-type header as application/json so the test would
pass

Added a new test and stubObject for the new endpoint

Included additional tests for testing the functionality of this endpoint

2642 of 13921 relevant lines covered (18.98%)

0.37 hits per line

Source Files on job 13290.2 (TESTING_PROFILE=unit-tests)
  • Tree
  • List 0
  • Changed 44
  • Source Changed 44
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3672
  • Travis Job 13290.2
  • 8c4d0bc0 on github
  • Prev Job for TESTING_PROFILE=unit-tests on develop (#13267.2)
  • Next Job for TESTING_PROFILE=unit-tests on develop (#13327.2)
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