task_25570 #17

Merged
francesco.mangiacrapa merged 18 commits from task_25570 into master 2023-09-08 09:59:39 +02:00
21 changed files with 228 additions and 183 deletions

View File

@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for org.gcube.spatial.data.gcube-sdi-suite # Changelog for org.gcube.spatial.data.gcube-sdi-suite
## [v1.0.5-SNAPSHOT]
- Added maven profiles `geoportal-release-profile` and `geoportal-snapshot-profile` [#25570]
- Moved to maven-parent.v1.2.0 [#25570]
## [v1.0.4] - 2023-01-10 ## [v1.0.4] - 2023-01-10
- Updated plugin framework - Updated plugin framework

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms-plugin-framework # Changelog for org.gcube.application.cms-plugin-framework
## [v1.0.4-SNAPSHOT] - 2023-09-06
- Using parent range version [#25572]
## [v1.0.3] - 2023-01-10 ## [v1.0.3] - 2023-01-10
- UserUtils in framework - UserUtils in framework

View File

@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>cms-plugin-framework</artifactId> <artifactId>cms-plugin-framework</artifactId>
<version>1.0.3</version> <version>1.0.4-SNAPSHOT</version>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
@ -116,7 +116,7 @@
<dependency> <dependency>
<groupId>javax.xml.bind</groupId> <groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId> <artifactId>jaxb-api</artifactId>
<!-- <version>2.3.0</version>--> <!-- <version>2.3.0</version> -->
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms.concessioni-lifecycle # Changelog for org.gcube.application.cms.concessioni-lifecycle
## [v1.1.1-SNAPSHOT] - 2023-09-06
- Using parent version range [#25572]
## [v1.1.0] - 2023-03-13 ## [v1.1.0] - 2023-03-13
- [#24754] Fixed hide/show project ids on the latest node of the relation chain - [#24754] Fixed hide/show project ids on the latest node of the relation chain

View File

@ -4,14 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>concessioni-lifecycle</artifactId> <artifactId>concessioni-lifecycle</artifactId>
<version>1.1.0</version> <version>1.1.1-SNAPSHOT</version>
<name>GNA Concessioni Lifecycle</name> <name>GNA Concessioni Lifecycle</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms.concessioni-model # Changelog for org.gcube.application.cms.concessioni-model
## [v1.0.4-SNAPSHOT] - 2023-09-06
- Using parent version range [#25572]
## [v1.0.3] - 2023-01-10 ## [v1.0.3] - 2023-01-10
- Pom updates - Pom updates

View File

@ -6,14 +6,14 @@
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>concessioni-model</artifactId> <artifactId>concessioni-model</artifactId>
<version>1.0.3</version> <version>1.0.4-SNAPSHOT</version>
<name>GNA Concessioni Model</name> <name>GNA Concessioni Model</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms.ckan-plugin # Changelog for org.gcube.application.cms.ckan-plugin
## [v1.2.2-SNAPSHOT]- 2023-09-06
- Using parent version range [#25572]
## [v1.2.1] ## [v1.2.1]
- Improved some logs - Improved some logs

View File

@ -5,14 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>default-lc-managers</artifactId> <artifactId>default-lc-managers</artifactId>
<version>1.2.1</version> <version>1.2.2-SNAPSHOT</version>
<name>gCube CMS - Default LC Managers</name> <name>gCube CMS - Default LC Managers</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.geoportal-client # Changelog for org.gcube.application.geoportal-client
## [v1.2.1-SNAPSHOT] - 2023-09-06
- Using parent version range [#25572]
## [v1.2.0] - 2023-05-11 ## [v1.2.0] - 2023-05-11
- Added PATCH method [#24985] - Added PATCH method [#24985]
- Integrated `ingnore_errors` in the deleteFileSet - Integrated `ingnore_errors` in the deleteFileSet

View File

@ -4,17 +4,15 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-client</artifactId> <artifactId>geoportal-client</artifactId>
<version>1.2.0</version> <version>1.2.1-SNAPSHOT</version>
<name>Geoportal Client</name> <name>Geoportal Client</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
</properties> </properties>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.geoportal-common # Changelog for org.gcube.application.geoportal-common
## [v1.0.13-SNAPSHOT] - 2023-09-06
- Using parent range version [#25572]
## [v1.0.12] - 2023-05-11 ## [v1.0.12] - 2023-05-11
- Integrated the PATCH method [#24985] - Integrated the PATCH method [#24985]

View File

@ -3,16 +3,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>geoportal-common</artifactId> <artifactId>geoportal-common</artifactId>
<version>1.0.12</version> <version>1.0.13-SNAPSHOT</version>
<name>Geoportal Common</name> <name>Geoportal Common</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
<sis.version>1.0</sis.version> <sis.version>1.0</sis.version>

View File

@ -1,5 +1,10 @@
# Changelog for org.gcube.application.geoportal-service # Changelog for org.gcube.application.geoportal-service
## [v1.1.1-SNAPSHOT] - 2023-09-06
- Fixed data accounting issue [#25571]
- Moved to maven-parent 1.2.0 and using parent version range [#25572]
## [v1.1.0] ## [v1.1.0]
- Prepared the PATCH method [#24985] - Prepared the PATCH method [#24985]

View File

@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-service</artifactId> <artifactId>geoportal-service</artifactId>
<version>1.1.0</version> <version>1.1.1-SNAPSHOT</version>
<name>Geoportal Service</name> <name>Geoportal Service</name>
<packaging>war</packaging> <packaging>war</packaging>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>
@ -146,35 +146,14 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- TEST with JDK1.8 <!-- TEST with JDK1.8 <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId>
<dependency> <scope>test</scope> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId>
<groupId>javax.xml.bind</groupId> <artifactId>jaxb-core</artifactId> <scope>test</scope> </dependency> <dependency>
<artifactId>jaxb-api</artifactId> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <scope>test</scope>
<scope>test</scope> </dependency> <dependency> <groupId>com.sun.xml.messaging.saaj</groupId>
</dependency> <artifactId>saaj-impl</artifactId> <version>1.5.0</version> <scope>test</scope>
<dependency> </dependency> <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId>
<groupId>com.sun.xml.bind</groupId> <scope>test</scope> </dependency> -->
<artifactId>jaxb-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
<version>1.5.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<scope>test</scope>
</dependency>
-->
<!-- Plugins related tests --> <!-- Plugins related tests -->
@ -201,6 +180,15 @@
</dependencies> </dependencies>
<build> <build>
<!-- Added by Francesco -->
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins> <plugins>
<!-- SPHINX PLUGIN triggered at 'compile' --> <!-- SPHINX PLUGIN triggered at 'compile' -->
<plugin> <plugin>

View File

@ -29,7 +29,6 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext) throws IOException { public void filter(ContainerRequestContext requestContext) throws IOException {
log.trace("PreMatching RequestFilter"); log.trace("PreMatching RequestFilter");
SecretManagerProvider.instance.reset();
SecretManager secretManager = new SecretManager(); SecretManager secretManager = new SecretManager();
String token = AccessTokenProvider.instance.get(); String token = AccessTokenProvider.instance.get();
@ -52,7 +51,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
throws IOException { throws IOException {
log.trace("ResponseFilter"); log.trace("ResponseFilter");
SecretManagerProvider.instance.reset(); SecretManagerProvider.instance.remove();
} }
} }

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms.notifications-plugins # Changelog for org.gcube.application.cms.notifications-plugins
## [v1.0.4-SNAPSHOT] - 2023-09-06
- Using parent version range [#25572]
## [v1.0.3] - 2023-03-06 ## [v1.0.3] - 2023-03-06
- [#24702] Fixed the default-lc-managers dependency - [#24702] Fixed the default-lc-managers dependency

View File

@ -5,14 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>notifications-plugins</artifactId> <artifactId>notifications-plugins</artifactId>
<version>1.0.3</version> <version>1.0.4-SNAPSHOT</version>
<name>gCube CMS - Notifications Plugins</name> <name>gCube CMS - Notifications Plugins</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>

63
pom.xml
View File

@ -5,12 +5,12 @@
<parent> <parent>
<artifactId>maven-parent</artifactId> <artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId> <groupId>org.gcube.tools</groupId>
<version>1.1.0</version> <version>1.2.0</version>
</parent> </parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.0.4</version> <version>1.0.5-SNAPSHOT</version>
<name>Gcube CMS Suite</name> <name>Gcube CMS Suite</name>
<description>gCube CMS Suite is a set of components designed to manage complex space-temporal Documents defined by metadata Profiles.</description> <description>gCube CMS Suite is a set of components designed to manage complex space-temporal Documents defined by metadata Profiles.</description>
@ -22,22 +22,54 @@
<distroDirectory>distro</distroDirectory> <distroDirectory>distro</distroDirectory>
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
<!-- prod --> <!-- default is prod -->
<gcube-bom-version>2.3.0</gcube-bom-version> <gcube-bom-version>2.3.0</gcube-bom-version>
<gcube-smartgears-bom-version>2.4.0</gcube-smartgears-bom-version> <gcube-smartgears-bom-version>2.4.0</gcube-smartgears-bom-version>
<gcube-portal-bom-version>3.7.0</gcube-portal-bom-version> <gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
<storagehub-version-range>[1.0.0,2.0.0-SNAPSHOT)</storagehub-version-range> <storagehub-version-range>[1.0.0,2.0.0-SNAPSHOT)</storagehub-version-range>
<!--dev --> <!--dev -->
<!-- <gcube-bom-version>2.1.0-SNAPSHOT</gcube-bom-version> --> <!-- <gcube-bom-version>2.1.0-SNAPSHOT</gcube-bom-version> -->
<!-- <gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version> --> <!-- <gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version> -->
<!-- <gcube-portal-bom-version>3.7.0-SNAPSHOT</gcube-portal-bom-version> --> <!-- <gcube-portal-bom-version>3.7.0-SNAPSHOT</gcube-portal-bom-version> -->
<!-- <storagehub-version-range>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</storagehub-version-range> --> <!-- <storagehub-version-range>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</storagehub-version-range> -->
<plugin-framework-version>1.0.4-SNAPSHOT</plugin-framework-version>
<plugin-framework-version>1.0.3</plugin-framework-version>
</properties> </properties>
<profiles>
<!-- PROD profile -->
<profile>
<id>geoportal-release-profile</id>
<activation>
<property>
<name>Release</name>
</property>
</activation>
<properties>
<gcube-bom-version>2.3.0</gcube-bom-version>
<gcube-smartgears-bom-version>2.4.0</gcube-smartgears-bom-version>
<gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
<storagehub-version-range>[1.0.0,2.0.0-SNAPSHOT)</storagehub-version-range>
</properties>
</profile>
<!-- DEV profile -->
<profile>
<id>geoportal-snapshot-profile</id>
<activation>
<property>
<name>!Release</name>
</property>
</activation>
<properties>
<gcube-bom-version>2.4.0-SNAPSHOT</gcube-bom-version>
<gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version>
<gcube-portal-bom-version>3.7.0-SNAPSHOT</gcube-portal-bom-version>
<storagehub-version-range>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</storagehub-version-range>
</properties>
</profile>
</profiles>
<scm> <scm>
@ -63,9 +95,10 @@
<module>default-lc-managers</module> <module>default-lc-managers</module>
<module>sdi-plugins</module> <module>sdi-plugins</module>
<module>notifications-plugins</module> <module>notifications-plugins</module>
<module>dataminer-plugins</module>
<module>images-plugin</module> <!-- <module>dataminer-plugins</module> -->
<module>ckan-plugin</module> <!-- <module>images-plugin</module> -->
<!-- <module>ckan-plugin</module> -->
<!-- Custom implementations --> <!-- Custom implementations -->
@ -75,8 +108,8 @@
<!-- Utilities & tests --> <!-- Utilities & tests -->
<module>cms-test-commons</module> <!-- <module>cms-test-commons</module> -->
<module>use-cases</module> <!-- <module>use-cases</module> -->
</modules> </modules>
@ -340,6 +373,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.cms.sdi-plugins # Changelog for org.gcube.application.cms.sdi-plugins
## [v1.1.2-SNAPSHOT]
- Using parent version range [#25572]
## [v1.1.1] ## [v1.1.1]
- Improved some logs - Improved some logs
- Fixed: Centroid Object registered in the Project [#25056] - Fixed: Centroid Object registered in the Project [#25056]

View File

@ -5,14 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>sdi-plugins</artifactId> <artifactId>sdi-plugins</artifactId>
<version>1.1.1</version> <version>1.1.2-SNAPSHOT</version>
<name>gCube CMS - SDI Plugins</name> <name>gCube CMS - SDI Plugins</name>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>