Commit Graph

416 Commits

Author SHA1 Message Date
Luca Frosini bcd0d7c457 Improved and optimized set and list management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147138 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-26 09:40:34 +00:00
Luca Frosini 583c63797a Used a constant to define connection strategy
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146955 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-19 12:39:29 +00:00
Luca Frosini 0bd37933bc Fixed bug introduced to fix embedded set
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146944 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-19 08:08:32 +00:00
Luca Frosini 77f241016b Fixing embeddedlist creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146941 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 14:10:01 +00:00
Luca Frosini 227eee7ebd Fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146912 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:56:00 +00:00
Luca Frosini b360dbd9ae Removing code which was added for mistake
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146911 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:47:05 +00:00
Luca Frosini 727d39b388 throwing exception instead of ignoring it
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146910 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:44:58 +00:00
Luca Frosini b559d2f546 Fixing log and exception throwing
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146909 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-14 12:37:57 +00:00
Luca Frosini 4c0e3ef978 Improving HTTP Response code to be more standard.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146775 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:38:46 +00:00
Luca Frosini d4b69c2c1e First attempt to add gremlin query support
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146773 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:21:32 +00:00
Luca Frosini 6e4e0fe259 fixing HTTP response codes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146755 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 13:22:53 +00:00
Luca Frosini 4eca4513da Fixing exception mapper response code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146733 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-10 15:37:58 +00:00
Luca Frosini 8a20df8e90 Fixed limit management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146732 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-10 15:37:29 +00:00
Luca Frosini 4b08a2c717 Delete Resourse is done using admin user
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146688 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-07 13:55:22 +00:00
Luca Frosini 8a985b16f3 Fixing entity creation throwing the proper exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146551 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-04 13:03:25 +00:00
Luca Frosini a95d369ba2 Fixed exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146436 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 15:02:02 +00:00
Luca Frosini 290ce6ac90 Using AccessType instead of class and its name which is much more clear and the code is cleaner
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146435 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 14:53:37 +00:00
Luca Frosini 5e7bb046c3 Fixing ER deserialization and checks for element in different context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146431 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 14:14:03 +00:00
Luca Frosini c6fb345a3b Denied Creation of Abstract Type.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146398 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:02:23 +00:00
Luca Frosini dfb18b9144 Added exists method which use HTTP HEAD method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146397 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:01:42 +00:00
Luca Frosini 0ebbef1c55 Added embedded management for unknown property
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146361 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-27 13:04:44 +00:00
Luca Frosini bc80fae3d3 Removed whitespace
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146339 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-24 16:51:57 +00:00
Luca Frosini eed62edff7 Added charset=UTF-8 on REST api @Consumes and @Produces for proper json management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146333 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-24 16:04:09 +00:00
Luca Frosini 09dae86c43 Fixed cascading management on add and remove from context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146290 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-23 12:37:15 +00:00
Luca Frosini 1647e73e8d Added creation of new admin user
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146256 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-22 08:49:16 +00:00
Luca Frosini ecff48a91a refs #7355 - Check Source-Target Relation compatibility
Added creation of instances in admin context

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146252 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-21 16:54:06 +00:00
Luca Frosini 6cdc2af21f Fixing javadoc
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146242 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-21 14:12:07 +00:00
Luca Frosini 4b89424f70 Fixed access rest path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144258 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 12:22:29 +00:00
Luca Frosini 26cde724ad Fixing exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144257 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:46:18 +00:00
Luca Frosini 3e7084ae57 Fixing exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144251 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:01:33 +00:00
Luca Frosini dbab124043 Fixed error message whitespace
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144233 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 09:52:56 +00:00
Luca Frosini bf27efa315 Added exception marshalling/umarshalling via json using jackson
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:08:04 +00:00
Luca Frosini b1e3f5eb34 Reformatted code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142386 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-08 16:31:04 +00:00
Luca Frosini 97b77f36c6 Added exception catch while setting description on schema creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:10:46 +00:00
Luca Frosini e2dbd009d9 Renamed class in ISMapper
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141894 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-30 10:43:18 +00:00
Luca Frosini 8a7542d5dd Fixed Header management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141776 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 14:33:38 +00:00
Luca Frosini c29c5c9bca Import changes due to refactor in is-model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141708 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-23 16:41:11 +00:00
Luca Frosini e6eee27a7e static String from private to public
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141621 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 14:05:56 +00:00
Luca Frosini 127dd2b7e5 Changed the way to marshall ER
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141620 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 13:57:20 +00:00
Luca Frosini 7a4d5aa96e changed import of CLASS_PROPERTY form Entities to ER
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141618 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 13:54:57 +00:00
Luca Frosini 4e5426e283 Changed relations serialization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141608 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-17 15:53:24 +00:00
Luca Frosini 1ea16a59bc Fixed REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141575 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:16:41 +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 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 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 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
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 afc66c822e Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134120 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 15:33:27 +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 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 38eedcea37 Reverted some changes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134084 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 11:01:12 +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 810ec013bf Cleaned code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134066 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-10 18:00:53 +00:00
Luca Frosini d6b3db8609 Added abstract to static classes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134064 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-10 17:08:52 +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 6bf96d6189 Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133992 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-09 17:27:17 +00:00
Luca Frosini e7cc8d4dfa Removed swagger related code, dependency and configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133856 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 13:53:01 +00:00
Luca Frosini 72343d684d Changed log to have better information
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133849 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 11:16:52 +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
Luca Frosini 5ce273381f Removed dependency over information-system-model-orientdb-binding
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133729 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 14:25:39 +00:00
Luca Frosini a45c5c04be Added missing commit
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133679 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:50:52 +00:00
Luca Frosini 36d21a8542 Added missing commit which causes missing users creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133675 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:42:04 +00:00
Luca Frosini 3db2e67582 Fixing log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133669 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:35:43 +00:00
Luca Frosini dc2e16777e Fixing log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133668 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:30:19 +00:00
Luca Frosini 42372f041b Merged from private branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133659 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 15:46:09 +00:00
Luca Frosini a0d1bd8be4 Fixing revealed bugs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133608 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-26 16:28:00 +00:00
Luca Frosini a6b896ef74 Catching exception on setting types as abstract because of a bug on orientdb 2.2.12
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133565 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-26 09:30:03 +00:00
Luca Frosini a887ffaaf2 Refactoring service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133536 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-25 15:58:40 +00:00
Luca Frosini 31210ba8c3 Added teh possibility to generate swagger REST APi defiition
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133458 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-24 15:37:23 +00:00
Luca Frosini 7c96d64551 Fixed config.property example
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133207 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:46:09 +00:00
Luca Frosini c179fdae1c Sanitizing limit
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133206 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:43:34 +00:00
Luca Frosini c1e4e869bf Reorganized code to support multiple urls and to manage query via Java API instead of HTTP API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133203 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:35:20 +00:00
Luca Frosini 6662e7b6ef Reorganizing the way to get servers from config files. Going to support multiple urls
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133188 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-13 15:53:22 +00:00
Luca Frosini bf0148db37 Refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133182 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-13 14:09:05 +00:00
Luca Frosini fb8fbd44c6 Refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133181 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-13 13:58:29 +00:00
Luca Frosini b8ea84e731 Moved Type discovery utility in is-model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133179 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-13 13:51:04 +00:00
Luca Frosini 00489f36d2 Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133111 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:33:23 +00:00
Luca Frosini 7da28e7fcf Removed Mandatory and not null constraint which is not usable in distributed mode
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@132088 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-29 15:09:38 +00:00
Luca Frosini 0bfbba8b16 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131477 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-19 10:33:36 +00:00
Luca Frosini a0181b68bb Changer elements serialization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131463 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 16:37:57 +00:00
Luca Frosini 624ba10dc2 Serializing Resource with facets
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131457 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 13:46:02 +00:00
Luca Frosini 08c6201212 Serializing Resource with facets
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131456 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 13:35:44 +00:00
Luca Frosini 328f8ad8a4 Fixed REST path and param constants
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131450 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 10:35:44 +00:00
Luca Frosini 629207e097 Fixing code for new authorization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131371 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:09:28 +00:00
Luca Frosini 780ac9215d Fixed Resource Creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131301 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 15:16:08 +00:00
Luca Frosini 9343645236 Creating resource in the proper way
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131287 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 12:45:40 +00:00
Luca Frosini 2440e59082 Solving Resource marshalling/unmarshalling as json using jackson
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131206 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-08 09:57:10 +00:00
Luca Frosini deb3727baf Trying to solve transaction issue on context creation/removal
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131099 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-05 07:05:48 +00:00
Luca Frosini 4d2a519963 Fixing REST exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131088 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-02 13:12:28 +00:00
Luca Frosini d967f5e6f3 Fixed bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131087 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-02 13:11:25 +00:00
Luca Frosini 42b076f505 Fixed Exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131083 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-02 10:55:52 +00:00
Luca Frosini 786ce74b88 Fixing REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131078 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 16:36:41 +00:00
Luca Frosini 8096b1cddc Fixing REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131072 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 15:11:44 +00:00
Luca Frosini 8891ab4fe4 Fixed Rest API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131064 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 10:54:05 +00:00
Luca Frosini 27feec58ac Added Javadoc
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131062 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 08:59:35 +00:00
Luca Frosini 81357b035d Fixed Security Context Management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131059 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-31 15:25:24 +00:00
Luca Frosini 20c6f4a307 Removed generated files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130982 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-05 12:34:44 +00:00
Luca Frosini eecf802113 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130981 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-08-05 12:31:18 +00:00
Luca Frosini e3fe42f529 Adding gcube handlers
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130974 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 15:24:47 +00:00
Luca Frosini 32702a4f10 Fixing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130972 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 14:42:08 +00:00
Luca Frosini 383306c558 Fixing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130970 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 13:45:07 +00:00
Luca Frosini 98e6b5da34 Fixing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130967 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 13:07:48 +00:00
Luca Frosini 2b3b109ca1 Removing dependency injection
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130966 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 12:22:48 +00:00
Luca Frosini 21a1dcf4b7 Removing dependency injection
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130965 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 12:22:17 +00:00
Luca Frosini 5a25dcac10 Fixing bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130952 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 16:18:54 +00:00
Luca Frosini 841d7ee6df Fixing model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130942 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 09:47:15 +00:00
Luca Frosini e6809d4db7 Fixing the way to get properties from file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130930 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-01 15:35:27 +00:00
Luca Frosini 2600c13a5a Getting configurations from properties file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130926 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-01 15:10:50 +00:00
Luca Frosini e2466d32a9 Refactoring due to changes on is-model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130925 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-01 13:52:38 +00:00
Luca Frosini 43175131bd Creating Trunk Branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130462 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:57:12 +00:00