Commit Graph

237 Commits

Author SHA1 Message Date
Luca Frosini cba560a6e8 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@168993 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 16:18:48 +00:00
Luca Frosini 047f1a678d Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@168989 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:47:05 +00:00
Luca Frosini 4cd64f8094 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@168986 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:05:47 +00:00
Luca Frosini 5590c79548 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@167900 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-06 17:26:19 +00:00
Luca Frosini a82ec92870 Removed old test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166937 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-12 12:46:43 +00:00
Luca Frosini eabfa329d2 Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160157 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 12:51:57 +00:00
Luca Frosini 263bcf07c9 Fixes #10435: Add support for hierarchical roles to support child context overview
Task-Url: https://support.d4science.org/issues/10435

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160040 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-05 09:10:34 +00:00
Luca Frosini 1fcdccd7af Refs #10435: Add support for hierarchical roles to support child context overview
Task-Url: https://support.d4science.org/issues/10435

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158968 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-30 17:06:08 +00:00
Luca Frosini d1fe6daa64 Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158885 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-29 08:25:17 +00:00
Luca Frosini f754bf7dda Refs #10435: Add support for hierarchical roles to support child context overview
Task-Url: https://support.d4science.org/issues/10435

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158879 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-28 16:34:43 +00:00
Luca Frosini bbef5ed1d3 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158790 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 16:09:19 +00:00
Luca Frosini d9fe526386 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158787 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 15:25:16 +00:00
Luca Frosini bdf17da9aa Refs #10247: Create Resource Registry Context Client
Task-Url: https://support.d4science.org/issues/10247


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158786 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 14:10:08 +00:00
Luca Frosini 96b98199e8 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158776 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 09:17:38 +00:00
Luca Frosini c4116ed127 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158775 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 09:14:28 +00:00
Luca Frosini 33f4264348 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158773 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 08:39:21 +00:00
Luca Frosini c4a2a28b68 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158741 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-21 17:35:12 +00:00
Luca Frosini 92075c38b3 Refs #10390: The serialized resource is the old verson in some cases after update
Task-Url: https://support.d4science.org/issues/10390

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158739 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-21 17:18:11 +00:00
Luca Frosini 93187f062d Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158635 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 17:42:30 +00:00
Luca Frosini 008f621677 Commented Test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158628 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 16:10:54 +00:00
Luca Frosini bcf1621866 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158597 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 11:31:22 +00:00
Luca Frosini b9a5ebe072 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158595 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 10:42:37 +00:00
Luca Frosini 3794de9127 Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158560 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-16 11:26:40 +00:00
Luca Frosini 996a00f10f Refs #10238: Refactor Context Port Type
Task-Url: https://support.d4science.org/issues/10238

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158532 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-15 18:31:49 +00:00
Luca Frosini a3de8cee21 Added alternative user tokens
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158409 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:53:40 +00:00
Luca Frosini e4bcd8f1b9 Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158408 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:52:53 +00:00
Luca Frosini 3d93e7ea0a Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158407 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:52:13 +00:00
Luca Frosini 9a47d5d13a Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158406 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:51:37 +00:00
Luca Frosini 7fc50be129 set devnext as default context for test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@155172 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-12 09:43:28 +00:00
Luca Frosini b704fb7551 Commented test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154891 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:44:29 +00:00
Luca Frosini 94a63e61f4 Added test for resource update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154890 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:44:18 +00:00
Luca Frosini 934f3216d1 Added test for resource update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154888 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:39:50 +00:00
Luca Frosini 6c2a602c8d changed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154697 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-28 16:32:21 +00:00
Luca Frosini 7abb718a10 Added API to retrieve Resource instances filtering by values of one of the attached facet. Facet type and consistsOf relation can also by specified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154651 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-27 10:59:00 +00:00
Luca Frosini 31901d5ce3 Overriding calledMethod accounting field. Refs #9020
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150578 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-27 15:22:19 +00:00
Luca Frosini 9b05ff260c Merged changed made in branch for release.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150395 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 09:23:03 +00:00
Luca Frosini bbed0810ef suppressed warning
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148330 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 14:07:04 +00:00
Luca Frosini 8951681d06 Defined a custom pattern for DateTimeFormat to support timezone. The value is also changed on DB configuration when the database is created.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148327 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 13:51:40 +00:00
Luca Frosini cf80b80829 Reorganizing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148241 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 14:58:56 +00:00
Luca Frosini 2f4fd9e4fd Reorganizing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148237 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 13:31:45 +00:00
Luca Frosini 479564f509 fixing test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148236 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 13:30:00 +00:00
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 533a4e128a First attempt to add gremlin query support
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146774 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:22:05 +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 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 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 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 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 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 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 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
Luca Frosini 8ca9140e84 Fixing log level
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133683 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:59:49 +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 0bc16375b8 Reduce amount of loggin of org.gcube.informationsystem.impl.utils.discovery package
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133666 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 16:11:34 +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 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 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 87a6176e10 Removed files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@133208 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:52:57 +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 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 8c336b505e Added tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131322 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-13 10:15:39 +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 1aa6f50c44 Fixing bash test script
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131107 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-05 09:05:07 +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 1666affe61 Creating tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@131091 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-02 15:16:28 +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 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 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 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 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 2f56cd600e Adding tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130955 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-03 10:04:32 +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 14d7937060 Fixing regular expression types creation problems
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@130948 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 15:36:32 +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