Skip to content

Commit 4c698d1

Browse files
Merge pull request #537 from mulesoft/W-13734629-apig-apim-internal-doc-br-bsj
W-13750485 APIM <> APIG
2 parents 27b674b + fbd9e16 commit 4c698d1

6 files changed

Lines changed: 128 additions & 44 deletions

File tree

modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
** xref:delete-api-task.adoc[Delete an API Instance]
1717
** xref:manage-versions-instances-concept.adoc[Manage API Instance Versions]
1818
** xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Provider]
19+
** xref:govern-api-instances.adoc[Govern API Instances]
1920
* xref:api-groups-landing-page.adoc[Manage API Groups]
2021
** xref:api-groups-creating-groups.adoc[Create API Groups]
2122
** xref:api-groups-modifying-groups.adoc[Modify API Groups]

modules/ROOT/pages/_partials/task-add-api-instance.adoc

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ See xref:runtime-fabric::proxy-deploy-runtime-fabric.adoc[Deploying API Proxies
9898
* Click **Select API from Exchange** if you have an API shared with you through Exchange that you want to manage.
9999
[arabic]
100100
.. Click the API from the list under **Select API**. You can search for a specific API if needed.
101-
.. Update the *Asset type*, *API version*, and *Asset version* if needed.
101+
.. Update the *Asset type*, *API version*, and *Asset version* if you are not using the latest version.
102+
+
103+
For more information about versions in Exchange, see xref:exchange::asset-versions.adoc[].
104+
.. If you chose a *RAML/OAS* asset type, view the *Conformance Status* of the API to ensure the API is conformant. If the *Conformance Status* is nonconformant, after deployment, view the *Governance Report* to find and fix the conformance issues. For more information about the *Governance Report*, see xref:govern-api-instances.adoc[].
102105

103106
* Click **Create new API**:
104107
[arabic]
@@ -114,7 +117,10 @@ See xref:runtime-fabric::proxy-deploy-runtime-fabric.adoc[Deploying API Proxies
114117
Upload either a RAML or OAS file for your REST API. Versions 2.0.0 and later are the recommended versions for OAS or RAML specs, because these versions add native OAS support. If you upload an OAS API specification to an API proxy version 1.0 or earlier, your API specification is translated to RAML.
115118
** **HTTP API:** Select this option if you do not have an API definition file you want to include for your asset.
116119

117-
.. Optionally, click *Advanced* to edit the *AssetId* and the *Version*.
120+
.. Update the *Asset type*, *API version*, and *Asset version* if you are not using the latest version.
121+
+
122+
For more information about versions in Exchange, see xref:exchange::asset-versions.adoc[].
123+
.. If you chose a *RAML/OAS* asset type, view the *Conformance Status* of the API to ensure the API is conformant. If the *Conformance Status* is nonconformant, after deployment, view the *Governance Report* to find and fix the conformance issues. For more information about the *Governance Report*, see xref:govern-api-instances.adoc[].
118124
. Click *Next*.
119125
//end::asset-type-options-flex[]
120126

@@ -131,7 +137,10 @@ Upload either a RAML or OAS file for your REST API. Versions 2.0.0 and later are
131137
Upload a WSDL file for your SOAP API or add the link to the file. +
132138
This option is not available for Flex Gateway runtime at this time.
133139

134-
.. Optionally, click *Advanced* to edit the *AssetId* and the *Version*.
140+
.. Update the *Asset type*, *API version*, and *Asset version* if you are not using the latest version.
141+
+
142+
For more information about versions in Exchange, see xref:exchange::asset-versions.adoc[].
143+
.. If you chose a *RAML/OAS* asset type, view the *Conformance Status* of the API to ensure the API is conformant. If the *Conformance Status* is nonconformant, after deployment, view the *Governance Report* to find and fix the conformance issues. For more information about the *Governance Report*, see xref:govern-api-instances.adoc[].
135144
. Click *Next*.
136145
//end::asset-type-options[]
137146

@@ -142,15 +151,18 @@ This option is not available for Flex Gateway runtime at this time.
142151
+
143152
NOTE: Anypoint API Manager supports OpenAPI Specification (OAS) 3.0, with the exception of the callback feature. To work around this issue, handle the callback outside of the Mule runtime engine domain or use an OAS 3.0 specification that does not use callbacks.
144153

145-
.. Optionally, click *Advanced* to edit the *AssetId* and the *Version*.
154+
.. Update the *Asset type*, *API version*, and *Asset version* if you are not using the latest version.
155+
+
156+
For more information about versions in Exchange, see xref:exchange::asset-versions.adoc[].
157+
.. View the *Conformance Status* of the API to ensure the API is conformant. If the *Conformance Status* is nonconformant, after deployment, view the *Governance Report* to find and fix the conformance issues. For more information about the *Governance Report*, see xref:govern-api-instances.adoc[]
146158
. Click *Next*.
147159
//end::raml-oas[]
148160

149161
// asset type options for SOAP Proxies
150162
//tag::soap[]
151163
.. Select **SOAP API** as the **Asset type**.
152164
.. Select either *Upload a WSDL* or *Use an external link* as the method.
153-
.. Optionally, click *Advanced* to edit the *AssetId* and the *Version*.
165+
.. Update the *Asset type*, *API version*, and *Asset version* if needed.
154166
. Click *Next*.
155167
//end::soap[]
156168

modules/ROOT/pages/api-instance-landing-page.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ To manage API instances in API Manager:
2828
** xref:manage-versions-instances-concept.adoc[Manage API Versions] - After you create an API in Anypoint Platform, you configure the version details for the API and then publish it to Anypoint Exchange (Exchange). The API version resides in Exchange, and not in API Manager. However, you then manage this API version from API Manager.
2929
. Explore advanced use cases for API instances:
3030
+
31-
xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Providers] - You can use multiple client providers, such as OpenAM and PingFederate, to help you enforce security and regulations in your business organization. These client providers enable you to secure your operational data, including client credentials and access tokens.
31+
* xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Providers] - You can use multiple client providers, such as OpenAM and PingFederate, to help you enforce security and regulations in your business organization. These client providers enable you to secure your operational data, including client credentials and access tokens.
32+
+
33+
* xref:govern-api-instances.adoc[Govern API Instances] - You can govern API instances using Anypoint API Governance. View the governance validation report for governed instances to identify conformance issues and take action to fix them.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
= Governing API Instances
2+
ifndef::env-site,env-github[]
3+
include::_attributes.adoc[]
4+
endif::[]
5+
6+
7+
API Manager is closely integrated with xref:api-governance::index.adoc[Anypoint API Governance] to govern aspects of API instances with governance rulesets. Applying a governance ruleset to your API ensures that every instance of that API conforms to standards such as what policies are applied and if a TLS context is required.
8+
9+
To govern an API instance:
10+
11+
. <<apply-a-ruleset>>
12+
. <<view-api-manager>>
13+
14+
[[apply-a-ruleset]]
15+
== Apply a Governance Ruleset
16+
17+
To govern API instances, you must apply a governance ruleset to your desired API. To apply a governance ruleset, see xref:api-governance::create-profiles.adoc[].
18+
19+
To create custom rulesets that enforce your own API management standards, see xref:api-governance::create-custom-rulesets.adoc[].
20+
21+
[[view-api-manager]]
22+
23+
== View and Fix Instance Conformance Issues in API Manager
24+
25+
To view the conformance status of an API instance:
26+
27+
. Navigate to *Anypoint Platform* > *API Manager*.
28+
. Click the name of the API instance for which you want to view the conformance status.
29+
+
30+
*Instance Conformance* appears in the *API Summary* pane.
31+
. If the instance is not conformant, select the *Governance Report* page to view nonconformance details for each ruleset.
32+
. Click *View details* for each ruleset for more information about the conformance issues.
33+
34+
35+
== See Also
36+
37+
* xref:api-governance::fix-instance-conformance-issues.adoc[]

