generated from codeforamerica/form-flow-starter-app
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor to accommodate the jefferson parish apps
- Loading branch information
1 parent
2b3223b
commit 01fda9e
Showing
7 changed files
with
98 additions
and
55 deletions.
There are no files selected for viewing
23 changes: 0 additions & 23 deletions
23
src/main/java/org/ladocuploader/app/cli/PGPEceEncryptorImpl.java
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/main/java/org/ladocuploader/app/cli/PGPEceJeffersonEncryptorImpl.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,23 @@ | ||
package org.ladocuploader.app.cli; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.beans.factory.annotation.Value; | ||
import org.springframework.context.annotation.Profile; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Slf4j | ||
@Component("eceJeffersonPgpEncryptor") | ||
@Profile({"production", "staging"}) | ||
public class PGPEceJeffersonEncryptorImpl extends BasePGPEncrpytorImpl { | ||
|
||
public PGPEceJeffersonEncryptorImpl(@Value("${pgp.ece.jefferson.sigkey-password}") String sigkeyPassword, | ||
@Value("${pgp.ece.jefferson.seckey-file-path}") String seckeyFilePath, | ||
@Value("${pgp.ece.jefferson.pubkey-file-path}") String pubkeyFilePath, | ||
@Value("${pgp.ece.jefferson.bucket-name}") String bucketName, | ||
@Value("${form-flow.aws.access_key}") String accessKey, | ||
@Value("${form-flow.aws.secret_key}") String secretKey, | ||
@Value("${form-flow.aws.region}") String region) { | ||
super(sigkeyPassword, seckeyFilePath, pubkeyFilePath, bucketName, accessKey, secretKey, region); | ||
|
||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/main/java/org/ladocuploader/app/cli/PGPEceOrleansEncryptorImpl.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,23 @@ | ||
package org.ladocuploader.app.cli; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.beans.factory.annotation.Value; | ||
import org.springframework.context.annotation.Profile; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Slf4j | ||
@Component("eceOrleansPgpEncryptor") | ||
@Profile({"production", "staging"}) | ||
public class PGPEceOrleansEncryptorImpl extends BasePGPEncrpytorImpl { | ||
|
||
public PGPEceOrleansEncryptorImpl(@Value("${pgp.ece.orleans.sigkey-password}") String sigkeyPassword, | ||
@Value("${pgp.ece.orleans.seckey-file-path}") String seckeyFilePath, | ||
@Value("${pgp.ece.orleans.pubkey-file-path}") String pubkeyFilePath, | ||
@Value("${pgp.ece.orleans.bucket-name}") String bucketName, | ||
@Value("${form-flow.aws.access_key}") String accessKey, | ||
@Value("${form-flow.aws.secret_key}") String secretKey, | ||
@Value("${form-flow.aws.region}") String region) { | ||
super(sigkeyPassword, seckeyFilePath, pubkeyFilePath, bucketName, accessKey, secretKey, region); | ||
|
||
} | ||
} |
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