Commit Graph

37 Commits

Author SHA1 Message Date
Costantino Perciante cb0f751b06 pom fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129187 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 15:18:49 +00:00
Costantino Perciante 22e41c9f65 create method fixed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129186 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 15:18:30 +00:00
Costantino Perciante e088102978 Added createOrganization method to create a ckan organization (it uses the ckan-connector)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129183 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 14:05:29 +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
Costantino Perciante 90310c6f6e Minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129170 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:13:12 +00:00
Costantino Perciante e63f7de731 Fixed connection pool handling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129169 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 09:29:58 +00:00
Costantino Perciante a2da9329f0 log added
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129167 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 08:30:18 +00:00
Costantino Perciante 6b8c310d30 minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129166 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 08:13:46 +00:00
Costantino Perciante 1425113df5 The CKanClient is created just once
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129164 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 15:12:15 +00:00
Costantino Perciante 846b30b24f minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129162 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 14:59:07 +00:00
Costantino Perciante 3a2ab0b8c1 Added a method to retrieve all organizations' names
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129155 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 08:12:47 +00:00
Costantino Perciante 9ea6242cf0 Minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129154 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 08:05:10 +00:00
Costantino Perciante a1e25a6208 minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129152 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-17 20:42:31 +00:00
Costantino Perciante 02ab17035d added connection pool for jdbc. Fixed getRolesForOrganizations and the user id is now retrieved using jackan
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129151 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-17 20:17:42 +00:00
Costantino Perciante 0791e7f065 Utils method function created. Now it is possible to update automatically the role a user has into an organization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129147 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-16 16:09:26 +00:00
Costantino Perciante 53ab6322cf minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129122 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 15:50:47 +00:00
Costantino Perciante 5c8605f1dc Other functionalities added to manage the correspondence between ckan and liferay roles map
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129120 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 15:05:24 +00:00
Costantino Perciante 7f13048bde minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129118 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 12:07:23 +00:00
Costantino Perciante 060b22960d The library has been enhanced with methods to create a dataset and add/delete a resource from this.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129107 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 10:31:19 +00:00
Costantino Perciante 7a7981f797 Minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129091 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 14:29:49 +00:00
Costantino Perciante 7ffb33200e minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129082 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 12:45:24 +00:00
Costantino Perciante ab63c6c83a minor log fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129081 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 12:18:37 +00:00
Costantino Perciante 9562f2ce7b minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129080 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 12:15:06 +00:00
Costantino Perciante 71e54d17c9 minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129077 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 10:29:21 +00:00
Costantino Perciante 11cbdd12d1 minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129076 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 10:08:19 +00:00
Costantino Perciante aae6e04e94 Set/reset scope for password decryption
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129075 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 10:07:41 +00:00
Costantino Perciante 63e240e5d5 fixed common encryption version
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129072 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 09:14:10 +00:00
Costantino Perciante 949cf3b650 minor fix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129059 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 14:32:27 +00:00
Costantino Perciante 8b914ba9f1 Added setDatasetPrivate function for visibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129058 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 14:26:01 +00:00
Costantino Perciante 213d328070 Since ckan can run on a different machine wrt its database, two queries are made against the IS
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129051 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 12:15:38 +00:00
Costantino Perciante 2bc573d6c5 minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129048 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 07:31:28 +00:00
Costantino Perciante 898b9ff04c Metadata profiles lookup removed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129021 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-09 08:05:16 +00:00
Costantino Perciante 0eafcafdc1 Start adding support for Metadata formats
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129019 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-08 16:31:25 +00:00
Costantino Perciante bd1ac06fe9 ignore target directory
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129008 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-07 14:01:47 +00:00
Costantino Perciante 231cf0c8cb Fixed package declaration into distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129007 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-07 14:01:13 +00:00
Costantino Perciante 2e63bc3455 First import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129006 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-07 14:00:05 +00:00
Costantino Perciante 00d2a2dcd2 Initial import.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129005 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-07 13:59:46 +00:00