-
Notifications
You must be signed in to change notification settings - Fork 8
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 #370 from OHDSI/docker-support
Add Docker support
- Loading branch information
Showing
25 changed files
with
560 additions
and
240 deletions.
There are no files selected for viewing
38 changes: 9 additions & 29 deletions
38
...sinc/arachne/execution_engine_common/descriptor/dto/RuntimeEnvironmentDescriptorsDTO.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 |
---|---|---|
@@ -1,41 +1,21 @@ | ||
package com.odysseusinc.arachne.execution_engine_common.descriptor.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.util.List; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class RuntimeEnvironmentDescriptorsDTO { | ||
|
||
@JsonProperty | ||
private boolean docker; | ||
@JsonProperty | ||
private List<RuntimeEnvironmentDescriptorDTO> descriptors; | ||
|
||
public RuntimeEnvironmentDescriptorsDTO() { | ||
} | ||
|
||
public RuntimeEnvironmentDescriptorsDTO(List<RuntimeEnvironmentDescriptorDTO> descriptors) { | ||
this.descriptors = descriptors; | ||
} | ||
|
||
public RuntimeEnvironmentDescriptorsDTO(boolean docker, List<RuntimeEnvironmentDescriptorDTO> descriptors) { | ||
this.docker = docker; | ||
this.descriptors = descriptors; | ||
} | ||
|
||
public List<RuntimeEnvironmentDescriptorDTO> getDescriptors() { | ||
return descriptors; | ||
} | ||
|
||
public void setDescriptors(List<RuntimeEnvironmentDescriptorDTO> descriptors) { | ||
this.descriptors = descriptors; | ||
} | ||
|
||
public boolean isDocker() { | ||
return docker; | ||
} | ||
|
||
public void setDocker(boolean docker) { | ||
this.docker = docker; | ||
} | ||
} |
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
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
16 changes: 16 additions & 0 deletions
16
...a/com/odysseusinc/arachne/executionengine/config/properties/DockerRegistryProperties.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,16 @@ | ||
package com.odysseusinc.arachne.executionengine.config.properties; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Setter | ||
@Getter | ||
@Configuration | ||
@ConfigurationProperties(prefix = "docker.registry") | ||
public class DockerRegistryProperties { | ||
private String url; | ||
private String username; | ||
private String pasword; | ||
} |
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.