modules/ROOT/pages/latest-overview-concept.adoc

Lines changed: 65 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ Anypoint API Manager (API Manager) is a component of Anypoint Platform that enab
1414
1515
API Manager is tightly integrated with the following tools:
1616

17-
* xref:design-center::index.adoc[Anypoint Design Center (Design Center)], for specifying the structure of the API
18-
* xref:exchange::index.adoc[Anypoint Exchange (Exchange)], for storing and publishing API assets
19-
* xref:studio::index.adoc[Anypoint Studio (Studio)], for implementing the API
20-
* xref:runtime-manager::index.adoc[Anypoint Runtime Manager (Runtime Manager)], to deploy, manage, and monitor the API (or proxy)
17+
* xref:design-center::index.adoc[Design Center]: To specify the structure of the API
18+
* xref:exchange::index.adoc[Exchange]: To store and publish API assets
19+
* xref:studio::index.adoc[Studio]: To implement the API
20+
* xref:runtime-manager::index.adoc[Runtime Manager]: To deploy, manage, and monitor API instances
21+
* xref:api-governance::index.adoc[API Governance]: To govern API instances
2122
2223
Before using API Manager, familiarize yourself with the user interface and the tasks you can perform therein.
2324

@@ -63,9 +64,13 @@ The endpoint must have a tracking registration status of *Active* for governance
6364

