API Manager -Design First Workflow
Prerequisites
- The API Management - Design First and the API Policy Manager features must be enabled. Contact SnapLogic Support to subscribe to the feature.
- This API Management - Design First feature supports the Open API Specification (OAS) 2.0.
- You should have a good understanding of the SnapLogic Manager and the SnapLogic expression language.
Support and Limitations
Limitations
Orgs with APIM should not use Enhanced Encryption for the following reasons:
Orgs with Enhanced Encryption do not support subscriptions on the Developer Portal.
Org admins who rotate keys for their Groundplexes must also reconfigure all API policies as well for them to work.
Only one instance of an API policy type is applicable at each level in the hierarchy.
API Manager does not support Scheduled Tasks. When you open a Task in an API version, you
do not have the option to change the Run Policy to Scheduled.
In Designer, when you open a Pipeline in an API version, the Snaplex
picker in the Edit Pipeline dialog window only
show the Snaplex instances from the global
shared
folder. If a Snaplex is in a project or Project Spaceshared
folder, then it does not display in the APIM Snaplex picker.In Designer,
if you open the Snap dialog window
from a Pipeline in the API Management -
/apim
space,
API Management FAQ
What is the difference between API Management and the Native API Manager?
API Management covers all aspects of managing APIs, from creation, testing, deployment, versioning and sharing it with API consumers. The API Manager allows you to define and create an API through uploading or referencing a Swagger specification. You can create versions and add permissions and policies at the Org/APIM, API, and version levels.Native API Manager supports publishing of Ultra and Triggered Tasks to the existing Developer Portal.
How do I enable the API Management Design First feature for the 4.25 release?
In the 4.25 release (May 2021), you must subscribe to the API Management feature to access the Design First features, the API Policy Manager, and the API Dashboard, and to the Native API Manager for publishing APIs to the developer portal
Is the Native API Manager Developer Portal feature supported in the new API Management Design First feature?
No. APIs and versions cannot be published to the Native API Developer Portal in the 4.25 release.
Are there plans to add a Developer Portal support to API Management?
Yes, In the 4.26 release (August 2021), we plan to deliver a Developer Portal with equivalent functionality as the existing one in Native API Manager.
Can I add API policies to Tasks in the next release with API Management Design First?
Yes, you can still add policies at the Org and Project Space levels for your Ultra and Triggered Tasks.
If I have APIs published on the Developer Portal since the 4.23 release through the Native API Manager, will they be compatible with the Developer Portal in 4.26?
SnapLogic will work with customers who currently have a Developer Portal to migrate their published APIs to the 4.26 Developer Portal.
the asset or account selectors display only the assets from the global shared folder, in addition to those in the current version.
You can change the Snaplex for an unpublished API version. To do so, go to API Manager, choose the API, go to the Versions tab, choose the version, click Edit Details, and choose from the Server dropdown. Note: This field is disabled if the API version is published or if the Snaplex is down.
You cannot use the Cloud URL to run the Triggered Tasks in your API Versions.
When you generate a specification using version OAS 3.0 in an API proxy that has a valid endpoint, the generated specification does not list a server.
Prerequisites
The API Manager feature requires a load balancer.
Cloudplexes need a Cloudplex FeedMaster node and a load balancer for the API Policy Manager to work.
Contact support@snaplogic.com to provision the Cloudplex FeedMaster node and the load balancer as needed.
When the load balancer becomes available, your Org admin must update the Load Balancer URL in the Snaplex Settings. Learn how: Updating a Snaplex
You must use the load balancer URL in your Triggered and Ultra Task endpoints.
The API Management feature must be enabled for your Org. Contact SnapLogic Support to subscribe to this feature.
API Management Architecture
The following diagram illustrates the components of API Management Architecture.
The Design-First Workflow
You can create a new API in the /apim
space of the API Manager and import or reference an API specification that defines the API. The new API comprises a Pipeline that is the scaffolding for the API and the Task used to call it. You can then create versions, add API policies, and modify the underlying SnapLogic assets to build the business logic for your API.
The following video demonstrates the workflow:
Learn more: Creating the API using Design First
The Pipeline-First Workflow
You can also create an API in the API Manager by referencing existing Projects in Manager. This allows you to design, build, and test your Pipeline first, thereby taking advantage of your existing SnapLogic infrastructure. As you build Pipelines and create Triggered Tasks from them, you vet them for production individually and concurrently. When your Pipeline and Tasks are production-ready, you can create APIs in the API Manager.
The following video demonstrates the workflow:
Learn more: Creating the API from Existing Project Assets
Known Issues
When you generate a specification using version OAS 3.0 in an API proxy that has a valid endpoint, the generated specification does not list a server.
Workaround: Edit the specification to include the server field and list the Snaplex manually.