Class SetHashiCorpSecretsConfigSourceConfigurationCommand
- java.lang.Object
-
- fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand<HashiCorpSecretsConfigSourceConfiguration>
-
- fish.payara.microprofile.config.extensions.hashicorp.admin.SetHashiCorpSecretsConfigSourceConfigurationCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-hashicorp-config-source-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG}) public class SetHashiCorpSecretsConfigSourceConfigurationCommand extends BaseSetConfigSourceConfigurationCommand<HashiCorpSecretsConfigSourceConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringapiVersionprotected StringsecretsEnginePathprotected StringsecretsPathprotected StringvaultAddress-
Fields inherited from class fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand
dynamic, enabled, logger, server, target, targetUtil
-
-
Constructor Summary
Constructors Constructor Description SetHashiCorpSecretsConfigSourceConfigurationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyValues(ActionReport report, HashiCorpSecretsConfigSourceConfiguration configuration)Configure the configuration ConfigBeanProxy from the @Param injected class fields.-
Methods inherited from class fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand
configureDynamically, execute
-
-
-
-
Method Detail
-
applyValues
protected void applyValues(ActionReport report, HashiCorpSecretsConfigSourceConfiguration configuration) throws PropertyVetoException
Description copied from class:BaseSetConfigSourceConfigurationCommandConfigure the configuration ConfigBeanProxy from the @Param injected class fields.- Overrides:
applyValuesin classBaseSetConfigSourceConfigurationCommand<HashiCorpSecretsConfigSourceConfiguration>configuration- the ConfigBeanProxy to configure- Throws:
PropertyVetoException- an exception thrown if the property doesn't pass the configured validation.
-
-