...
To add a REST/HTTP Service project, click the Add API Project button the Add
icon and click the From REST/HTTP Service option.
Figure 1: Navigating to create a project from the REST/HTTP Service
Providing Basic Attributes
Enter values for attributes in the New Backend Service dialog box as described in attributes following descriptions in the table below.
Figure 2: New Backend Service dialog box to provide details of REST/HTTP Service
Property | Description | ||
Display Name | A name to act as Project ID to Project display name | Provide a name to represent and identify the project. | |
Version | Revision number of the project. For example, 1.0 for a project being newly added and 1.1 or 2.0 for the next revision. | ||
Backend Service Use proxy as endpoint | |||
Target backend service URL | URL of the service provider from where data is to be fetched after implementing the policies that are defined. | ||
MethodTarget method | HTTP method used by the back end Service to send requests by using the following methods:
| ||
Proxy Context Pathcontext path | This is a text used to combine with the version number to act as an identifier to map a deployed project. The proxy resolves context path mappings prior to applying any matching policies (explained in subsequent topics).
| ||
MethodProxy method | HTTP method used by the application to send requests to the proxy by using the methods GET/POST/PUT/DELETE as explained previously. |
...
Generally, policies are created for a project after adding the project, while Security policy and Quota policy can be created while creating a project as well. To do this, click Next from the basic properties screen and select the attributes accordinglyas described in the table below.
Figure 4: Options to provide security attributes and enforce Quota
Property | Description |
---|---|
Secure API with | Enables security to the requests with the following security options:
|
Enforce Quota | Whether or not to enable the default Quota policy. |
...
Anchor | ||||
---|---|---|---|---|
|
The existing projects get reflected in Select a product to attach to the project from the existing projects listed under the Attach to API Policyproducts drop-down list. Select a product to attach it to and click Finish to save the project. The project gets added to the API Projects screen.
Figure 4: Option to attach an existing product(s) to the project
Info |
---|
To amend the Security/Quota details entered, click the Click the Previous button to move back to the screen where the details can be reentered.make any changes in the Security/Quota details entered. |
Figure 5: Project added to the API Projects screen