Commit Graph

103 Commits

Author SHA1 Message Date
Luca Frosini 92319b99f1 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-api@158163 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-03 17:21:02 +00:00
Luca Frosini 8b922c0f3a Refs #9966: Issues with json serialization for the registry
Task-Url: https://support.d4science.org/issues/9966

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158162 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-03 17:15:47 +00:00
Luca Frosini d7281a3548 Removed wrong url encoding
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158161 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-03 16:56:46 +00:00
Luca Frosini b2ad6d54e1 Refs #10172: Add getFilteredResources() in ResourceRegistryClient
Task-Url: https://support.d4science.org/issues/10172

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158123 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-02 13:42:31 +00:00
Luca Frosini 2d9a0261b1 fixed changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158020 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-30 15:15:06 +00:00
Luca Frosini 06ccb8f6fd added connection close in finally block
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@154893 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:46:56 +00:00
Luca Frosini f63778b9ac Added Utility functions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@154892 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:46:08 +00:00
Luca Frosini c32db40119 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-api@154651 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-27 10:59:00 +00:00
Luca Frosini 1be93d7d9a Added explict disconnect on HTTPCall
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@152644 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-04 14:16:43 +00:00
Luca Frosini 4e47079eaf Resource Registry clients now follows redirects and support https. Fixes #8757
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@150484 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:25:14 +00:00
Luca Frosini 4a984521f3 Fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146841 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-13 09:56:28 +00:00
Luca Frosini b16e6cf039 Improving HTTP Response code to be more standard.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146776 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:42:23 +00:00
Luca Frosini ee4b037c96 fixing HTTP response codes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146756 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 13:23:11 +00:00
Luca Frosini 9921fd60b5 Reimplemented HTTPCall to better suite new client and publisher implementation. Client and Publisher now does not uses FWS but ICClient to discover resource-registry.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146531 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 16:44:47 +00:00
Luca Frosini cbc3fd8061 Added AvailableInAnotherContext Exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146427 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 13:51:44 +00:00
Luca Frosini 3fdbeeeccb Fixed HEAD http request management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146395 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:00:32 +00:00
Luca Frosini 001146c7c2 Added charset=UTF-8 content-type declaration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146344 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-24 17:22:53 +00:00
Luca Frosini ab6ef39199 Added constructor with body content
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144249 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:54:05 +00:00
Luca Frosini bf25323574 Added HTTPCall utility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144234 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 09:57:48 +00:00
Luca Frosini 4494c364cc Added HTTP client utils
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144232 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 09:44:57 +00:00
Luca Frosini 614b4bdf4f Added missing exceptions constructors
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144209 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:06:19 +00:00
Luca Frosini 9f71894ca8 Added exception marshalling/umarshalling via json using jackson
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@144208 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:02:32 +00:00
Luca Frosini b482c7b7a5 Fixed REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141576 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:17:06 +00:00
Luca Frosini 04954cea48 Reorganizing exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141526 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 13:47:57 +00:00
Luca Frosini 329b5a65e5 Added rest variable name constant
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141520 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 17:14:09 +00:00
Luca Frosini 6531613998 Removed unused path constant
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141502 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-10 14:02:31 +00:00
Luca Frosini b132b95af2 Reorganizing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141437 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-30 16:31:35 +00:00
Luca Frosini d755b55bbe Reorganizing components
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141385 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:27:26 +00:00
Luca Frosini 649721ca66 Added boolean to control if the client want the list only or including the schema for each element
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141323 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 15:29:10 +00:00
Luca Frosini 73b0a2cbef 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-api@141291 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 17:34:06 +00:00
Luca Frosini 558a1fd6e7 Reorganizing exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@141247 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 13:57:46 +00:00
Luca Frosini 21e0fe9c6e Fixed api javadoc
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@135015 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 07:25:49 +00:00
Luca Frosini be0ef9768e Reorganizing exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@135003 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:29:26 +00:00
Luca Frosini ed7390ee82 Added missing exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@135002 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:28:04 +00:00
Luca Frosini 0906369c5d Reorganizing exceptions. Fixed generated serial version uid where duplicated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134999 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:15:07 +00:00
Luca Frosini e237d24474 Changed updateResource method signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134638 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 17:14:32 +00:00
Luca Frosini 44ec7f28bd Added update resource method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134627 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:57:43 +00:00
Luca Frosini 190e39f6f4 PUt parameter moved from query params to content
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134413 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:07:34 +00:00
Luca Frosini 57fb0f5138 Fixed entity path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134408 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:03:05 +00:00
Luca Frosini 0138f7d959 Renamed variables
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134336 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:41:24 +00:00
Luca Frosini 00c0820433 Exposing AddToContext APi refs #5701
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134115 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 11:02:59 +00:00
Luca Frosini dd430509d8 Added addtoContext API in entity management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134080 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 09:30:36 +00:00
Luca Frosini df1bce7a72 Switched api from string to UUID
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@133660 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 15:51:02 +00:00
Luca Frosini b32581e8bc Added limit to query
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@133204 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:35:34 +00:00
Luca Frosini a5f78df1eb Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@133112 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:34:12 +00:00
Luca Frosini 7b6f403a51 Added Constants
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131383 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 12:57:27 +00:00
Luca Frosini a2b3e23461 Added constant for clients
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131373 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:09:57 +00:00
Luca Frosini ccde244d10 Fixing api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131286 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 12:45:21 +00:00
Luca Frosini f9f85e12e8 Added exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131086 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-02 12:30:55 +00:00
Luca Frosini bcc1283751 Fixing REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131071 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 15:11:37 +00:00
Luca Frosini 87758d37a7 Fixing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@130971 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 13:45:13 +00:00
Luca Frosini 5eb03b3228 Fixing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@130968 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-04 13:07:57 +00:00
Luca Frosini 13af090482 Creating Trunk Branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@130461 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:56:56 +00:00