152 Commits (master)
 

Author SHA1 Message Date
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
6 years ago
Manuele Simi d6bdcd615f Create and initialize the context client in the base request.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160618 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
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
6 years ago
Manuele Simi 4b9abb09f0 Move the RMContextTest to the same package of the webapp. This way tests can access protected functionalities.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160615 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
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
6 years ago
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
6 years ago
Manuele Simi 265dca22df Handle null exceptions in the response with Optional.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160525 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi b6b7e25d32 Update test cases.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160524 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
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
6 years ago
Manuele Simi 34bb1f57ff Fix the application path (was clashing with jersey) and move the declaration to the io module.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160249 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 83ad08446c Adjust poms, modules and paths.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160098 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi d2c5d692f6 Complete the renaming of context and resource paths.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@160035 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi da7841fd0f Rename Context to RMContext to avoid to fully qualify the Context in the model.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158933 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi f841ccffa6 Fix the test case with the invalid parent scope.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158932 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 3683a3d602 Resolve the jersey dependencies through the jersey-bom.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158931 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 70e6b303b8 Unmarshal the context in the create method.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158883 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi a4e32dd47a Add test cases for parent context and marshaling/unmarshaling of a simple context.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158882 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 047ed63b59 Exploit the latest gcube-resources in the context tests.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158881 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 38aaad7f83 Add dependency on the RR context-library.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158880 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 77831c3367 Add tests based on the Jersey Test Framework for Context methods. Simple container seems a good compromise for testing the methods.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158849 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 362743bed2 Remove path for the create method.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158801 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 87de702639 Stub implementation of the create method.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158800 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi b3c66a742f Add dependency on RR context client.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158799 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 46e739e086 Rename Root path to Resource.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158769 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 400cfe78ee Add stubs for Resource and ResourcePath.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158768 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 01b55f0327 Rename voidMethod to create in Context.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158758 82a268e6-3cf1-43bd-a215-b396298e98cf
6 years ago
Manuele Simi 3d2aea155e Rename Access to Context.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158636 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi abbcc67660 Clean up Maven dependencies.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158607 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi b0828f88ff Remove full coordinates from sub-modules.They inherit the parent's version and groupId.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@158539 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi e48c8eeb8e Remove outdated rest package.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@156280 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 5e62131194 Rename rest packages to rs, as per convention from java.ws.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@156279 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 3d16c2ff4f Add dependency on manager I/O to the webapp module.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@156264 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi c7e06b968c Move AccessPath to manager I/O module.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@156263 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 6c6657d741 New Manager I/O module. This module will collect I/O definitions shared among the webapp and its libraries/other clients.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@156262 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 6ce0b715e2 Remove the root src folder.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155187 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi dcfede1e17 Refactor the project as a Maven multiple module project. This will separate the webapp (the only module now in the project) with common parts reusable by the clients.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155186 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 0b9b9dc976 Refactor the project as a Maven multiple module project. This will separate the webapp (the only module now in the project) with common parts reusable by the clients.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155185 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 9b6fa80091 Set svn:ignore on webapp/WEB-INF.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155165 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 37e0ceede2 Remove the content of webapp/WEB-INF from the repository.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155164 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 9cebacfffc Just a comment in the ResourceInitializer.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155163 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Luca Frosini 579db35d07 Ignored target folder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@155160 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi f7cb97ffa3 Copy the distro files to webapp/WEB-INF and generate the war file in the package phase.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154976 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi d8b4b953aa Add a void method to the service for testing purpose.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154975 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi e04977cf8d Tweak distro files for consistency.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154974 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 257b1e4c2d Link the resource initializer in the web.xml.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154878 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 6df9e62b8f Sketch stub for resource initializer and access path.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154877 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 5e16677dba Files for the distribution.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154876 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 746f9e1589 Add dependencies for jersey, java WS, logging and testing.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154875 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 428cf37317 Remove target folder.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154798 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago
Manuele Simi 81350a225f Profile for RM service.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154797 82a268e6-3cf1-43bd-a215-b396298e98cf
7 years ago