Commit Graph

45 Commits

Author SHA1 Message Date
Luca Frosini fe6c1d3b76 Merged from branch version 1.3 of release 4.13
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@173918 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-02 11:32:50 +00:00
Luca Frosini a881355db7 Merged from private branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@166966 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-12 15:56:38 +00:00
Costantino Perciante 8814c2efc5 minor fixes on getCatalogue method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@164565 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-23 15:17:07 +00:00
Costantino Perciante f83ce30d82 improved checks for application tokens
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@164564 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-23 14:36:15 +00:00
Costantino Perciante 827ad3d740 minor fix due to change in catalogue library
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@163064 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-08 15:57:15 +00:00
Costantino Perciante 591529c07f minor fixes taking into account ticket #10596
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@162566 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-25 10:03:11 +00:00
Costantino Perciante 49356f03f6 resource's methods updated. Fix for organization name extraction
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@162551 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-24 20:32:20 +00:00
Costantino Perciante 3f90513003 partial implementation of the application token request handling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@162549 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-24 18:40:00 +00:00
Costantino Perciante b2fafeb32a purge method fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@162175 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-15 14:23:03 +00:00
Costantino Perciante a76b9d36af returns entire error on item create instead of message only
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@160587 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-15 17:49:11 +00:00
Costantino Perciante 237b98f08d minor fix to the example
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@160320 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-12 11:55:29 +00:00
Costantino Perciante c580d706a0 Added catalogue publish example
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@160141 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-06 20:48:39 +00:00
Costantino Perciante 003a624f00 user's role in organization is now checked via db (much faster)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@150554 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-27 08:11:21 +00:00
Costantino Perciante 96d24bb334 fixed check of organization existence and roles in it. Minor fixes for tags and groups creation (original field key is still used)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@150551 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-26 16:46:19 +00:00
Costantino Perciante 7b39907a01 Several improvements: namespaces are no longer handled transparently; catalogueutils class has been separated and Validator and Delegator have been added; added check for role of the user in the organization she wants to publish; other minor fixes. Moved to version 1.1
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@150515 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-25 13:06:58 +00:00
Costantino Perciante 34a076572d fixed default value usage
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@149381 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-11 08:30:51 +00:00
Costantino Perciante 30bbf3d21f fixed default value usage
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@149380 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-11 08:25:13 +00:00
Costantino Perciante dee8a06874 added fix for vocabulary field without terms
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@149349 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-09 08:38:04 +00:00
Costantino Perciante 025c13a8ca Check for ITEM_URL field among the custom fields submitted and removed if it is the case. propagateUp property is now managed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148900 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-19 10:47:23 +00:00
Costantino Perciante 04792a90e4 minor fixes on create resources with multipart
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148368 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 13:41:51 +00:00
Costantino Perciante 3052887f9d fixed writepostcatalogue call in the way it builds the request json object
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148361 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 09:56:29 +00:00
Costantino Perciante 09b904a3be alert to users for post is handled by using IS information
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148360 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 09:54:38 +00:00
Costantino Perciante 38e9722798 minor fixes on group creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148357 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 09:18:56 +00:00
Costantino Perciante d644ee2f22 improved exception handling for fields with vocabulary
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148346 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 08:35:14 +00:00
Costantino Perciante 5d5b872f08 minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148344 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-08 08:26:06 +00:00
Costantino Perciante 82dd47b70c item url is returned even if it has not been added yet to the product. Minor fixes on case of errors coming from ckan itself. Ehcache configuration fixed (explicitly set the tmp path for disk area)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148339 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 16:51:22 +00:00
Costantino Perciante 106e71e779 minor fixes on gcore endpoint social discovery
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148331 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 14:17:44 +00:00
Costantino Perciante 64b2c80116 delete and purge methods marged with annotation @DELETE
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148328 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 13:53:45 +00:00
Costantino Perciante 421f8adf5e pom fixed (removed jcr useless dependency, fixed http client). Added method to retrieve declared namespaces
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148326 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 13:46:19 +00:00
Costantino Perciante 64396def27 minor improvements
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148317 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 10:50:34 +00:00
Costantino Perciante b9d2d30552 minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148287 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 16:25:57 +00:00
Costantino Perciante 1e5a5593ac fixed check for mandatory fields
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148252 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 09:48:42 +00:00
Costantino Perciante 5c30c76701 enriched index.jsp
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@147254 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-28 14:46:24 +00:00
Costantino Perciante e15e6ff66b minor fixes and improvements
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@147250 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-28 14:29:14 +00:00
Costantino Perciante 64efdd8465 minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@147235 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 16:12:37 +00:00
Costantino Perciante e387f21c8a fixed retrieval of Categories
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@147214 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 08:59:01 +00:00
Costantino Perciante 9dabe607e2 categories are no longer published within the item. Ehcache configuration fixed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@147135 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-26 07:57:15 +00:00
Costantino Perciante 70a9e2d026 using metadatadiscovery 3.0 version. Minor fix on write post thread (username is useless)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146672 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-06 14:24:16 +00:00
Costantino Perciante 52d136e582 use shifts for division
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146530 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 16:32:25 +00:00
Costantino Perciante 9093618785 added check on file size (allowed 100mb at most)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146529 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 16:28:08 +00:00
Costantino Perciante 9ef3e69298 create resource via multipart works
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146527 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 15:45:10 +00:00
Costantino Perciante bfc940ce68 implemented create resource through multipart (to be tested)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146513 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-02 19:53:33 +00:00
Costantino Perciante 24ad4c8600 upper bound for custom fields is checked too now
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146509 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-02 17:50:04 +00:00
Costantino Perciante 993102e663 added cache for user profiles. Minor bug fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146507 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-01 09:04:46 +00:00
Costantino Perciante 228c8c57b9 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@146504 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-03-31 15:09:06 +00:00