6465
. The name of each API. Clicking the API name navigates you to the API *Settings* view, where you manage the following:
6566
+
67+
** *API Summary*
68+
+
69+
For details, see xref:api-instance-landing-page.adoc[].
70+
+
6671
** *Alerts*
6772
+
68-
For details, see xref:using-api-alerts.adoc[Reviewing Alerts Concepts].
73+
For details, see xref:using-api-alerts.adoc[].
6974
** *Contracts*
7075
+
7176
For details, see xref:api-contracts-landing-page.adoc[Client Applications and Contracts].
@@ -74,7 +79,13 @@ For details, see xref:api-contracts-landing-page.adoc[Client Applications and Co
7479
For details, see xref:policies-landing-page.adoc[Policies].
7580
** *SLA Tiers*
7681
+
77-
For details, see xref:defining-sla-tiers.adoc[Reviewing SLA Tiers Concepts].
82+
For details, see xref:defining-sla-tiers.adoc[].
83+
** *Settings*
84+
+
85+
For details, see xref:edit-api-endpoint-task.adoc[].
86+
** *Governance Report*
87+
+
88+
For details, see xref:instance-governance.adoc[].
7889

7990
. The percentage of API requests that resulted in errors (in the past 24 hours).
8091
+
@@ -90,6 +101,40 @@ see xref:api-contracts-landing-page.adoc[Client Applications and Contracts].
90101

91102
== API Manager Components, Concepts, and Features
92103

104+
=== API Instances
105+
106+
An API instance describes a configuration of an API that is deployed on one of the following runtimes: Flex Gateway, Mule Gateway, or Service Mesh. API instances are managed by API Manager after they are created by using the add, promote, or import options. API instances remain under management until they are deleted.
107+
108+
The API Summary shows key information about a deployed API instance:
109+
110+
image::api-instance-summary.png[API Summary page]
111+
112+
For details, see xref:api-instance-landing-page.adoc[API Instance].
113+
114+
=== API Alerts
115+
116+
An _API alert_ (different from a Runtime Manager alert) is an alarm that flags one of the following:
117+
118+
* The API request violates a policy.
119+
* Requests received by the API exceed a given number within a specified period of time.
120+
* The API returns a specified HTTP error code.
121+
* The API response time exceeds a specified timeout value.
122+
123+
API Manager triggers alerts when states change from desirable to undesirable or vice versa. When an alert is triggered, API Manager sends an email notification to you and to anyone else you specify in the configuration.
124+
125+
For details, see xref:using-api-alerts.adoc[Reviewing Alerts Concepts].
126+
127+
=== Contracts
128+
129+
Contracts define how client applications consume APIs. A client application requests access in Exchange. Either the owner of the API instance approves the request in API Manager or the approval is automatic, depending on configuration.
130+
131+
Contracts are enforced with either of the following:
132+
133+
* SLA enforcement policies
134+
* Client enforcement policies
135+
136+
For details about enforcement policies, see xref:api-contracts-landing-page.adoc[Client Applications and Contracts].
137+
93138
=== Policies
94139

95140
Policies enable you to enforce regulations to help manage security, control traffic, and improve adaptability of your APIs. For example, a policy can control authentication, access, allotted consumption, and service level access (SLA).
@@ -107,35 +152,32 @@ _Service Level Access (SLA) tiers_ are categories of user access that you define
107152

108153
For details, see xref:defining-sla-tiers.adoc[Reviewing SLA Tiers Concepts].
109154

110-
=== Client Providers (Identity Providers)
155+
=== Settings
111156

112-
You use client providers to enforce security and regulations in your business organization. Client providers authorize client applications.
157+
When adding an API instance, you configure the API instance settings to set parameters such as the runtime and upstream and downstream URIs.
113158

114-
For details about using client providers, see xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Providers for Client Management].
159+
To add an API instance, see xref:add-api-instances.adoc[].
115160

