Commit Graph

470 Commits

Author SHA1 Message Date
Pablo Prieto
fe2030d024 Working Implementation
Wrote additional integration tests
Created WorkspaceItemBuilder
2018-06-29 16:51:11 -05:00
Pablo Prieto
a487fb7d58 Working method to DELETE on /api/core/items
Wrote integration tests
2018-06-28 19:12:24 -05:00
Pablo Prieto
3a51c7a962 Added method 2018-06-27 19:03:25 -05:00
Andrea Bollini
43eda56269 Merge pull request #2077 from 4Science/DS-3838
DS-3838 return 204 for successful logout
2018-06-21 16:56:17 +02:00
Andrea Bollini
f00d31e370 Align comment with the actual code/expectation 2018-06-21 16:05:36 +02:00
Andrea Bollini
40fc109c7c DS-3838 return 204 for successful logout 2018-06-09 21:29:22 +02:00
Andrea Bollini
6af5349e74 DS-3923 manage null return in Search Methods 2018-06-01 07:13:08 +02:00
Andrea Bollini
af758212f7 Cleanup license header 2018-06-01 07:13:08 +02:00
Andrea Bollini
27ee3a13f0 Fix NPE when a valid JWT related to a deleted eperson is presented 2018-05-31 21:11:51 +02:00
Andrea Bollini
7157c43bc1 Fix admin eperson in test 2018-05-31 21:11:36 +02:00
Andrea Bollini
211a9e215f Merge pull request #2066 from 4Science/DS-3915
DS-3915 RestResourceController hides not existing endpoints under other errors
2018-05-28 08:36:26 +02:00
Andrea Bollini
b248e3d1f3 Merge pull request #2061 from ppmdo/DS-3911
DS-3911 Endpoint to delete bitstreams
2018-05-28 08:29:51 +02:00
Andrea Bollini
41341eb9b9 DS-3915 proper handling of not existent subPaths 2018-05-20 21:13:20 +02:00
Andrea Bollini
3e76aa8972 DS-3915 Integration Test to expose the issue 2018-05-20 19:16:46 +02:00
Andrea Bollini
829ee0687a Merge pull request #2060 from Georgetown-University-Libraries/ds3650r3808
[DS-3808] Return 204 Status when return json object is empty
2018-05-20 18:29:17 +02:00
Andrea Bollini
36fbcb1b24 Better exception handling 2018-05-20 16:10:15 +02:00
Andrea Bollini
a4331dc4df Merge branch 'DS-3911' of https://github.com/ppmdo/DSpace into ppmdo-DS-3911 2018-05-20 12:30:45 +02:00
Andrea Bollini
a323bba76e Replaced Spring Param anno with our, add more test 2018-05-19 23:29:37 +02:00
Pablo Prieto
c66167e220 Changes based on review 2018-05-19 12:06:47 -05:00
Andrea Bollini
6225a353ef Merge branch 'ds3783a' of https://github.com/Georgetown-University-Libraries/DSpace into Georgetown-University-Libraries-ds3783a 2018-05-19 16:26:26 +02:00
Andrea Bollini
f10801ecca Merge pull request #2052 from tantz001/DS-3905
DS-3905; add a custom RestController
2018-05-18 22:14:52 +02:00
Andrea Bollini
fe0a397548 Add IT for IdentifierRestController 2018-05-18 20:16:50 +02:00
Andrea Bollini
344459ad60 Fix checkstyle issue 2018-05-18 19:21:44 +02:00
Andrea Bollini
d2ff33da6d Fix endpoint registration in the root document 2018-05-18 19:13:12 +02:00
Andrea Bollini
17ad4050d2 Merge branch 'DS-3905' of https://github.com/tantz001/DSpace into tantz001-DS-3905 2018-05-18 17:25:25 +02:00
Andrea Bollini
2f06d6e7e6 POST is required for the login endpoint 2018-05-18 17:15:02 +02:00
Andrea Bollini
c2d2136e2c Fix test failures and add test for GET method 2018-05-18 17:14:29 +02:00
Andrea Bollini
0d4582484b Fix code style issues 2018-05-18 17:05:17 +02:00
Andrea Bollini
eee6529930 Merge branch 'ds3777' of https://github.com/TAMULib/DSpace into TAMULib-ds3777 2018-05-18 15:53:00 +02:00
Pablo Prieto
b26d8613e3 Rebase unchanged files 2018-05-17 23:36:25 -05:00
Pablo Prieto
263c867ced Integration Tests for Bitstreams DELETE endpoint. 2018-05-17 23:28:30 -05:00
Pablo Prieto
c4bfd5ef83 Half Integration Tests 2018-05-17 01:14:55 -05:00
Bill Tantzen
350f431eee removed unused imports; reorderd imports. 2018-05-16 11:03:22 -05:00
Bill Tantzen
f1cd0af629 remove <p> from license text blank line. 2018-05-15 14:37:17 -05:00
Terry W Brady
eb9d2d1f49 comment todo method 2018-05-15 12:22:52 -07:00
Terry W Brady
42d0a223d2 review suggestion 2018-05-15 12:04:38 -07:00
Terry W Brady
141be6e338 verify return structure of empty repos 2018-05-15 12:02:38 -07:00
Pablo Prieto
b6aa7308aa Draft Integration Tests 2018-05-15 13:49:45 -05:00
Terry W Brady
d4df6d12c6 Simplify cases where 204 is returned 2018-05-15 11:05:20 -07:00
Pablo Prieto
14712be757 Removed local changes. 2018-05-14 22:15:41 -05:00
Pablo Prieto
67cc795026 Return 422 error code when trying to delete logo bitstreams. 2018-05-14 21:57:33 -05:00
Terry W Brady
5c95001c09 check req params 2018-05-14 15:42:48 -07:00
Terry W Brady
42253e7d6e force test pass 2018-05-14 14:04:59 -07:00
Terry W Brady
c32d21378a Update test cases for 204 change 2018-05-14 13:34:57 -07:00
Terry W Brady
e9083bdfa3 req param annotation 2018-05-14 13:12:24 -07:00
Terry W Brady
da1917539a 204 logic 2018-05-14 12:35:27 -07:00
Pablo Prieto
2d8a9fb315 Full working implementation.
TODO: Raise error when trying to delete logos
2018-05-14 14:20:10 -05:00
Pablo Prieto
e23076da09 Fixed UUID - id mapping bug of RestResourceController.
First DELETE implementation on bitstream endpoint.

TODO: Investigate why the endpoint triggers but doesn't end in the bitstream deletion.
2018-05-14 09:10:43 -05:00
James Creel
a59e15a2b3 Web Security ignores not-allowed methods on authn/login endpoint 2018-05-12 12:29:29 -05:00
James Creel
9e7a56954c New authn controller endpoint to intercept not allowed methods 2018-05-12 12:26:27 -05:00