GROUP (for an application)

This GROUP element allows you to specify a directory where external application configuration files are located.

Syntax

<GROUP Id=name>path</GROUP>
Note:
  1. name is a string that uniquely identifies the group.
  2. path is the path to the directory where the external application configuration files are to be placed.

Child elements

There are no child elements.

Usage

You use this element to declare a group and specify a directory where external application configuration files belonging to this group are located. Once a GROUP has been declared, an administrator can add an external application configuration file into the specified directory, and the Genero Application Server locates and uses that file without having to be restarted.

Predefined groups

The GAS configuration file (as.xcf) declares three application groups. A resource sets each group directory, so you can move a directory by changing the resource instead of the GROUP element.

Table 1. Predefined application groups
Group alias Directory resource Contains
_default $(res.path.app) Configuration files for applications whose URL does not name a group.
idp $(res.path.gip.starter) The StarterApp, which installs the Genero Identity Provider (GIP). For details of the StarterApp, refer to the StarterApp reference page in the Single Sign-On User Guide.
admin $(res.path.idp.applications) Configuration files for GIP applications used by an administrator, such as the Console App and the Deployment App.

Where an application belongs to a group other than _default, you include the group alias in the URL. For example, you start the StarterApp at http://server/gas/ua/r/idp/StarterApp.

Usage example

<GROUP id="tut-demo">$(res.path.as.demo)/tut/app</GROUP>
<GROUP id="mygroup">/home/myuser/config</GROUP>

URL with group

You use the alias for the group in the application URL to specify where the application configuration file is found.
http://server/gas/ua/r/mygroup/app1

Parent elements

This element is a child of the APPLICATION_LIST element.