Commit Graph

251 Commits

Author SHA1 Message Date
Luca Frosini 878b5cfae9 Removed owner_org from created/updated/read item 2021-02-10 14:18:38 +01:00
Luca Frosini eb8e0b7bea Commented code which add non mandatory field as empty field if there are
no mandatory fields
2021-02-10 12:26:12 +01:00
Luca Frosini 51b76c89e6 commented code which does not compile due to new gcube-model 2021-02-09 17:12:42 +01:00
Luca Frosini 826a990b42 Ported count method from version 1.4.4 to 2.0.0-SNAPSHOT 2021-02-09 15:44:15 +01:00
Luca Frosini cf0cafdcd6 Fixed changelog and version 2021-02-04 09:40:33 +01:00
Luca Frosini 2d32d782e9 Added count methods for Organization, Groups and Profiles refs #20629 2021-02-03 21:55:32 +01:00
Luca Frosini 786bbc337f Fixed GCat constant 2021-02-03 16:50:23 +01:00
Luca Frosini 4e479f0db0 Implemented count on items 2021-02-03 16:48:42 +01:00
Luca Frosini f258ff80a2 Fixed constant usage 2021-02-03 16:44:28 +01:00
Luca Frosini 09ae3573f8 Added support to get only the number of total items refs #20627 2021-02-03 16:28:17 +01:00
Luca Frosini 989df62fe2 Merge branch 'feature/20225' of
gitea@code-repo.d4science.org:gCubeSystem/gcat.git into feature/20225

Conflicts:
	src/main/java/org/gcube/gcat/profile/ISProfile.java
