152 Commits (master)
 

Author SHA1 Message Date
Manuele Simi f53caddced Advance maven-parent to 1.1.0. 5 years ago
Manuele Simi 367ed542a3 Correct the maven-parent version. 5 years ago
Manuele Simi 2ed8675c35 Move idea project files to root level. 5 years ago
Manuele Simi a505491803 Advance maven-parent to 1.1.0-SNAPSHOT. 5 years ago
Manuele Simi fa9f4d2d56 Add idea project files.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179404 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi a035814fdc Use parent version for dependency on manager-io.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179403 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi c5f90ae282 Fix test cases after renaming the context resource.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179402 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 1fbb37defa Return the URI of the newly created context (compliance with REST).
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179219 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 0c0dfc02ed Advance version for all modules to 1.0.0-SNAPSHOT.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179218 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi a38e34406b Rename context resource.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@179109 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 79523020dd Advance dep on gxJRS.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@178674 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 28f9d96b49 Invert assert on existing context test.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@178445 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 8ebad38cae Improve tests on ResourceRegistryContextClient. Advance JUnit to 4.12.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@177251 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 6a0ce9c5e7 Load the Resource Registry URL to use in the test cases from the properties file.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@177204 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi b7ef1dd99f Update to the new IS and gCube models. Upgrade dependency on resource-registry-context-client to 2.1.0-SNAPSHOT.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@177157 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 9111ff85d8 Remove root dependencies after migrating to IntelliJ IDEA.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@176949 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 96be6020f3 Add gxJRS depedendency to IO module.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@176948 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi f9b0ba55ce Migrate to the most recent releases of gxRest, gcube-model and information-system-model. Introduce Jersey BOM.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@176875 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 54e2b6bbab Update dependency on gxJRS. Remove dependency from javax.ws.rs-api.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@176583 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 1a2ca30248 Update dependencies.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@174561 82a268e6-3cf1-43bd-a215-b396298e98cf
5 years ago
Manuele Simi 26dda75f89 Rename RMContext to RMContexts (as per REST conventions). Rename Path to Access in the IO lib.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@169756 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 162881f1ff Start shaping ResourcesInContext collection. Rename few path params.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@169755 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 18cba050f6 Advance dependency on client context lib to 2.0.0-SNAPSHOT.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@169265 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 5d65139b16 Advance dependency on gxRest to 1.0.0-SNAPSHOT also in the service module.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@169231 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi feac11ff99 Advance dependency on gxRest to 1.0.0-SNAPSHOT.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@169230 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 91821885d0 Adapt outbound responses to the latest changes in gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@165682 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 7aee1a7989 Temporary add a dummy resource (RMTestForGXRest) for testing purposes.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@165612 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi d47c03c91c Make tests compliant with the latest changes in gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@165611 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 14b0fbef1e Warn some exception when querying the Resource Registry.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@165594 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 17d9b96aa1 Force to use the resource registry client when a FORCE_RRURL parameter is specified in the request.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@165589 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi fecaee352c Correct inverted check on empty contexts.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@164900 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 0bdbd4d6f1 Check that the context has no resources before deleting it.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@164762 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 5a6ae07d22 Overload the Queries constructor to create an instance with the given context client. Add check if an context is empty before deleting it (in progress).
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@164573 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 89f4730523 Add missing return statement in the send method for the delete request.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@164572 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 67915767e1 Adapt test cases in the RM service to the latest changes in gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@163351 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 856b10efa6 Integrate GXInboundResponse.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@163246 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi db3d6a3cf7 Use GXInboundResponse to access to the response returned by the resource methods.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@163183 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 58e3ef8a37 Comply with the new gxRest package organization.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@163181 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 78919bce5a Use GXErrorOutboundResponse and GXOutboundSuccessResponse from gxRest to return a response in the create and delete methods.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@163003 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 9654a44e67 Adapt response for the create method to gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162900 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 3650407264 Clean up code moved to gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162886 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi de8582c9be Migrate resource manager components to gxRest.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162885 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 3f71638206 Make the deserializers final. Reduce their visibility at package level.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162830 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 85bacd7afe Test the ErrorCode after with the new deserialization of the entity.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162829 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 3adf77e8bd Add deserializers for ErrorCode and Exception. This makes the serializable entity a POJO.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162801 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 2d80258f83 Keep the full qualified class name and message for the exception in the response. Rebuild the response at client side with reflection.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162764 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi f2fdc26d69 Fix create context with parent. Check if the context client is null before invoking the validation of the request.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162504 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi de32c0135c Load the default token from a property file for Queries test. Skip the tests if the token is null.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162503 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
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
6 years ago
Manuele Simi 731dc6bde7 Adjust check on returned status in the create test case.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@162453 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago