[#21259] remove the method that validates the URL

This commit is contained in:
Francesco Mangiacrapa 2021-04-23 12:03:52 +02:00
parent 28b815029a
commit 7faf4ff400
3 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="catalogue-util-library"> <wb-module deploy-name="catalogue-util-library">
<wb-resource deploy-path="/" source-path="/src/main/java"/> <wb-resource deploy-path="/" source-path="/src/main/java"/>
<wb-resource deploy-path="/" source-path="/src/main/resources"/> <wb-resource deploy-path="/" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/src/test/java"/>
</wb-module> </wb-module>
</project-modules> </project-modules>

View File

@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [v1.0.0] - 2021-02-17 ## [v1.0.0] - 2021-02-17
**Bug Fixes**
[#21259] remove the method that validates the URL
**New Features**
[#21153] Upgrade the maven-portal-bom to 3.6.1 version [#21153] Upgrade the maven-portal-bom to 3.6.1 version
[#20828] Revisited title size and format [#20828] Revisited title size and format
[#19378] First Release [#19378] First Release

View File

@ -1119,7 +1119,8 @@ public class DataCatalogueImpl implements DataCatalogue {
checkNotNull(resourceBean); checkNotNull(resourceBean);
checkNotNull(resourceBean.getUrl()); checkNotNull(resourceBean.getUrl());
boolean isAccessibleURL = false; //Commented since #21259
/*boolean isAccessibleURL = false;
try { try {
isAccessibleURL = CatalogueUtilMethods.resourceExists(resourceBean.getUrl()); isAccessibleURL = CatalogueUtilMethods.resourceExists(resourceBean.getUrl());
} catch (Exception e) { } catch (Exception e) {
@ -1128,7 +1129,7 @@ public class DataCatalogueImpl implements DataCatalogue {
if(!isAccessibleURL){ if(!isAccessibleURL){
throw new Exception("It seems there is no resource at this url " + resourceBean.getUrl()); throw new Exception("It seems there is no resource at this url " + resourceBean.getUrl());
} }*/
GcubeContext gcubeContext = null; GcubeContext gcubeContext = null;
try { try {