Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Getting Started : Configuring an Endpoint Operation for TIBCO API Exchange Gateway

Configuring an Endpoint Operation for TIBCO API Exchange Gateway
Refer to the following high level steps to configure a service operation on the TIBCO API Exchange Gateway platform:
Create a New Configuration
1.
2.
Expand the Projects node.
3.
Click the Add New Project Configuration icon. A new configuration with a default configuration name, ASG_Config_uniqueNumId, is created under Projects node.
4.
Move the mouse pointer over the new project configuration, select the icon to rename the configuration name as ASG_Get_Start and press Enter.
Configure Partner Group
1.
Click the ASG_Get_Start configuration.
2.
Click the Partner Groups tab.
3.
Click the Add property (+) icon on the top menu bar.
4.
 
Table 3 Partner Group Configuration
Configure Partner Data
1.
Select the ASG_Get_Start configuration.
2.
Click the PARTNER tab on the upper right tab.
3.
Click the Partners tab on the top menu bar.
4.
Click the Add property icon on the upper right to create a new partner.
5.
 
Table 4 Partner Data Configuration
Configure a Facade Operation
1.
Select the ASG_Get_Start configuration.
2.
Click the ROUTING tab on the upper right tab.
3.
Click the Facade Operations tab on the top menu bar.
4.
Click the Add property icon on the upper right to create a new facade operation.
5.
Table 5 Facade Operation Configuration
Configure a Target Operation
1.
Select the ASG_Get_Start configuration.
2.
Click the ROUTING tab on the upper right tab.
3.
Click the Target Operations tab on the top menu bar.
4.
Click the Add property icon on the upper right to create a new target operation.
5.
 
Table 6 Target Operation Configuration
Configure an Authorization Configuration
1.
Select the ASG_Get_Start configuration.
2.
Click the PARTNER tab on the upper right tab.
3.
Click the Facade Access tab on the top menu bar.
4.
Click the Add property icon on the upper right to create a new partner operation.
5.
 
Table 7 Partner Authorization Configuration:
Configure Routing Configuration
1.
Select the ASG_Get_Start configuration.
2.
Click the ROUTING tab on the upper right tab.
3.
Click the Routing tab on the top menu bar.
4.
Click the Add property icon on the upper right to create a new routing configuration.
5.
 
Table 8 Routing Configuration
Save the Gateway Configuration
On the menu bar, click the Save Configuration icon to save the ASG_Get_Start configuration.
Test the Gateway configuration
Run Apache HTTP Server, if not running
See Running the Apache HTTP Server for details.
Run Core Engine
1.
   cd ASG_HOME/bin
2.
Start the Core Engine for the ASG_Get_Start configuration as follows:
On the Windows platform, type the following command:
   asg-engine -u asg-caching-core -a ASG_Get_Start
On the UNIX platform, type the following command:
   ./asg-engine -u asg-caching-core -a ASG_Get_Start
3.
4.
Test the Configured Operation and Target Operation
1.
2.
ASG_HOME/examples/BookQuery/BookQuery
3.
BooksInterface-service1
4.
QueryByAuthorClient
5.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved