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

dockstore / dockstore / 13290
68%

Build:
DEFAULT BRANCH: develop
Ran 13 Aug 2020 05:40PM UTC
Jobs 4
Files 292
Run time 30min
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
13290

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

9982 of 14060 relevant lines covered (71.0%)

1.8 hits per line

Jobs
ID Job ID Ran Files Coverage
2 13290.2 (TESTING_PROFILE=unit-tests) 13 Aug 2020 05:40PM UTC 0
18.98
Travis Job 13290.2
3 13290.3 (TESTING_PROFILE=integration-tests) 13 Aug 2020 06:06PM UTC 0
59.25
Travis Job 13290.3
4 13290.4 (TESTING_PROFILE=tool-integration-tests) 13 Aug 2020 05:51PM UTC 0
34.94
Travis Job 13290.4
5 13290.5 (TESTING_PROFILE=workflow-integration-tests) 13 Aug 2020 06:08PM UTC 0
45.34
Travis Job 13290.5
Source Files on build 13290
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13290
  • 8c4d0bc0 on github
  • Prev Build on develop (#13267)
  • Next Build on develop (#13327)
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