Compare commits
No commits in common. "master" and "r4.26.0" have entirely different histories.
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
18
pom.xml
18
pom.xml
|
@ -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>
|
||||
<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,7 +33,7 @@
|
|||
<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>
|
||||
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
org.gcube.data.transfer.service.DTServiceLifecycleMAnager
|
Loading…
Reference in New Issue