2021-01-27 11:44:42 +01:00
Luca Frosini 1d33bfefcb Added test 2021-01-24 23:32:19 +01:00
Luca Frosini 6b011e4e09 Fixed publishing on new Is due to change in gcube model 2021-01-24 23:31:33 +01:00
Luca Frosini 9436e96d90 Fixed profile according to latest version of IS Model and gCube Model 2021-01-11 13:17:53 +01:00
Luca Frosini 275880c428 Adding Configuration read/create to switch to the new IS 2020-12-09 15:33:28 +01:00
Luca Frosini 7a434f999a Fixed patch method 2020-12-02 16:57:39 +01:00
Luca Frosini ab0892eaf3 Migrated gCat from Jackson to gCube Jackson 2020-12-01 16:58:36 +01:00
Luca Frosini 2f5b23addf Improved error message 2020-12-01 15:39:06 +01:00
Luca Frosini 8cd17acfe9 fixed typo 2020-12-01 09:57:48 +01:00
Luca Frosini b384c08972 Refactored code which check basic provided information 2020-12-01 09:55:16 +01:00
Luca Frosini 1733b66c05 Implementing patch method 2020-11-30 19:44:15 +01:00
lucafrosini feea967d86 Commented the test used to purge all items from a catalog 2020-10-07 14:59:41 +02:00
Luca Frosini 3c328f54b8 Switching JSON management to gcube-jackson 2020-08-06 14:55:28 +02:00
Luca Frosini a7962d5f79 Ignored copied file 2020-08-06 12:33:57 +02:00
Luca Frosini 18108d1324 Switched changelog to the new format 2020-08-06 12:26:03 +02:00
Luca Frosini 6f7f71daa6 Fixing changelog 2020-07-13 16:23:08 +02:00
Luca Frosini 4c9a294b1a Fixed test 2020-06-23 15:06:44 +02:00
Luca Frosini 861ddc0f4b Fixed recursion 2020-06-23 15:06:27 +02:00
Luca Frosini ae173ccbd4 Adding the user to all supported organization instead of only to the
organization the item is going to be published.
2020-06-23 13:17:58 +02:00
Luca Frosini 06930ba4e1 Improved test to check the organization filter 2020-06-22 19:53:51 +02:00
Luca Frosini 7a0dbf48a9 Added check for supported organizations in list/search method 2020-06-22 19:39:29 +02:00
Luca Frosini 1ef0537f0e Fixing feature 2020-06-22 15:51:11 +02:00
Luca Frosini edbf4cd1d0 Fixing the implementation of the feature 2020-06-22 15:39:37 +02:00
Luca Frosini 62bb1d7a50 Added TODO 2020-06-19 18:26:15 +02:00
Luca Frosini d7cbc03f97 Changing the organization behavior to implement the feature. 2020-06-19 17:32:21 +02:00
Luca Frosini cb963dd702 Fixed CHANGELOG 2020-06-19 12:15:19 +02:00
Luca Frosini 85845fb8fc Fixed logger class 2020-05-29 13:04:17 +02:00
Luca Frosini c7ffb6c9ed Removed unneeded line of codes which causes null pointer bug 2020-05-29 13:03:59 +02:00
Luca Frosini a51c7f9312 Social Post is disabled if not explicitly enabled by the client #19295 2020-05-22 15:24:56 +02:00
Luca Frosini 5a382ce556 Fixed bug 2020-02-04 09:45:26 +01:00
Luca Frosini e9e1539e16 Catching situation where the file was not persisted by gcat 2020-02-03 15:50:58 +01:00
Luca Frosini c6f8ffa4fa Skipping file management for files not persisted 2020-01-23 15:04:51 +01:00
Luca Frosini 62a852ca40 Fixed bug on resource update 2020-01-22 17:35:48 +01:00
Luca Frosini b9c6fb995c Catching null object 2019-12-19 16:21:38 +01:00
Luca Frosini cbf7f04655 Added resolver URL check for preprod. 2019-12-19 14:13:44 +01:00
Luca Frosini 78c60541d8 Fixed dev base url 2019-12-19 12:41:38 +01:00
Luca Frosini 2f655c4ff8 Fixed component 2019-12-05 16:32:24 +01:00
Luca Frosini aed3ce3ccb Fixing pom 2019-12-05 14:54:39 +01:00
Luca Frosini c6b3f53bce Fixed pom for a better management of distro files 2019-11-21 17:01:08 +01:00
Luca Frosini 6580680f6f Fixing code to allow to operate on VO which does not have a
corresponding organization
2019-10-10 14:26:15 +02:00
Luca Frosini c13656d3e3 Fixed javadoc warning 2019-10-04 17:04:50 +02:00
Luca Frosini f96e9e3d41 Fixed allow list for query parameter in list method 2019-10-04 14:42:44 +02:00
Luca Frosini 707993872b Added lines for future tests 2019-10-04 14:16:51 +02:00
Luca Frosini 7322b7d43e Added allowed list of field instead of checking the ones to be rejected
reject
2019-10-04 14:16:34 +02:00
Luca Frosini 78a54707ec Added the possibility to list items by specifying query parameters (used
for direct query on Slr via Ckan package_search API)
2019-10-01 18:00:40 +02:00
Luca Frosini 9779afe1e5 Added organization parameter to allow client to specify the target
organization in item listing (in VO and ROOT) refs #17635
2019-09-27 17:33:10 +02:00
Luca Frosini 56261f96ab Fixed bug which does not allow to create a new cache because the second
had the same name of the first
2019-09-27 17:24:34 +02:00
Luca Frosini f6b97c7b3d Only admin can manage profiles 2019-09-23 11:15:49 +02:00
Luca Frosini 5c187c9842 Improved code in test 2019-09-20 14:46:54 +02:00
Luca Frosini 246a481533 Added test 2019-09-19 17:13:41 +02:00
Luca Frosini d12ed67446 User Cache is per Scope and not per ckan installation. Fixed this issue 2019-09-18 12:58:03 +02:00
Luca Frosini 3f542a763b Fixed HTTP Error 2019-09-18 12:57:30 +02:00
Luca Frosini 8afc2aa2cf Added check for Profile management. Only editor and admin can do that 2019-09-16 15:46:11 +02:00
Luca Frosini 1c64d870f0 User Cache expires avery 15 minutes 2019-09-16 14:55:57 +02:00
Luca Frosini f06002302c Formatted code 2019-09-16 14:50:08 +02:00
Luca Frosini 11cd97e1c7 Formatted code 2019-09-16 14:48:18 +02:00
Luca Frosini 63246f7cce Added user cache 2019-09-16 12:00:49 +02:00
Luca Frosini d59786d415 Removed the dependency from ckan-util-library 2019-09-12 17:58:39 +02:00
Luca Frosini 0ad1df026e Fixing the feature 2019-09-12 16:05:45 +02:00
Luca Frosini 4a7c0f2a70 Code refactored which enable the following functions. For each request
- the requesting user role and email are retrieved via social networking
service and updated on CKAN.
2019-09-12 14:26:24 +02:00
Luca Frosini 635825ebd9 Error message has been moved in a constant 2019-09-09 14:25:27 +02:00
Luca Frosini 8d7e88ff72 Added the possibility to download the XSD which validate the profile
schema
2019-09-09 14:20:09 +02:00
Luca Frosini a7f35422c9 Fixed client error from 400 Bad Request to 405 Method Not Allowed 2019-09-06 16:55:46 +02:00
Luca Frosini a5bdbc6500 Added the capability to get the profile schema in profile collection 2019-09-06 16:38:15 +02:00
Luca Frosini b0017e0558 Ignored generated directory 2019-07-24 18:25:09 +02:00
Luca Frosini 0986131e1d Merged from release branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@181278 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-07-22 09:54:05 +00:00
Luca Frosini 8ffe031cf8 Merged from branch of release 4.14.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@179481 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-05-20 15:23:49 +00:00
Luca Frosini eebba6f67f Added example file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177326 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 16:37:31 +00:00
Luca Frosini 3627189715 Fixing group and tag generation on Item Validator
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177325 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 16:36:09 +00:00
Luca Frosini f90b768b39 Fixing group and tag generation on Item Validator
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177319 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 13:09:44 +00:00
Luca Frosini 10201a9cea Saparated REST class from Profile management and code to effectively manage profile on IS
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177318 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 12:02:20 +00:00
Luca Frosini e82f9f2490 Updating test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177315 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 10:26:13 +00:00
Luca Frosini 36f0361a6f Changed context loader
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177314 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 09:50:10 +00:00
Luca Frosini efec120695 Merged from branch of release 4.13.1 ref #12988
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177280 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-26 13:58:06 +00:00
Luca Frosini 3e13bbbdde Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177054 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 15:49:30 +00:00
Luca Frosini 280a41dbad Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177053 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:39:09 +00:00
Luca Frosini d1a7a9c16b Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177052 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:31:29 +00:00
Luca Frosini e1de49f00f Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177051 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:17:09 +00:00
Luca Frosini 8f27af53e0 Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177049 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 13:40:57 +00:00
Luca Frosini 5066cae1ee Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177045 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 11:25:19 +00:00
Luca Frosini 6f2e32337f Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177044 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 11:04:20 +00:00
Luca Frosini e1e7a413ba Merged from branch of release 4.13.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177043 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 10:10:59 +00:00
Luca Frosini b6891d4d89 Using gcat-api refs #13216
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@176866 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-29 16:46:22 +00:00
Luca Frosini f21a714851 Merged from private branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@176439 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-10 11:29:47 +00:00
Luca Frosini 42badcda3e Committing before merge
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@176438 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-10 11:28:38 +00:00
Luca Frosini a0a0f6bbd9 Fixed distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174590 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-05 12:45:13 +00:00
Luca Frosini 9d2a167478 Fixing web.xml
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174542 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-04 15:16:15 +00:00
Luca Frosini 50106016bc Restored commented code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174536 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-04 13:33:50 +00:00
Luca Frosini 30d8d56598 Renamed Project
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174534 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-04 11:30:19 +00:00
Luca Frosini 6469bf2681 Renamed Project
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174533 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-04 11:29:34 +00:00
Luca Frosini 5743fc03ed Service Refatored and Renamed to gCcat
Refs #12810: Refactor catalogue-ws 

Task-Url: https://support.d4science.org/issues/12810

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@174532 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-04 11:06:22 +00:00