Class SecuredVariableService
java.lang.Object
org.qubership.integration.platform.variables.management.service.SecuredVariableService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecuredVariableService(SecretService secretService, ActionsLogService actionLogger, CommonVariablesService commonVariablesService, com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper) -
Method Summary
Modifier and TypeMethodDescriptionaddVariables(String secretName, Map<String, String> newVariables) addVariables(String secretName, Map<String, String> newVariables, boolean importMode) addVariablesToDefaultSecret(Map<String, String> newVariables) voiddeleteVariables(String secretName, Set<String> variablesNames) voiddeleteVariables(String secretName, Set<String> variablesNames, boolean logOperation) deleteVariablesForMultipleSecrets(Map<String, Set<String>> variablesPerSecret) voiddeleteVariablesFromDefaultSecret(Set<String> variablesNames) getVariablesForDefaultSecret(boolean failIfSecretNotExist) getVariablesForSecret(String secretName, boolean failIfSecretNotExist) importVariablesRequest(org.springframework.web.multipart.MultipartFile file) updateVariableInDefaultSecret(String name, String value) updateVariables(String secretName, Map<String, String> variablesToUpdate)
-
Field Details
-
EMPTY_SECURED_VARIABLE_NAME_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
SecuredVariableService
@Autowired public SecuredVariableService(SecretService secretService, ActionsLogService actionLogger, @Lazy CommonVariablesService commonVariablesService, @Qualifier("yamlMapper") com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper)
-
-
Method Details
-
getAllSecretsVariablesNames
-
getVariablesForDefaultSecret
-
getVariablesForSecret
-
addVariablesToDefaultSecret
-
addVariables
-
addVariables
-
deleteVariablesFromDefaultSecret
-
deleteVariables
-
deleteVariables
-
deleteVariablesForMultipleSecrets
-
updateVariableInDefaultSecret
-
updateVariables
-
importVariablesRequest
-