Commit Graph

121 Commits

Author SHA1 Message Date
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 7cbe6bf198 Fixed import due to Header package refactor 2020-01-20 10:30:37 +01:00
Luca Frosini 1146efbc14 Fixed imports and code to comply with IsIdentifiedBy relation which has
been moved from IS Model to gCube Model
2019-12-05 12:13:45 +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 fc898763a7 Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@177106 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-13 11:29:22 +00: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 469ba11541 Reorganized gCube Model packages
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@177008 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 09:18:06 +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 51e433f5b9 Refactored due to renaming of Embedded class in Property in ISModel
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@176968 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-05 10:21:10 +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 e473abf024 Uncommented tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@176630 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-17 11:01: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 35f07272ac ignored .settings folder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@157972 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-30 13:01:59 +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 5fd419ef1e Removed wrong files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146779 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-12 07:43:11 +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 1f41f9c9e1 Added test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@146444 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-30 10:34:38 +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
Luca Frosini e0c6542f9e Added exception marshalling/umarshalling via json using jackson
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@144210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:08:04 +00:00
Luca Frosini ff0462ccac Fixed boolean return transformation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@142348 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-07 16:08:44 +00:00
Luca Frosini 7e3ddf7c7b Fixed bug on rr clients
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@142213 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:32:11 +00:00
Luca Frosini 2d63bb9418 Renamed class in ISMapper
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141894 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-30 10:43:18 +00:00
Luca Frosini 9792af48fb Improved generic declaration based on IS-model improvement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141780 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 14:34:53 +00:00
Luca Frosini e8c3009208 Fixed REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141577 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:19:48 +00:00
Luca Frosini 1140ac31ad Fixing API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141569 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:57:33 +00:00
Luca Frosini 2d8bc920ca Refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141566 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:09:11 +00:00
Luca Frosini 610d98c874 Aligned client with new REST interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141530 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 15:39:53 +00:00
Luca Frosini 6c51f27068 Reorganizing components
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@141385 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:27:26 +00:00
Luca Frosini f49a600363 Chenged made due to resource-registry-api refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@135016 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 07:27:18 +00:00
Luca Frosini 1daf5c4fcd ScopedTest class get token from a property file which is ignored. So that there is no more possibility to commit token for mistake
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133988 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-09 15:30:15 +00:00
Luca Frosini 0935bfc1f7 Changing the tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133913 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-04 15:52:41 +00:00
Luca Frosini 0729c53223 Added XML doctype.
Imported information-system-bom in dependency management.


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133769 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-31 16:05:00 +00:00
Luca Frosini 66e71cf3be Removed blank lines
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133728 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 14:04:49 +00:00
Luca Frosini 6fdfb4ee21 Fixing log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133704 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 10:26:36 +00:00
Luca Frosini 0376c8ec97 Fixed tests log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133698 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 09:06:33 +00:00
Luca Frosini ea7b88d120 Added tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133661 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-27 15:51:22 +00:00
Luca Frosini dedec490d7 Exposed missing API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133313 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-18 08:52:05 +00:00
Luca Frosini 58505a8a6f Added limit parameter to query
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133205 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 13:35:46 +00:00
Luca Frosini 3772efab75 Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133113 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:35:20 +00:00
Luca Frosini 7f30efb5b3 Implementing Client
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@131369 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:09:03 +00:00
Luca Frosini e19bd27472 Fixing clients
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@131293 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 13:22:50 +00:00
Luca Frosini 7feed01453 Fixing client
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@131285 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 12:45:05 +00:00
Luca Frosini 97535bbbae Fixing REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@131073 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-01 15:11:51 +00:00
Luca Frosini 55cf7dd702 Creating Trunk Branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@130463 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:57:37 +00:00