116-
=== Contracts
161+
After you create the API instance, you can edit the configuration settings from Settings.
117162

118-
Contracts define how client applications consume APIs. A client application requests access in Exchange. Either the owner of the API instance approves the request in API Manager or the approval is automatic, depending on configuration.
163+
To edit an API instance, see xref:edit-api-endpoint-task.adoc[Edit an API Instance].
119164

120-
Contracts are enforced with either of the following:
165+
=== Governance Report
121166

122-
* SLA enforcement policies
123-
* Client enforcement policies
167+
API Governance is integrated with API Manager to identify the conformance status of your API instances.
124168

125-
For details about enforcement policies, see xref:api-contracts-landing-page.adoc[Client Applications and Contracts].
169+
API Governance tests API instances against rulesets to determine conformance issues such as missing policies and missing TLS contexts.
126170

127-
=== API Alerts
171+
You can view the governance validation report details to get the information you need to fix conformance issues. The validation report is available both in API Manager on the Governance Report page and in API Governance.
128172

129-
An _API alert_ (different from a Runtime Manager alert) is an alarm that flags one of the following:
173+
To learn more about governing your API instances, see xref:govern-api-instances.adoc[Govern API Instances].
174+
130175

131-
* The API request violates a policy.
132-
* Requests received by the API exceed a given number within a specified period of time.
133-
* The API returns a specified HTTP error code.
134-
* The API response time exceeds a specified timeout value.
176+
=== Client Providers (Identity Providers)
135177

136-
API Manager triggers alerts when states change from desirable to undesirable or vice versa. When an alert is triggered, API Manager sends an email notification to you and to anyone else you specify in the configuration.
178+
You use client providers to enforce security and regulations in your business organization. Client providers authorize client applications.
137179

138-
For details, see xref:using-api-alerts.adoc[Reviewing Alerts Concepts].
180+
For details about using client providers, see xref:configure-multiple-credential-providers.adoc[Configure Multiple Client Providers for Client Management].
139181

140182
=== API Assets
141183

@@ -164,16 +206,6 @@ An _API group_ is a collection of API instances that act as a single unit, so th
164206

165207
For details, see xref:api-groups-landing-page.adoc[API Groups].
166208

167-
=== API Instances
168-
169-
An API instance describes a configuration of an API that is deployed on one of the following runtimes: Flex Gateway, Mule Gateway, or Service Mesh. API instances are managed by API Manager after they are created using add, promote, or import options. API instances remain under management until they are deleted.
170-
171-
The API Summary shows key information about a deployed API instance:
172-
173-
image::api-instance-summary.png[API Summary page]
174-
175-
For details, see xref:api-instance-landing-page.adoc[API Instance].
176-
177209
=== Autodiscovery Schemes
178210

179211
Through autodiscovery schemes, API Manager can track the API throughout the life cycle as you modify, version, deploy, govern, and publish it.

modules/ROOT/pages/manage-versions-instances-concept.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ ifndef::env-site,env-github[]
33
include::_attributes.adoc[]
44
endif::[]
55

6-
In Anypoint Exchange (Exchange), you can add, delete, and deprecate API versions, also known as _Exchange assets_. An API version in Exchange can have its own RAML file, API portal, and URL. For more information on how to manage API versions in Exchange, see xref:exchange::manage-versions.adoc[Manage Versions].
6+
After you publish new version details for an API definition to Exchange, you must update the *Asset version* of your deployed API instances in API Manager to reflect the changes.
77

8-
After you publish new version details for an API definition to Exchange, you must change the version of your API instance in API Manager if you want the instance to reflect the latest version. For more information on API instances, see xref:api-instance-landing-page.adoc[API Instance].
8+
For more information about versions in Exchange, see xref:exchange::asset-versions.adoc[].
99

1010
To change the asset version of an API instance:
1111

12-
. Navigate to *Anypoint Platform* > *API Manager*.
13-
. In *API Administration*, click the name of the API instance whose version you want to manage.
12+
. Navigate to *Anypoint Platform* > *API Manager*.
13+
. In *API Administration*, click the name of the API instance for which you want to change the version.
1414
. Select *Actions* > *Change API specification*.
15-
. In *Asset version*, Select *latest*.
15+
. In *Asset version*, select your desired version.
1616
. Click *Change*.
1717

1818
== See Also

0 commit comments

Comments
 (0)