Commit Graph

71 Commits

Author SHA1 Message Date
Luca Frosini f9a2a599d9 Aligned APIs with the rr-publisher APIs 2021-09-14 16:34:20 +02:00
Luca Frosini 9909a87644 Improving client 2021-07-07 17:35:49 +02:00
Luca Frosini 4cb760f4c3 Added a _ prefix for query parameters to avoid constraint clashes 2021-07-07 11:24:40 +02:00
Luca Frosini 79f4fe330b Reordered methods 2021-07-05 17:32:29 +02:00
Luca Frosini 58b1c9881a fixed javadoc 2020-12-23 14:39:03 +01:00
Luca Frosini e0de1dfabb Fixed factory 2020-11-24 19:07:18 +01:00
Luca Frosini fa0e18b580 Added getInstanceContexts() 2020-11-11 14:18:12 +01:00
Luca Frosini d822121adf Added support to request contexts uuids in instances header #20012 2020-11-09 15:47:59 +01:00
Luca Frosini 5477715aa1 Upgraded version 2020-11-04 17:38:09 +01:00
Luca Frosini d651f8251e Using ContextCache to get context representation 2020-11-04 16:23:06 +01:00
Luca Frosini 3ea46fbac1 Rationalised code 2020-11-03 16:29:44 +01:00
Luca Frosini 7dc12a9d3c Added the possibility to specify Hierarchical Mode 2020-10-29 16:54:24 +01:00
Luca Frosini 740212fbb7 Set Enum values uppercase 2020-10-01 14:40:36 +02:00
Luca Frosini ae8f97d6b2 TypeBinder has been renamed to TypeMapper 2020-02-04 09:31:11 +01:00
Luca Frosini 6099342f0c Fixed imports and class name due to IS Model refactoring 2020-02-03 10:52:24 +01:00
Luca Frosini 8ec403f47d Reorganized model as following
Element
 - EntityElement
   - Entity
     - Resource
     - Facet
   - Context
   - EntityType
     - ResourceType (3 lists of PropertyDefinition, LinkedFacet,
LinkedResource)
     - FacetType (1 list of PropertyDefinition)
 - RelationElement
   - Relation
     - IsRelatedTo
     - ConsistsOf
   - IsParentOf
   - RelationType
     - IsRelatedTo (1 list of PropertyDefinition)
     - ConsistsOf (1 list of PropertyDefinition)
 - PropertyElement
   - Property
     - Header
     - PropagationConstraint
     - Encrypted
   - PropertyType (1 list of PropertyDefinition)
     - PropertyDefinition
     - LinkedEntity
       - LinkedFacet
       - LinkedResource
2020-01-30 11:04:34 +01:00
Luca Frosini 99ab60916f Aligned APIs with IS model refactoring 2019-11-05 18:46:52 +01:00
Luca Frosini 43eb9df53a Fixing client due to model redesign 2019-10-30 09:58:03 +01:00
Luca Frosini 8a1c8170cb Fixing imports and code to be aligned with model reorganization 2019-10-25 17:45:39 +02:00
Luca Frosini 2f72bf1a1f Fixed request headers
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@177011 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 11:03:35 +00:00
Luca Frosini 550d32cb10 Refactored due to IS Model Packages Reorganization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@177007 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 09:14:05 +00:00
Luca Frosini 2e06169bba Refactored due to Packages Reorganization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@177004 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 09:01:35 +00:00
Luca Frosini 467e2fd620 Added Raw Parameter to query method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@176704 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-21 10:41:16 +00:00
Luca Frosini dd2300d1a9 Refs #11455: Integrate GX REST in resource-registry client libraries
Task-Url: https://support.d4science.org/issues/11455

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@176626 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-17 10:18:02 +00:00
Luca Frosini 790c66c907 Merged changes made in branch caused by is-model and gcube-model repackaging
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@171804 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-02 07:19:56 +00:00
Luca Frosini 108cc157ac Fixed query api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@169101 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 17:13:34 +00:00
Luca Frosini 9056e3ec82 Refs #11902: Use new REST interface in Resource Registry Client
Task-Url: https://support.d4science.org/issues/11902

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@169061 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 14:06:48 +00:00
Luca Frosini 296d22363e Refs #11902: Use new REST interface in Resource Registry Client
Task-Url: https://support.d4science.org/issues/11902

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@169040 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 09:23:50 +00:00
Luca Frosini cb961b7ea0 Refs #11902: Use new REST interface in Resource Registry Client
Task-Url: https://support.d4science.org/issues/11902

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@169016 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-11 14:20:52 +00:00
Luca Frosini 97dad98099 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-client@167900 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-06 17:26:19 +00:00
Luca Frosini 061d321e30 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-client@167867 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:31:13 +00:00
Luca Frosini d0d08bc15c 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-client@167856 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 10:31:09 +00:00
Luca Frosini cd6ee14b74 Added missing constant for Access port type to get all contexts
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@160196 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 16:32:14 +00:00
Luca Frosini 275d9bf758 Exposed get all context through access port type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@160193 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 16:27:00 +00:00
Luca Frosini 4e59b78f6b Refs #10318: Refactor Resource Regsitry Client API
Task-Url: https://support.d4science.org/issues/10318

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@158403 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:46:08 +00:00
Luca Frosini 8ec2d249b1 Refs #10246: Add read Context API in resource registry client
Task-Url: https://support.d4science.org/issues/10246

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@158262 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 17:45:36 +00:00
Luca Frosini 116e81d849 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-client@158123 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-02 13:42:31 +00:00
Luca Frosini a67c88fcb7 Updated changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@150501 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-23 13:53:19 +00:00
Luca Frosini 7ab7ba07f9 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-client@150484 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:25:14 +00:00
Luca Frosini 442896a509 Fixing logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146916 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 08:54:18 +00:00
Luca Frosini 73f7d5bc92 Changed code to allow to pass ResourceRegistry URL for testing purpose
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146758 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 13:23:27 +00:00
Luca Frosini fc020c3f9b Added exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146645 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-06 13:05:14 +00:00
Luca Frosini 2cdb3cf881 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-client@146531 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 16:44:47 +00:00
Luca Frosini 4ccf287add Added exists method which use HTTP HEAD method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146396 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:00:55 +00:00
Luca Frosini 2bbeb736ea Fixing exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144251 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:01:33 +00:00
Luca Frosini d4f5dc2db5 Fixed exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144247 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:51:14 +00:00
Luca Frosini 23104b8a78 Fixed exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144243 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:39:27 +00:00
Luca Frosini 27fd7c3fef Fixed exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144242 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:36:22 +00:00
Luca Frosini 4473b8e201 Generalizing solution by using HTTPCall provided by API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144238 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:25:32 +00:00
Luca Frosini ab7399343e Using HTTPCall utility present in api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144235 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:00:12 +00:00