GROUP (for a service)

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

Syntax

<GROUP Id=name>path</GROUP>
  1. name is a string that uniquely identifies the group.
  2. path is the path to the directory where the external web service 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 web service application configuration file into the specified directory, and the Genero Application Server locates and uses that file without having to be restarted. You use the alias for the group in the application URL to specify where the application configuration file is found.

Predefined groups

The GAS configuration file (as.xcf) declares four web service 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 web service groups
Group alias Directory resource Contains
_default $(res.path.services) Configuration files for web service applications whose URL does not name a group.
demo $(res.path.fgldir.demo.services) Configuration files for the demonstration web services supplied with Genero.
services $(res.path.fgldir.services) Configuration files for the web services supplied with Genero, such as the Genero Identity Provider (GIP), the OpenID Connect service provider, and the SAML service provider.
admin $(res.path.idp.services) Configuration files for the GIP services generated when the GIP is installed, such as the profile and deployment services.

For example, you reach the deployment service in the admin group at http://server/gas/ws/r/admin/GeneroDeploymentService. A URL that does not name a group uses the _default group.

Usage example

<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 service application configuration file is found.
http://webserver/gas/ws/r/mygroup/app1

Parent elements

This element is a child of the SERVICE_LIST element.