Software AG Products 10.7 | Using API Gateway | Aliases | Creating a Simple Alias
 
Creating a Simple Alias
You must have the API Gateway's manage aliases functional privilege assigned to perform this task.
A simple alias holds simple key property values. The name of the alias can be used for configuring the endpoint property of a routing policy, email destination property of Log Invocation, Monitor SLA, Monitor Performance and Throttling Optimization policies, or for configuring all properties that support variable framework. At runtime, the value of the simple alias gets substituted for the alias name in these properties. To know, which property of a policy supports variable framework, you have to refer the property description in the each policy section.
*To create a simple alias
1. Expand the menu options icon , in the title bar, and select Aliases.
2. Click Create alias.
3. In the Basic information section, provide the following information:
Field
Description
Name
Name of the alias.
Type
Select Simple alias.
Description
Description of the alias.
4. Click Technical information and specify a value in the Default value field.
5. Specify a stage, if you want the alias to be applicable to a specific stage.
6. Click Save.
For example, if you create a simple alias called hostname with value dev.com and in the routing policy you can specify the https://dev.com/v2 endpoint as https://${hostname}/v2. At runtime invocation the simple alias ${hostname} will be replaced with its value dev.com.