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"/>
</attributes>
</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"/>
</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
## [v2.0.8] 2022-12-06
- Update to integrate last version of common-smartgears-app
## [v2.0.7] 2020-09-07
### Fixes

22
pom.xml
View File

@ -9,15 +9,13 @@
</parent>
<groupId>org.gcube.data.transfer</groupId>
<artifactId>data-transfer-service</artifactId>
<version>2.0.8</version>
<version>2.0.7</version>
<packaging>war</packaging>
<name>DataTransferService</name>
<properties>
<properties>
<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>
@ -35,10 +33,10 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId>
<version>2.2.0</version>
<version>2.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependency>
</dependencies>
</dependencyManagement>
@ -70,20 +68,8 @@
<artifactId>common-smartgears</artifactId>
</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>
<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