Commit Graph

199 Commits

Author SHA1 Message Date
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 7fe7e641f4 Committing missing change
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158405 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:50:53 +00:00
Luca Frosini 6155b24dbe Added TODO
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158404 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:50:11 +00:00
Luca Frosini 4431d0f364 Refs #9999: Add modifiedBy in header of entities and relations
Task-Url: https://support.d4science.org/issues/9999

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158401 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:41:41 +00:00
Luca Frosini ecbe981112 Refs #10245: Expose read Context API through Access port type in addition to Context port type
Task-Url: https://support.d4science.org/issues/10245

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158313 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-09 09:38:06 +00:00
Luca Frosini bc2fdf8afd Refs #10244: Expose getSchema() API through Schema port type in addition to Access port type
Task-Url: https://support.d4science.org/issues/10244

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158261 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 17:22:29 +00:00
Luca Frosini d12160248c Refs #10245: Expose read Context API through Access port type in addition to Context port type
Task-Url: https://support.d4science.org/issues/10245

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158260 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 17:10:14 +00:00
Luca Frosini 73de150208 Refs #10241: Expose API to Read the Context definition
Task-Url: https://support.d4science.org/issues/10241

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158254 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 15:50:59 +00:00
Luca Frosini f4673a0517 Refs #10221: Reopen DB connection if closed
Task-Url: https://support.d4science.org/issues/10221

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158229 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-06 14:35:48 +00:00
Luca Frosini f59b3b550f Refs #10221: Reopen DB connection if closed
Task-Url: https://support.d4science.org/issues/10221

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158228 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-06 13:56:36 +00:00
Luca Frosini 3fd72527ed Refs #10207: Improve management of SchemaException
Task-Url: https://support.d4science.org/issues/10207

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158163 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-03 17:21:02 +00:00
Luca Frosini a39495bdd0 Adding support to set last-updater on header refs #9999
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157628 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 15:28:11 +00:00
Luca Frosini 56a36499cd Adding support to set last-updater on header refs #9999
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157620 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 15:09:07 +00:00
Luca Frosini ea7a49b6d7 removed unneeded whitespaces
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157587 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 10:01:42 +00:00
Luca Frosini 7e567fb247 Fixed issue with gcube-token or gcube-scope provided as query params instead of in http header
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154693 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-28 14:58:15 +00:00
Luca Frosini 7c46d4dcfb 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@154665 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-27 15:30:49 +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 e4ad9c6d09 Creating missing ConsistsOf when updating a Resource
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150850 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-07-06 15:45:22 +00:00
Luca Frosini d06dea6f73 Removed List and Set support as workaround fo OrientDB bug refs #9021
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150606 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-28 14:29:01 +00:00
Luca Frosini 965954622f REST methods override default ServiceUsageRecord 'calledMethod' field to improve accounting performaces refs #9020
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150605 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-28 14:26:47 +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 10b00af70e Improved logging for rest classes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150486 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:41:26 +00:00
Luca Frosini 69d45439c9 Restored abstract declaration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150485 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:27:29 +00:00
Luca Frosini 91cb8132a5 Removed abstract declaration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150412 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 14:20:01 +00:00
Luca Frosini 908cfb5fae Set enum as static
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150411 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 14:07:16 +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 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 ed6f906c7e Added Context UUID cache
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148299 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-04 15:43:36 +00:00
Luca Frosini e559991510 Added Context UUID cache
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148297 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-04 15:24:36 +00:00
Luca Frosini b8d082399c Added Source Resource in relation including only header. this reflect the behaviour set on jackson marshalling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148278 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 15:50:55 +00:00
Luca Frosini 08db977881 Implementing possibility to create a relation and target entity with one call
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148248 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 09:21:45 +00:00
Luca Frosini ea2c1392bd Removed code which get properties no more needed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148243 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 15:00:33 +00:00
Luca Frosini 5bf6d4777b Fixed import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148242 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 14:59:05 +00:00
Luca Frosini e7d9986962 Fixing specific exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148230 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 12:25:06 +00:00
Luca Frosini 1498750f9e Fixing specific exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148229 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 09:56:24 +00:00
Luca Frosini a78e2dc505 Fixing specific exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147257 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-28 15:43:30 +00:00
Luca Frosini faae4afaa7 Removed commented code which was useless
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147222 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 13:57:10 +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 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