Pineapple requires three sets of configuration data to run:
The internal configuration files are used to configure the internal runtime behavior of the different components which constitutes the tool. Internal configuration data consists of:
A detailed list of internal configuration files are documented in the development documentation for each component.
The environmental configuration files are used to define two types of entities:
The notion of a resource is one of the three central concepts in Pineapple (plugins and modules being the other two). A resource is any manageable entity which is part of the JEE platform that the tool is used to manage. A resource can be anything as long as there can be written an API to interface the thing and manage it. Examples are: operating systems, FTP-servers, JEE containers, load balancers...
Resources are by default defined in a file named resources.xml which must adhere to the environment configuration schema.
For more information about resources and the environment configuration schema go to the Environment configuration reference.
A security credential defines security information used to access a resource.
Credentials are by default defined in a file named credentials.xml which must adhere to the environment configuration schema.
For more information about credentials and the environment configuration schema go to the Environment configuration reference.
A directory whose location is defined by a Pineapple client. Consult the documentation for the Pineapples clients for the exact location of the directory. The web application and the Maven plugin both uses the directory ${user.home}/.pineapple/conf as default directory for the environment configuration files.
These files change when an organization changes its platform environments or its security credentials.
Providing security credentials to the core component:
A client is required to supply a CredentialProvider to create an instance of the core component. The credentials.xml file can be used if a client uses a file based credential provider. The file is loaded by a file-based credential provider prior to usage of the provider by the core component.
Loading of resources by the core component:
Loaded by core component (by the class CoreImpl) during its initialization. During execution of an operation the resource configuration is held by the core component.
Pineapple furthermore generates two additional configuration files:
A module defines the input used by Pineapple when an operation is executed to do some testing, information retrieval or configuration on resources.
A module contains a managed artifact, i.e. an application and/or model data to test/configure a computing environment. The module contains all information to manage the artifact except for platform specific information and security information which are located in the environment configuration.
The content of a module depends on its purpose. A module may contain: * The configuration data for configuration of resources.