6.2

Table Of Contents
Secured Component Properties
Properties are used to configure deployed components. In some cases, they are used to store sensitive
data, such as passwords.
For example, a WAR component might need to store sensitive data such as passwords to access the
database. These properties can be marked as secured. Values of secured properties are masked and
shown as asterisks in Application Services.
If a property is changed from secured to unsecured, for security purposes, Application Services resets the
property value, for security purposes. You must set a new value for the property.
Important If secured properties are printed in the script using the echo command or other similar
commands, these values appear in plain text in the log files. The values in the log files are not masked.
Required Component Properties
You can set properties as they are required. For example, a deployment might fail if properties are not
defined for scripts that rely on them during the deployment.
For example, to run an Apache Tomcat server, Java is required and the JAVA_HOME property value must
be set.
When a property is marked as required, a value must be provided in at least one of the life cycle stages of
the property, such as the library, blueprint, or deployment profile. For example, an application catalog
administrator can define a required property, mark it as overridable, and not set any value for the property
in the library. The application architect must provide a value for this property in the blueprint or mark it as
overridable in the deployment profile. If the application architect has not set a value for this property, the
deployer is required to set a value for this property in the deployment profile before deploying the
application.
Best Practices for Developing Components
Familiarize yourself with the sample components in the library, as they include a number of examples of
how to define properties and action scripts.
Note Use the sample components in the library only in a test environment.
Follow these best practices when developing components in Application Services.
n
Some installers might need access to the tty console. Redirect the input from /dev/console.
For example, the predefined RabbitMQ service uses the ./rabbitmq_rhel.py --setup-rabbitmq
< /dev/console command in its install script.
Using Application Services
VMware, Inc. 114