Adding a server configuration
Connect to servers that your project uses to access services and data.
Procedure
Complete the following steps:
- Open your project in the designer.
-
Under Servers, click + to add a new server
configuration.
Tip: To copy a server configuration from other projects, click Import a server. This is an easy way to add servers referred to by artifacts copied or moved from other applications or toolkits.
- Beneath the Details heading, enter a meaningful name for server.
- Click the Type cell for the newly
entered variable and select one of the available options:
Type Description Enterprise Content Management Server Connect to an Enterprise Content Management server. In the Host name field, specify an IP address or a host name and domain, but do not specify http:// or another protocol, for example myHost.labwide.ibm.com
For more information, see Adding an Enterprise Content Management server
.REST Server Use the REST server binding to invoke a REST API. Configure the server binding information that one or more external services can use. In the Host name field, specify an IP address or a hostname and domain, but do not specify http:// or another protocol, for example myHost.labwide.ibm.com
For more information, see Adding an Enterprise Content Management server
. - Enter the server connection details.
Note: Server settings are typically configured during development, but they may differ between environments (such as using different endpoints or credentials) and can change over time. These settings can be updated at runtime—for example, through the operations REST APIs. For details, see REST API programming. To apply the same settings to another version, refer to Synchronize snapshots.