asadmin set-config-property --propertyName=myapp.FQDN --propertyValue=host.domain --source=server --sourceName=server1
@Inject@ConfigProperty(name="myapp.FQDN", defaultValue="UNKNOWN")private String FQDN;
< dependency > < groupId >org.eclipse.microprofile.config</ groupId > < artifactId >microprofile-config-api</ artifactId > < version >1.0</ version > </ dependency > |
Option | Description | Default | Mandatory |
---|---|---|---|
| The name of the configuration property to set | - | yes |
| The value of the configuration property to set | - | yes |
| The ConfigSource where the property is to be stored | - | yes |
| The name of the ConfigSource when there may be ambiguity, for example a ConfigSource of type | - | no |
| The name of the module when the ConfigSource is of type | - | no |
| The target configuration where the command should be run | server (the DAS) | no |
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/721db114-f45a-41d1-9b2e-8210460de900%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/7cbeb70b-b71f-4931-9c6c-e93e02f58fb9%40googlegroups.com.