for test purposes removed vault
This commit is contained in:
parent
ce54e336ba
commit
ae4bb84eef
@ -48,7 +48,7 @@ public class ImqFirstVisionEndpoint implements Endpoint {
|
|||||||
|
|
||||||
// Load credentials from Vault
|
// Load credentials from Vault
|
||||||
String vaultPath = getVaultPath();
|
String vaultPath = getVaultPath();
|
||||||
Credentials credentials = loadCredentialsFromVault(vaultPath);
|
//Credentials credentials = loadCredentialsFromVault(vaultPath);
|
||||||
|
|
||||||
// SSL configuration (optional)
|
// SSL configuration (optional)
|
||||||
String keystorePath = null;
|
String keystorePath = null;
|
||||||
@ -59,8 +59,10 @@ public class ImqFirstVisionEndpoint implements Endpoint {
|
|||||||
connectionNameList,
|
connectionNameList,
|
||||||
channel,
|
channel,
|
||||||
queueManager,
|
queueManager,
|
||||||
credentials.getUsername(),
|
//credentials.getUsername(),
|
||||||
credentials.getPassword(),
|
//credentials.getPassword(),
|
||||||
|
"app",
|
||||||
|
"app",
|
||||||
keystorePath,
|
keystorePath,
|
||||||
keystorePassword,
|
keystorePassword,
|
||||||
sslCipherSuite
|
sslCipherSuite
|
||||||
|
|||||||
@ -35,13 +35,10 @@ public enum ImqFirstVisionQueue {
|
|||||||
*/
|
*/
|
||||||
MF_UTF8("mf-utf8");
|
MF_UTF8("mf-utf8");
|
||||||
|
|
||||||
private static final String BASE_CONFIG_KEY = "endpoints.imq-first-vision.";
|
|
||||||
private static final String QUEUE_SUFFIX = ".queue";
|
|
||||||
|
|
||||||
private final String configKey;
|
private final String configKey;
|
||||||
|
|
||||||
ImqFirstVisionQueue(String configKey) {
|
ImqFirstVisionQueue(String configKey) {
|
||||||
this.configKey = BASE_CONFIG_KEY + configKey + QUEUE_SUFFIX;
|
this.configKey = configKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user