Commit Graph

260 Commits

Author SHA1 Message Date
Francesco Mangiacrapa 4c21b784f9 4000: URI Resolver - must support HEAD request
Task-Url: https://support.d4science.org/issues/4000

Added MultiReadHttpServletRequest in order to serve doHead correctly

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128628 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-16 17:20:20 +00:00
Francesco Mangiacrapa 1e4a4e1083 Feature #4000 URI Resolver - must support HEAD request
https://support.d4science.org/4000

Added doHead handler



git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128626 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-16 16:05:45 +00:00
Francesco Mangiacrapa d0daeb3de8 Updated distro
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128622 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-16 15:34:02 +00:00
Francesco Mangiacrapa 11b2bfb0cc Added comments during resetting scope provider
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128579 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-12 16:29:33 +00:00
Francesco Mangiacrapa c71b90f977 Added comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128577 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-12 16:22:44 +00:00
Francesco Mangiacrapa 2a0576b096 Added comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128576 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-12 16:18:12 +00:00
Francesco Mangiacrapa 2ad51a2e5f updated comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128575 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-12 16:05:47 +00:00
Francesco Mangiacrapa 36b49746d3 Added ScopeProvider.instance.reset() in finally statement
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128574 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-12 15:28:18 +00:00
Francesco Mangiacrapa 1d79703f6f removed jdom 2.0.2 from pom, it's using version 1.0.1 imported by GeonetworkManager pom
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128369 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-27 16:13:00 +00:00
Francesco Mangiacrapa 10d76c9e76 Removed comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128324 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-26 15:25:15 +00:00
Francesco Mangiacrapa 101cc621e0 Updated in order to manage Geonetwork request for MEF service
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128323 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-26 15:23:38 +00:00
Francesco Mangiacrapa e2db57d9aa Added comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@126989 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-11 12:36:40 +00:00
Francesco Mangiacrapa 6273e09164 3135: Uri Resolver enhancements: create a Geonetwork Resolver
Task-Url: https://support.d4science.org/issues/3135

fixed parameter scope

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@126797 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-06 08:33:07 +00:00
Francesco Mangiacrapa 48541a1f09 3135: Uri Resolver enhancements: create a Geonetwork Resolver
Task-Url: https://support.d4science.org/issues/3135

Added reset for cache and scope cached

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@126796 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-06 08:31:44 +00:00
Francesco Mangiacrapa 5fa9dcfaa9 3135: Uri Resolver enhancements: create a Genetwork Resolver
Task-Url: https://support.d4science.org/issues/3135

Fixed issue on Get Request, added query string parameters purged by "scope"

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@126766 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-05 13:24:15 +00:00
Francesco Mangiacrapa ae7ed9ce32 3135: Uri Resolver enhancements: create a Genetwork Resolver
Task-Url: https://support.d4science.org/issues/3135

Added new servlet/resolver Geonetwork
Updated pom version at 1.6.0

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@126760 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-05 09:57:55 +00:00
Francesco Mangiacrapa d8851ff40b 2695: Uri Resolver: patch to fix old bug in HL renaming files
Task-Url: https://support.d4science.org/issues/2695

removed bad comment

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@125579 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-17 11:11:39 +00:00
Francesco Mangiacrapa dc5dc1a7b2 2695: Uri Resolver: patch to fix old bug in HL renaming files
Task-Url: https://support.d4science.org/issues/2695

Fixed this issue

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@125572 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-17 10:49:07 +00:00
Francesco Mangiacrapa 914eb4e964 Added uuid as parameter into gis-viewer-app URI
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122644 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-29 11:55:41 +00:00
Francesco Mangiacrapa 49cae260dd fileName bug fix according to section 19.5.1 of RFC 2616
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122565 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-27 14:13:34 +00:00
Francesco Mangiacrapa 98e540a756 Added catch Exception
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122561 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-27 11:43:45 +00:00
Francesco Mangiacrapa 72b045c748 Added encode for filename
Fixed logger

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122560 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-27 11:41:36 +00:00
Francesco Mangiacrapa 5189be3d57 added a random id to avoid browser cache
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122524 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-26 15:22:37 +00:00
Francesco Mangiacrapa ef4bc1948c 1298: Workspace: Update public link generation
Task-Url: https://support.d4science.org/issues/1298

Updated as following:

In case of error on decrypt or get input stream a 404 error is sent
In case of error on get Metadata (from storage), file is download with default value for name and mime type


git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122326 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-19 17:43:06 +00:00
Francesco Mangiacrapa 9e2f1f0798 1298: Workspace: Update public link generation
Task-Url: https://support.d4science.org/issues/1298

