From 2e9445c08524c3fa7f1bdb76bbec2e7550969139 Mon Sep 17 00:00:00 2001 From: "lucio.lelii" Date: Tue, 12 Jan 2021 11:10:30 +0100 Subject: [PATCH] classes for generic storage backend support added --- .gitignore | 1 + CHANGELOG.md | 8 +++++ FUNDING.md | 26 ++++++++++++++++ LICENSE.md | 4 +-- README.md | 2 +- changelog.xml | 8 ----- descriptor.xml | 31 ------------------- pom.xml | 3 +- .../model/storages/StorageBackendFactory.java | 9 ++++++ 9 files changed, 48 insertions(+), 44 deletions(-) create mode 100644 .gitignore create mode 100644 CHANGELOG.md create mode 100644 FUNDING.md delete mode 100644 changelog.xml delete mode 100644 descriptor.xml create mode 100644 src/main/java/org/gcube/common/storagehub/model/storages/StorageBackendFactory.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a29e9ee --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog + +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.0.9] - [2020-10-07] + +StorageBackendFacory to support different backend added \ No newline at end of file diff --git a/FUNDING.md b/FUNDING.md new file mode 100644 index 0000000..6fa9eac --- /dev/null +++ b/FUNDING.md @@ -0,0 +1,26 @@ +# Acknowledgments + +The projects leading to this software have received funding from a series of European Union programmes including: + +- the Sixth Framework Programme for Research and Technological Development + - [DILIGENT](https://cordis.europa.eu/project/id/004260) (grant no. 004260). +- the Seventh Framework Programme for research, technological development and demonstration + - [D4Science](https://cordis.europa.eu/project/id/212488) (grant no. 212488); + - [D4Science-II](https://cordis.europa.eu/project/id/239019) (grant no.239019); + - [ENVRI](https://cordis.europa.eu/project/id/283465) (grant no. 283465); + - [iMarine](https://cordis.europa.eu/project/id/283644) (grant no. 283644); + - [EUBrazilOpenBio](https://cordis.europa.eu/project/id/288754) (grant no. 288754). +- the H2020 research and innovation programme + - [SoBigData](https://cordis.europa.eu/project/id/654024) (grant no. 654024); + - [PARTHENOS](https://cordis.europa.eu/project/id/654119) (grant no. 654119); + - [EGI-Engage](https://cordis.europa.eu/project/id/654142) (grant no. 654142); + - [ENVRI PLUS](https://cordis.europa.eu/project/id/654182) (grant no. 654182); + - [BlueBRIDGE](https://cordis.europa.eu/project/id/675680) (grant no. 675680); + - [PerformFISH](https://cordis.europa.eu/project/id/727610) (grant no. 727610); + - [AGINFRA PLUS](https://cordis.europa.eu/project/id/731001) (grant no. 731001); + - [DESIRA](https://cordis.europa.eu/project/id/818194) (grant no. 818194); + - [ARIADNEplus](https://cordis.europa.eu/project/id/823914) (grant no. 823914); + - [RISIS 2](https://cordis.europa.eu/project/id/824091) (grant no. 824091); + - [EOSC-Pillar](https://cordis.europa.eu/project/id/857650) (grant no. 857650); + - [Blue Cloud](https://cordis.europa.eu/project/id/862409) (grant no. 862409); + - [SoBigData-PlusPlus](https://cordis.europa.eu/project/id/871042) (grant no. 871042); \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index 1932b4c..9351ad1 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -#European Union Public Licence V.1.1 +#European Union Public Licence V.1.2 ##*EUPL © the European Community 2007* @@ -12,7 +12,7 @@ The Original Work is provided under the terms of this Licence when the Licensor (as defined below) has placed the following notice immediately following the copyright notice for the Original Work: -**Licensed under the EUPL V.1.1** +**Licensed under the EUPL V.1.2** or has expressed by any other mean his willingness to license under the EUPL. diff --git a/README.md b/README.md index 0563e48..6cb6416 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Storage Hub Model -StorageHub implements the gCube Workspace feature +Implements the gCube Workspace model ## Structure of the project diff --git a/changelog.xml b/changelog.xml deleted file mode 100644 index b515372..0000000 --- a/changelog.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - External link item added - - - First Release - - \ No newline at end of file diff --git a/descriptor.xml b/descriptor.xml deleted file mode 100644 index 50f7d25..0000000 --- a/descriptor.xml +++ /dev/null @@ -1,31 +0,0 @@ - - servicearchive - - tar.gz - - / - - - . - / - true - - README - LICENSE - changelog.xml - profile.xml - - 755 - true - - - - - target/${build.finalName}.jar - /${artifactId} - - - diff --git a/pom.xml b/pom.xml index 790972c..ffa986f 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ org.gcube.common storagehub-model - 1.0.7 + 1.0.9 storagehub-model @@ -75,7 +75,6 @@ maven-compiler-plugin - 2.3.2 1.8 1.8 diff --git a/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackendFactory.java b/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackendFactory.java new file mode 100644 index 0000000..c06e410 --- /dev/null +++ b/src/main/java/org/gcube/common/storagehub/model/storages/StorageBackendFactory.java @@ -0,0 +1,9 @@ +package org.gcube.common.storagehub.model.storages; + +public interface StorageBackendFactory { + + String getName(); + + S create(String parameter); + +}