Commit Graph

499 Commits

Author SHA1 Message Date
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 20359dd47b Added tests for the convenient method introduced Resource in IS model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146678 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-06 18:21:11 +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 f8ce50d91d Added test checks
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146399 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:27:56 +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 8f87923fee Commented test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146357 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-27 10:15:10 +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 f1987ca718 Upgraded version after release
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144342 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-27 10:32:30 +00:00
Luca Frosini cc86c02b7f Fixed changelog. Merged from Release 4.3.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144341 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-27 10:32:13 +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 6fdb2b2542 updated project
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142170 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 14:12:21 +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 4164340b10 Added test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141683 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-20 17:43:41 +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 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