Compare commits

..

No commits in common. "master" and "r4.26.0" have entirely different histories.

5 changed files with 45 additions and 23 deletions

View File

@ -30,6 +30,10 @@
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

View File

@ -2,10 +2,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for org.gcube.data.transfer.data-transfer-plugin-framework # Changelog for org.gcube.data.transfer.data-transfer-plugin-framework
## [v2.0.8] 2022-12-06
- Update to integrate last version of common-smartgears-app
## [v2.0.7] 2020-09-07 ## [v2.0.7] 2020-09-07
### Fixes ### Fixes

22
pom.xml
View File

@ -9,15 +9,13 @@
</parent> </parent>
<groupId>org.gcube.data.transfer</groupId> <groupId>org.gcube.data.transfer</groupId>
<artifactId>data-transfer-service</artifactId> <artifactId>data-transfer-service</artifactId>
<version>2.0.8</version> <version>2.0.7</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>DataTransferService</name> <name>DataTransferService</name>
<properties> <properties>
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties> </properties>
@ -35,10 +33,10 @@
<dependency> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId> <artifactId>gcube-smartgears-bom</artifactId>
<version>2.2.0</version> <version>2.0.0</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@ -70,20 +68,8 @@
<artifactId>common-smartgears</artifactId> <artifactId>common-smartgears</artifactId>
</dependency> </dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>

View File

@ -0,0 +1,35 @@
package org.gcube.data.transfer.service;
import javax.inject.Inject;
import javax.xml.bind.annotation.XmlRootElement;
import org.gcube.data.transfer.service.transfers.engine.CapabilitiesProvider;
import org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Start;
import org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Stop;
import org.gcube.smartgears.handlers.application.ApplicationLifecycleHandler;
import lombok.extern.slf4j.Slf4j;
@XmlRootElement(name = "data-transfer-lifecycle")
@Slf4j
public class DTServiceLifecycleMAnager extends ApplicationLifecycleHandler{
@Inject
CapabilitiesProvider capabilities;
@Override
public void onStart(Start e) {
super.onStart(e);
log.info("Capabilities : "+capabilities.get());
}
@Override
public void onStop(Stop e) {
// TODO Auto-generated method stub
super.onStop(e);
}
}

View File

@ -0,0 +1 @@
org.gcube.data.transfer.service.DTServiceLifecycleMAnager