Commit Graph

15 Commits

Author SHA1 Message Date
Manuele Simi 8880bdddde Handle the case when the resource registry returns an exception when checking if the parent context exists.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162454 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-23 04:35:19 +00:00
Manuele Simi eb900141e2 Validate the parent exists in the create operation, if specified in the input context.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162406 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-21 20:38:19 +00:00
Manuele Simi f08c550f1d Rename RMCode to RMCreateContextCode.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162299 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-18 05:05:35 +00:00
Manuele Simi 4336297bcd Starting to shape the DeleteRequest and delete resource method.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162161 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-15 03:55:32 +00:00
Manuele Simi 4e6d0a1192 Rename package exceptions to codeexceptions.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162028 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-10 04:12:00 +00:00
Manuele Simi 3b4e4b17a8 Improve javadoc. Rename one of the values for RMCode.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@161971 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-04 20:09:37 +00:00
Manuele Simi a70350c9df Rename CodeException to WebCodeException to make it clear that it is a subclass of WebAppException.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@161930 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-01 20:40:26 +00:00
Manuele Simi 5c9549160c Move RMCode to rs package. This keeps the exceptions package as more generic as possible.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@161929 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-01 20:37:28 +00:00
Manuele Simi 36dd483b04 Integrate CodeExceptions in the webapp.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@161909 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-26 12:23:48 +00:00
Manuele Simi 4b98621cc8 Create a failure response when the new context already exists.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160691 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-20 04:12:05 +00:00
Manuele Simi 6db70871b8 Different instantiations for RRContextClient according to the forceURL parameter.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160619 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-17 03:42:14 +00:00
Manuele Simi 6f73b07dcb Manage more response cases. Adjust tests accordingly.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160616 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-16 04:02:32 +00:00
Manuele Simi ac8d0cf465 Introduce the validation step for the request. Handle exceptions. More structure on the response.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160614 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-16 03:29:16 +00:00
Manuele Simi 7f5de4c5af Make sure the context holder is not null in the request.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160526 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-15 04:21:47 +00:00
Manuele Simi ca5bc87382 Start to model the request/response interactions with the Resource Registry.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160523 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-15 04:04:27 +00:00