Upgrading REST connectors with URLs that only contain parameters
Because the URL configuration is not compatible with the new configuration, update
URLs that contain only parameters, for example,
{host}/{path}/{type}/{name}/{version}
, before upgrading REST
connectors.
Replace the {host}
parameter with a valid base URL, for example,
http://myhost.com
, so that the application extracts the correct
base URL, resource path, and query string. Then save the REST connector before
upgrading.
- In Dev Studio, click .
- Click on the REST connector that you want to upgrade.
- On the Service tab, in the Resource
path field, replace the
{host}
parameter with a valid base URL. - Click Save.
- Click Upgrade to new endpoint configuration.By default, the Provide URL option is selected, and the Base URL and Resource path fields are populated with the base URL that you specified and the resource path parameters, respectively.
- Optional: Create a new application setting.
- Click Use application setting.
- In the Base URL field, press the Down arrow key and select Create New Setting.
- In the Create Setting For URL window, in the Owning ruleset field, enter the domain for the application setting. This value does not have to equal a ruleset name; it functions as a namespace.
- In the Name field, enter a name for the application setting.
- In the Short description field, enter text that describes the purpose of the application setting.
- Optional: Specify a category in the Category field.
- In the Value per production level section, in the Value fields, enter the setting value for the specified production level.
- Click Submit.
- Click Save.
Previous topic Upgrading REST connectors sourced from a Global Resource Setting Next topic Distinct URI specification for service REST rules