Commit Graph

110 Commits

Author SHA1 Message Date
Luca Frosini 0bcdd8a260 Fixed addtoContext and removeFromContext
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141413 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-27 14:31:39 +00:00
Luca Frosini 92c081a8d8 Reorganizing code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141409 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-27 10:27:01 +00:00
Luca Frosini 8ddd4bd3db Reorganizing PACKAGES
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141387 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:33:10 +00:00
Luca Frosini e34bc1a10f Reorganizing components
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141385 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:27:26 +00:00
Luca Frosini 130cbbbdd3 Generating list with no duplicates
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141350 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 18:01:14 +00:00
Luca Frosini 3168085d05 Creating Embedded type too
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141349 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 17:59:13 +00:00
Luca Frosini 45e11a3806 Fixed Relations names
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141322 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 15:28:16 +00:00
Luca Frosini 7c4625c2d9 refs #6273: Manage Propagation Constraint on Resource Registry
https://support.d4science.org/issues/6273

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141292 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 17:36:17 +00:00
Luca Frosini 19206b90b7 refs #5753: Expose Remove From Context API
https://support.d4science.org/issues/5753

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141291 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 17:34:06 +00:00
Luca Frosini 30dc36d5bc Substituted relation property with PropagationConstraint
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141285 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 15:51:57 +00:00
Luca Frosini 4718080044 Refactored EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141258 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 15:25:29 +00:00
Luca Frosini 963afbe0fb Refactoring EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141257 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 14:56:16 +00:00
Luca Frosini 8b68f5d93f Refactoring EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141252 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 14:37:15 +00:00
Luca Frosini b1112136fa Refactored EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141249 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 13:59:27 +00:00
Luca Frosini d8943fa68e Added facet creation even with a provided header
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135182 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-01 17:14:14 +00:00
Luca Frosini 6d0d99f0a8 Added code (and commented) to return also target Resource on Resource marshalling.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135176 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-01 16:17:03 +00:00
Luca Frosini 78213468eb Implementing Referential integrity
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135078 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 17:49:43 +00:00
Luca Frosini bcad10fe05 Deleting facet when deleting resource taking in account referential intergity attribute on consistsOf relation if any.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135032 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 12:10:49 +00:00
Luca Frosini 35adebb0fa Preparing query
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135025 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 10:13:00 +00:00
Luca Frosini ee136fb6a6 Checking if an entity with the same UUID already exist. Throwing an exception in such a case
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135011 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 17:17:14 +00:00
Luca Frosini a576d3d8fa Refactoring service due to exception reoganization in resource-registry-api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135001 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:18:07 +00:00
Luca Frosini ffdc507202 Added missing commit
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134849 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 16:06:25 +00:00
Luca Frosini 0bb59cb6c2 Fixed bug on properties update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134838 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 15:39:17 +00:00
Luca Frosini 1c9f4cec10 Removed catch in resource marshalling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134820 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 14:48:35 +00:00
Luca Frosini e4cbaf19d4 Fixing update properties
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134816 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 14:44:21 +00:00
Luca Frosini eb2c8022ba Fixed error on resource marshalling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134709 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:56:05 +00:00
Luca Frosini 92173467be Added a method where the graph connection is provided
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134708 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:55:35 +00:00
Luca Frosini 1b0c54852a Fixed bug introduced with refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134683 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 14:13:55 +00:00
Luca Frosini 62c0d06750 Fixed bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134672 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 11:28:30 +00:00
Luca Frosini 635f18f667 Removed uneeded log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134662 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 10:27:36 +00:00
Luca Frosini 87cd63d2b6 Fixed bug introduced on function merging. Set a function to static.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134654 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 09:40:51 +00:00
Luca Frosini 0b1bd22e4e Changed updateResource method signature. Exposed REST API for Update Resource
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134639 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 17:14:56 +00:00
Luca Frosini fe3be05045 Refactored code and added update resource function
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134625 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:56:21 +00:00
Luca Frosini 9954274a9d Changed function invocation due to refactoring of called method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134619 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:54:17 +00:00
Luca Frosini 149ab8de56 Changed function signature for compliancy with all invocations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134617 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:53:41 +00:00
Luca Frosini 5e37f319d3 Merged two functions to reduce code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134616 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:52:04 +00:00
Luca Frosini a10c66578a Merged three functions in only one
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134607 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:25:47 +00:00
Luca Frosini 83e1234841 Changed comment
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134559 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:32:24 +00:00
Luca Frosini 7c4816ae59 Changed comment
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134558 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:31:42 +00:00
Luca Frosini f7784bfb39 Fixing header
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134422 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 10:52:56 +00:00
Luca Frosini 3a0541a8b4 PUt parameter moved from query params to content
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134412 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:07:28 +00:00
Luca Frosini cf36f9784a Fixed log level on some logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134407 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:02:40 +00:00
Luca Frosini 1b4376137a Fixed bug while updating properties of facet
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134406 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 08:54:56 +00:00
Luca Frosini ebb17ba6bf Fixing POST and PUT methods in entity manager to be able to manage large content
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134391 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 18:35:23 +00:00
Luca Frosini 28e62b7b83 Fixing POST and PUT methods in entity manager to be able to manage large content
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134390 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 18:10:32 +00:00
Luca Frosini ab786c6f28 Fixing bug on properties
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134351 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 17:47:00 +00:00
Luca Frosini daf61bc522 Fixing bug on properties
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134345 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 17:28:05 +00:00
Luca Frosini 14e35279bb Added logs to better understanding what happen in case of failure
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134335 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:41:13 +00:00
Luca Frosini cfa9c0ed32 Added logs to better understanding what happen in case of failure
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134334 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:40:46 +00:00
Luca Frosini 6dff36cb0c Added logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134330 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:02:48 +00:00