Commit Graph

81 Commits

Author SHA1 Message Date
Luca Frosini 3c21a3eda5 Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141572 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:00:33 +00:00
Luca Frosini e727e1e6e5 Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141568 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:56:28 +00:00
Luca Frosini f5b33d67c1 Changed the way to get all relations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141565 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:06:57 +00:00
Luca Frosini b853a799f9 Changed the way to serialize relations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141547 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 11:21:35 +00:00
Luca Frosini ac2c827022 Refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141534 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 16:03:11 +00:00
Luca Frosini 41b112670e Implementing get all relation from a provided resource
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141522 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 10:13:09 +00:00
Luca Frosini 2b55c43477 Refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141519 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 17:00:21 +00:00
Luca Frosini 35bc8a6c83 Fixed test log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141512 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 16:12:00 +00:00
Luca Frosini 7ede9a4688 IMplementing get all instances of a specified type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141511 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 16:11:28 +00:00
Luca Frosini f005fbfb1d IMplementing get all instances of a specified type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141506 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 11:06:50 +00:00
Luca Frosini 800bb05a76 Removed unused import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141498 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-10 13:59:12 +00:00
Luca Frosini 098bf95122 Refactored
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141497 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-10 13:58:13 +00:00
Luca Frosini 1078b43fcf Reorganizing code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141436 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-30 16:31:12 +00:00
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 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 152b844b0a Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141351 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 18:12:29 +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 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 a338ff3ef2 Refactored EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141261 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 16:00:49 +00:00
Luca Frosini 21c7896b85 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141260 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-12-19 15:38:31 +00:00
Luca Frosini ce495de6f5 Removed old EntityManagement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141259 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 15:28:46 +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 6960ef5738 removed uneeded import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135249 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-02 15:45:33 +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 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 02de4c1b0d Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134931 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 08:13:20 +00:00
Luca Frosini 62553c1bf5 Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134839 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 15:41:22 +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 77c47433d4 Added test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134706 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:54:32 +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 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 7a65a38438 Added missing function due to changes in relative interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134626 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:57:10 +00:00
Luca Frosini e1d3c9d65d Commented test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134560 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:36:18 +00:00
Luca Frosini aa41ffb22c Fixing test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134355 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 07:46:20 +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 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
Luca Frosini fb98a6e857 Fixed Header Issue
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134322 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:50:37 +00:00
Luca Frosini b40503fa33 Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134114 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 11:02:51 +00:00
Luca Frosini 631e030dae Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134098 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 17:18:54 +00:00
Luca Frosini c99030ee66 Fixing problem on admin factories
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134097 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 16:55:09 +00:00
Luca Frosini dfb9d513ce Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134082 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 10:54:41 +00:00
Luca Frosini 2d2f13a67c Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134041 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-10 14:13:51 +00:00
Luca Frosini b1d39fd0cc Changed the way to retrieve current context. Token has now priority
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133848 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 11:15:18 +00:00
Luca Frosini 5f852d0f51 Imported information-system-bom in dependency management.
Deactivated enunciate plugin

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133761 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-31 15:18:08 +00:00