Commit Graph

110 Commits

Author SHA1 Message Date
Luca Frosini db0dc9a8ea Fixed request headers
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@177011 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 11:03:35 +00:00
Luca Frosini e8b4626c83 Refactored due to IS Model Packages Reorganization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@177007 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 09:14:05 +00:00
Luca Frosini b8de7f92dd Refactored due to Packages Reorganization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@177004 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-06 09:01:35 +00:00
Luca Frosini 197cf33409 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-publisher@176968 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-05 10:21:10 +00:00
Luca Frosini ce75bf5658 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-publisher@176626 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-17 10:18:02 +00:00
Luca Frosini a0c5acfbee 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-publisher@171807 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-02 07:24:05 +00:00
Luca Frosini e0b3cee45b Refs #11903: Use new REST interface in Resource Registry Publisher
Task-Url: https://support.d4science.org/issues/11903

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@169062 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 14:06:59 +00:00
Luca Frosini d12e35f225 Refs #11903: Use new REST interface in Resource Registry Publisher
Task-Url: https://support.d4science.org/issues/11903

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@169041 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 09:24:05 +00:00
Luca Frosini 6e984b7acb Refs #11903: Use new REST interface in Resource Registry Publisher
Task-Url: https://support.d4science.org/issues/11903

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@169034 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-11 17:47:40 +00:00
Luca Frosini 9eb3aba0ae 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-publisher@167868 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:34:20 +00:00
Luca Frosini 9cb0a7c288 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-publisher@167867 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:31:13 +00:00
Luca Frosini ba9a70abda changed log level
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154918 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 15:56:14 +00:00
Luca Frosini 7c201359ea Fixed bug introduced in refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154908 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 12:38:09 +00:00
Luca Frosini 04f7dac6d1 Removed the needs to pass the class to create/update methods
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154781 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-03 15:44:13 +00:00
Luca Frosini a9b8671c81 Fixed api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154773 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-03 13:56:42 +00:00
Luca Frosini 90ca8549b9 Added apis to avoid to pass the type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154771 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-03 13:49:47 +00:00
Luca Frosini 82cd0aa78a Added create/update methods using string containing the json of the entity instead of the java instance. refs #9877
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@154758 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-02 16:28:47 +00:00
Luca Frosini 913895a8b5 Updated changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@150501 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-23 13:53:19 +00:00
Luca Frosini 62b7901b20 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-publisher@150484 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:25:14 +00:00
Luca Frosini 3a432bc345 Removed not needed / from path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@148279 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 15:51:37 +00:00
Luca Frosini 7fbd6b419a Changed contact url for consistsOf and isRelatedTo creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@148259 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 12:42:03 +00:00
Luca Frosini c7fcaff62c Fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@147236 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-28 09:33:38 +00:00
Luca Frosini e4229c4c07 Added deleteResource and deleteFacet by UUID
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146919 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 09:49:34 +00:00
Luca Frosini fcd12e945b Fixing logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146916 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 08:54:18 +00:00
Luca Frosini 913cce5413 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-publisher@146759 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 13:23:45 +00:00
Luca Frosini 838a258753 Removed common-client dependency which was not needed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146588 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-05 15:18:53 +00:00
Luca Frosini 000fc10247 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-publisher@146531 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 16:44:47 +00:00
Luca Frosini 098892dc7d Fixing exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@144257 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:46:18 +00:00
Luca Frosini 68b96c5a6e Fixed exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@144248 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:51:22 +00:00
Luca Frosini d0290d6bd4 Generalizing solution by using HTTPCall provided by API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@144239 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 10:25:41 +00:00
Luca Frosini 04d8be5aee Added exception marshalling/umarshalling via json using jackson
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@144210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:08:04 +00:00
Luca Frosini 7277239d6b Fixed boolean return transformation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@142349 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-07 16:29:28 +00:00
Luca Frosini d33bbbca7c Fixed bug on rr clients
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@142213 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:32:11 +00:00
Luca Frosini 3d35c029ab Renamed class in ISMapper
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@141894 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-30 10:43:18 +00:00
Luca Frosini b1da72fdf2 Improved generic declaration based on IS-model improvement
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@141781 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 14:34:59 +00:00
Luca Frosini 828d893388 Aligned client with new REST interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@141529 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 15:37:46 +00:00
Luca Frosini 810feaac5b Reorganizing REST API
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@141438 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-30 16:31:44 +00:00
Luca Frosini 45bda7c082 Reorganizing components
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@141385 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:27:26 +00:00
Luca Frosini 5699ce9dab 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-publisher@141324 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 15:29:37 +00:00
Luca Frosini 67913ea482 Chenged made due to resource-registry-api refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@135017 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 07:27:30 +00:00
Luca Frosini 00bf76b9b8 Added missing updateResource API to version 1.1.0-SNAPSHOT
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134954 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 11:49:27 +00:00
Luca Frosini 7e5556b691 Fixed publisher due to changes on REST API for post and put methods
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134409 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:03:45 +00:00
Luca Frosini 9c8852f225 Fixing log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134389 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 17:32:05 +00:00
Luca Frosini 93286a8a85 refs #5748: Add "Add To Context API" in Resource Registry Publisher
https://support.d4science.org/issues/5748

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134122 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 15:36:13 +00:00
Luca Frosini 9385457e9e refs #5748: Add "Add To Context API" in Resource Registry Publisher
https://support.d4science.org/issues/5748

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134121 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 15:33:35 +00:00
Luca Frosini 72f5aa25e7 refs #5748: Add "Add To Context API" in Resource Registry Publisher
https://support.d4science.org/issues/5748

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@134116 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 11:33:14 +00:00
Luca Frosini 73f65aad08 Changing the tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@133912 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-04 15:51:33 +00:00
Luca Frosini a746eb869b git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@133702 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-10-28 10:06:54 +00:00
Luca Frosini 8167da12cb Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@133115 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:36:27 +00:00
Luca Frosini 54f731c69a Fixing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131464 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 16:38:12 +00:00
Luca Frosini 3a35ea17a0 Implemented Resource Registry Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131454 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 11:41:32 +00:00
Luca Frosini d999232149 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131453 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 11:39:26 +00:00
Luca Frosini 806d689504 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131451 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 10:36:06 +00:00
Luca Frosini a677cb07a0 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131413 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 15:24:24 +00:00
Luca Frosini fc70aaffa6 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131382 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 12:57:14 +00:00
Luca Frosini 7440fd98ef implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131377 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 11:46:48 +00:00
Luca Frosini b1e3b8ea73 implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131368 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:08:46 +00:00
Luca Frosini 0efff0d87f Implementing Publisher
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131349 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 12:49:50 +00:00
Luca Frosini ddec0efa10 Fixing clients
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@131294 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 13:23:00 +00:00
Luca Frosini c5d0bac028 Creating Trunk Branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@130465 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:58:09 +00:00