Fixed id to resolve storage file

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122323 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-19 16:46:07 +00:00
Francesco Mangiacrapa 79ba6fa01e 1990: GeoExplorer enhancements: WPS integration
Task-Url: https://support.d4science.org/issues/1990

Updated Storage ID Resolver according to #1959

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122317 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-19 14:23:29 +00:00
Francesco Mangiacrapa 56ab11b3ec added javadoc
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122234 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-14 16:40:47 +00:00
Francesco Mangiacrapa 2259c746c8 Added new javadoc
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122220 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-13 16:41:16 +00:00
Francesco Mangiacrapa b8d2257a12 1925: Uri-Resolver: resolve gCubeStorage smp uri like http uri
Task-Url: https://support.d4science.org/issues/1925

Added Filter to rewrite public link 
updated pom version at 1.5.0

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122206 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-12 16:34:36 +00:00
Francesco Mangiacrapa 37364b5477 416: Uri-Resolver: add file name and content-type (mime type) read from Storage
Task-Url: https://support.d4science.org/issues/416

Added code to read fileName and contentType from storage
Upadated pom version at 1.4.0

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@118964 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-21 14:03:13 +00:00
Francesco Mangiacrapa 167aa8d1be generated serial version
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@114489 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-04-28 15:11:02 +00:00
Francesco Mangiacrapa 01e5497411 formatter
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@114488 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-04-28 15:10:09 +00:00
Francesco Mangiacrapa 24e2e1bc2d added new resolver (servlet): Storage ID Resolver
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@114484 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-04-28 14:43:38 +00:00
Francesco Mangiacrapa 4b7b869d55 updated reset cache time
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@112326 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-03-03 14:26:46 +00:00
Francesco Mangiacrapa 214c481f57 added comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@112323 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-03-03 14:17:55 +00:00
Francesco Mangiacrapa 03150f9983 changed log level
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@112322 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-03-03 14:16:46 +00:00
Francesco Mangiacrapa c755ecde63 fixed bug in HttpResover
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@112321 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-03-03 14:15:49 +00:00
Francesco Mangiacrapa 71a92b3232 removed unused imports
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@101620 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-14 14:03:38 +00:00
Francesco Mangiacrapa b75e4a8692 integrated url validation
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@101618 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-14 14:01:33 +00:00
Francesco Mangiacrapa d3b01364d2 updated to fix ClientAbortException
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@101615 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-13 18:10:24 +00:00
Francesco Mangiacrapa c45ad66f5f updated to fix ClientAbortException
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@101610 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-13 14:19:08 +00:00
Francesco Mangiacrapa bb0394a149 updated servlet init
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100706 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-15 10:27:21 +00:00
Francesco Mangiacrapa 775d559397 updated exception
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100688 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-15 09:01:04 +00:00
Francesco Mangiacrapa 4a390be913 updated text response
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100686 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 16:38:01 +00:00
Francesco Mangiacrapa 64b7d28a27 added exceptions
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100685 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 16:36:13 +00:00
Francesco Mangiacrapa 1e961a0593 url redirect activate
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100664 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 10:28:35 +00:00
Francesco Mangiacrapa 80d26b71e9 refactor
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100663 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 10:05:38 +00:00
Francesco Mangiacrapa 7d6e3a2540 update code
update pom

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100661 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 09:20:47 +00:00
Francesco Mangiacrapa 0ff364ed96 updated comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100657 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 08:45:35 +00:00
Francesco Mangiacrapa 862f54f4c2 updated code
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100656 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 08:44:18 +00:00
Francesco Mangiacrapa aa3e2cabae added application profile reader for "Gis Viewer Application"
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100652 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-13 16:55:53 +00:00
Francesco Mangiacrapa 67e92e38ba git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100626 82a268e6-3cf1-43bd-a215-b396298e98cf 2014-10-13 09:01:40 +00:00
Francesco Mangiacrapa 9734857165 Uri resolver enhanced to integrate gis resolver
updated pom version at 1.2.0

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100606 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-10 12:53:39 +00:00
Andrea Manzi 64db3af25a git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@79861 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-08-02 09:59:24 +00:00
Andrea Manzi 696d0496a4 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@77768 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-07-08 14:19:55 +00:00
Andrea Manzi 435ffea34b added new query paramaters
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@77508 82a268e6-3cf1-43bd-a215-b396298e98cf
2013-07-03 11:07:24 +00:00
Andrea Manzi d7ece67c36 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@74040 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-04-24 22:01:46 +00:00
Andrea Manzi 8dc99d7083 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@71352 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-03-14 11:12:49 +00:00
Andrea Manzi 79f7a79df7 git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@71351 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-03-14 11:06:40 +00:00
Andrea Manzi 21ea8feb8f git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@71350 82a268e6-3cf1-43bd-a215-b396298e98cf 2013-03-14 11:00:28 +00:00