Francesco Mangiacrapa
|
cf00b74ad6
|
Updated pom version at 2.10.0
Task #16895 see https://support.d4science.org/issues/16895#note-9
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@179846 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2019-06-14 15:01:57 +00:00 |
Francesco Mangiacrapa
|
f5877e49e1
|
commented junit tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@179738 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2019-06-07 16:27:21 +00:00 |
Luca Frosini
|
78ab28a7f3
|
Merged from branch version 2.7 of release 4.13
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@173919 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-11-02 11:34:22 +00:00 |
Francesco Mangiacrapa
|
804a7991fa
|
Task #12500 completed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@171735 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-09-28 09:19:25 +00:00 |
Costantino Perciante
|
56909fd410
|
minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@164579 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-02-26 15:12:55 +00:00 |
Costantino Perciante
|
6d8c9a22bb
|
minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@163065 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-02-08 15:57:31 +00:00 |
Costantino Perciante
|
8cf12d1593
|
added method for retrieving catalogue main email
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@162542 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-01-24 17:45:20 +00:00 |
Costantino Perciante
|
ba98ce6f17
|
test for landing pages added
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@162170 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-01-15 13:25:27 +00:00 |
Costantino Perciante
|
8874f2154c
|
added code for getting statistics (i.e. num types, num orgs, num groups and num items) as well as the landing pages of such information
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@162131 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2018-01-12 16:05:56 +00:00 |
Costantino Perciante
|
9cc24c015a
|
added search methods for dataset
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@158105 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-11-02 09:23:12 +00:00 |
Costantino Perciante
|
9bc07fb2e8
|
minor refactoring
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@144750 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-03-08 15:35:56 +00:00 |
Costantino Perciante
|
3991df8d00
|
minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@142026 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-02-01 17:29:06 +00:00 |
Costantino Perciante
|
fbfee9aefb
|
added method to evaluate the higher role in ckan
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@142013 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-02-01 17:07:35 +00:00 |
Costantino Perciante
|
303f7c657a
|
added methods getUserRoleByGroup and getUserRoleByOrganization which are much faster than the rest apis of ckan because they use query the db
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@141850 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-01-27 10:08:02 +00:00 |
Costantino Perciante
|
c99954c9d5
|
Changed structure of the library (which is now a gwt widget basically).
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@141741 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2017-01-24 16:24:22 +00:00 |
Costantino Perciante
|
9a07dc0c59
|
minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@140055 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-16 17:30:17 +00:00 |
Costantino Perciante
|
a6cde11d39
|
patchDataset method now performs differently: if a custom field with a given key is present its values won't be replaced, but merged with the new values.
Added a removeCustomField method too: it accepts a key and a value.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139806 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-07 17:32:07 +00:00 |
Costantino Perciante
|
5d8ec1875a
|
minor fix for getProductUrl method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139751 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-07 10:22:48 +00:00 |
Costantino Perciante
|
305b470532
|
added code to discover the uri resolver, create an url given the dataset id and generate it
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139732 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-06 18:01:21 +00:00 |
Costantino Perciante
|
0f993230d6
|
added method getProductsInGroup
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139724 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-06 16:03:39 +00:00 |
Costantino Perciante
|
7bef683fd3
|
added method isDatasetInGroup()
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139714 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-06 14:58:38 +00:00 |
Costantino Perciante
|
aa2eabadff
|
added method to set the parent group of a group
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@135261 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-02 21:42:17 +00:00 |
Costantino Perciante
|
610946dcf5
|
added get parent groups method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@135155 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-12-01 07:26:51 +00:00 |
Costantino Perciante
|
495c10958e
|
added remove group method for product
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@135116 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-30 14:10:30 +00:00 |
Costantino Perciante
|
ce1c7c5f63
|
product patch is available and allows to edit all the custom fields
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@135095 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-30 09:33:58 +00:00 |
Costantino Perciante
|
8d6b1771ec
|
added manage product option
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@135023 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-29 09:28:50 +00:00 |
Costantino Perciante
|
9ac732dda2
|
fixed method to patch resource (needed for grsf publisher)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@134685 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-24 14:48:43 +00:00 |
Costantino Perciante
|
2996d99339
|
added methods to convert to and from ckan roles
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@134314 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-17 13:03:33 +00:00 |
Costantino Perciante
|
71cefc4b77
|
minor improvements
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@134267 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-16 17:00:48 +00:00 |
Costantino Perciante
|
cbe92db9d1
|
added code to set both title and name (if needed) for dataset creation. In case the name is not available, the title is transformed to match a well fitted ckan name
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133894 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-11-04 10:13:18 +00:00 |
Costantino Perciante
|
e18c5ff89c
|
Searchability field is now managed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133697 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-10-28 08:55:13 +00:00 |
Costantino Perciante
|
9091c57696
|
Added methods to delete/retrieve a product
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133211 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-10-14 15:10:43 +00:00 |
Costantino Perciante
|
187730a87e
|
added junit test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133039 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-10-11 10:00:23 +00:00 |
Costantino Perciante
|
279625a541
|
one more junit test added
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133015 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-10-11 08:05:48 +00:00 |
Costantino Perciante
|
bc442f5caf
|
minor fixes: the association of a dataset to a group is always performed by the sysadmin
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@132002 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-28 16:12:40 +00:00 |
Costantino Perciante
|
1d46a200e6
|
minor fix to regex for group and product titles mapping
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131993 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-28 14:40:32 +00:00 |
Costantino Perciante
|
4114bf0f92
|
Version updated to 2.0.0: several classes changed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131978 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-28 12:49:40 +00:00 |
Costantino Perciante
|
0b1428efd8
|
added methods to manage groups
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131949 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-28 09:40:12 +00:00 |
Costantino Perciante
|
6295a91bae
|
fix in checkrole method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131418 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-15 15:41:33 +00:00 |
Costantino Perciante
|
40459ae18b
|
removed embedded mapping for production root
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131363 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-14 16:00:10 +00:00 |
Costantino Perciante
|
ff6df17384
|
minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131353 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-14 14:23:30 +00:00 |
Costantino Perciante
|
5ce7b9899b
|
minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131217 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-08 13:13:49 +00:00 |
Costantino Perciante
|
51ae09387d
|
Added code to discover Application Profile DataCatalogueMapScopesUrls
Minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131116 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-05 16:03:27 +00:00 |
Costantino Perciante
|
e101fe9786
|
fixed getRelationships: it now supports one parameter only too
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@131081 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-09-02 09:18:11 +00:00 |
Costantino Perciante
|
41c8b09ee7
|
Support added for datasets' relationships (added methods for creating, deleting and retrieving relationships between datasets). Some problems are reported here https://support.d4science.org/issues/4455
Test methods added too. The above methods all use the REST APIs since I wasn't able to make things properly work through jackan
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@130975 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-08-04 16:24:39 +00:00 |
Costantino Perciante
|
7c662a0c93
|
factory class added
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@130932 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-08-01 16:02:51 +00:00 |
Costantino Perciante
|
6507f61021
|
The portlet url is now retrieved from the infrastructure according to the scope
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129616 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-06-29 09:44:24 +00:00 |
Costantino Perciante
|
b19e751083
|
Minor fix: there is a bug into the jackan library, the list of users retrieved by organization.getUsers() is always null. We need to invoke client.getOrganization(orgName).getUsers();
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129447 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-06-27 08:04:07 +00:00 |
Costantino Perciante
|
29950eff98
|
Updated the liferay's roles that map the ones of ckan (editor, member, admin)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129311 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-06-22 15:25:17 +00:00 |
Costantino Perciante
|
2dc35c2424
|
Removed useless test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129172 82a268e6-3cf1-43bd-a215-b396298e98cf
|
2016-06-20 10:16:09 +00:00 |