public class CloudHubPropertiesLoader extends Object implements GatewayPropertiesLoader
| Constructor and Description |
|---|
CloudHubPropertiesLoader(PropertiesRetriever propertyRetriever) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decodeBase64(String input) |
String |
getEnvType() |
Optional<String> |
getKeyStorePassword() |
Optional<String> |
getKeyStoreType() |
String |
getMasterOrgId() |
Optional<String> |
getTrustStorePassword() |
Optional<String> |
getTrustStoreType() |
Map<String,Map<String,String>> |
jsonStringToMap(String jsonString) |
String |
rebuildDataGraph() |
Optional<byte[]> |
rebuildKeyStore() |
Optional<byte[]> |
rebuildTrustStore() |
Map<String,String> |
retrieveSecrets(String sourceId) |
byte[] |
unzip(byte[] bytes) |
public CloudHubPropertiesLoader(PropertiesRetriever propertyRetriever)
public byte[] decodeBase64(String input)
public String rebuildDataGraph()
rebuildDataGraph in interface GatewayPropertiesLoaderpublic Optional<byte[]> rebuildKeyStore()
rebuildKeyStore in interface GatewayPropertiesLoaderpublic Optional<byte[]> rebuildTrustStore()
rebuildTrustStore in interface GatewayPropertiesLoaderpublic Map<String,String> retrieveSecrets(String sourceId)
retrieveSecrets in interface GatewayPropertiesLoaderpublic byte[] unzip(byte[] bytes)
throws IOException
IOExceptionpublic String getEnvType()
getEnvType in interface GatewayPropertiesLoaderpublic Optional<String> getKeyStorePassword()
getKeyStorePassword in interface GatewayPropertiesLoaderpublic Optional<String> getKeyStoreType()
getKeyStoreType in interface GatewayPropertiesLoaderpublic String getMasterOrgId()
getMasterOrgId in interface GatewayPropertiesLoaderpublic Optional<String> getTrustStorePassword()
getTrustStorePassword in interface GatewayPropertiesLoaderpublic Optional<String> getTrustStoreType()
getTrustStoreType in interface GatewayPropertiesLoaderCopyright © 2023. All rights reserved.