-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #515 from iExecBlockchainComputing/feature/gramine
Feature/gramine
- Loading branch information
Showing
24 changed files
with
375 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
version=7.1.0 | ||
iexecCommonVersion=6.0.0 | ||
iexecCommonVersion=6.0.1-NEXT-SNAPSHOT | ||
iexecBlockchainAdapterVersion=7.1.1 | ||
iexecResultVersion=7.1.0 | ||
iexecSmsVersion=7.1.0 | ||
iexecSmsVersion=7.1.0-NEXT-SNAPSHOT | ||
|
||
nexusUser | ||
nexusPassword |
27 changes: 27 additions & 0 deletions
27
src/main/java/com/iexec/core/configuration/PurgeConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.iexec.core.configuration; | ||
|
||
import com.iexec.common.lifecycle.purge.PurgeService; | ||
import com.iexec.common.lifecycle.purge.Purgeable; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
import java.util.List; | ||
|
||
@Configuration | ||
@Slf4j | ||
public class PurgeConfiguration { | ||
/** | ||
* Creates a {@link PurgeService} bean, with a list of all {@link Purgeable} beans as a parameter. | ||
* <p> | ||
* If no {@link Purgeable} bean is known, then an empty list is passed as a parameter. | ||
* This is a special case of Spring IoC, please see | ||
* <a href="https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-autowired-annotation">Spring documentation</a>. | ||
* @param purgeableServices List of services that can be purged on a task completion | ||
* @return An instance of {@link PurgeService} containing a list of all {@link Purgeable} beans. | ||
*/ | ||
@Bean | ||
PurgeService purgeService(List<Purgeable> purgeableServices) { | ||
return new PurgeService(purgeableServices); | ||
} | ||
} |
52 changes: 0 additions & 52 deletions
52
src/main/java/com/iexec/core/configuration/SmsConfiguration.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/com/iexec/core/sms/SmsClientProviderConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.iexec.core.sms; | ||
|
||
import com.iexec.sms.api.SmsClientProvider; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class SmsClientProviderConfiguration { | ||
|
||
@Bean | ||
SmsClientProvider smsClientProvider() { | ||
return new SmsClientProvider(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.