Overview
In the 4.26 release (August 2021), we are introducing the Portal Manager and API Catalog feature, that completes the feature set for managing APIs in SnapLogic. You can now publish APIs to an external developer portal, which you can customize with your own branding. Users external to SnapLogic can explore the APIs you build in the SnapLogic platform.
When combined with the existing API Policy Manager, the API Manager and Portal Manager provide capabilities from API development, lifecycle management, and dashboard monitoring. You can create APIs in SnapLogic using your own API specifications, or build them from your Pipelines and SnapLogic assets.
Key Features
API Management Architecture
API Manager - Design First Workflow
When you import or reference an API specification to the new /apim space, a new API asset is created. 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, set permissions, and modify the underlying SnapLogic assets to build the business logic for your API.
Create New API from existing Pipelines and Tasks
You can also create an API in the API Manager Console by referencing existing Projects in Manager. This functionality enables you, as a Pipeline designer, to complete your Pipeline building activity first. The advantage of this approach is taking advantage of your existing SnapLogic infrastructure. You can segment the design and testing activities as you build Pipelines and creates Triggered Tasks from them individually testing and vetting them for production. Once your Pipeline assets are production ready, you can create APIs in the API creation dialog windows in the 4.26 release (August 2021).
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,
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.
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 to testing, deployment, versioning, and sharing it with API consumers. The API Manager console enables you to define and create an API through importing a Swagger specification. You can also create versions and add permissions and policies at the Org/APIM, API, and version levels.
Can I still use the Native API Manager to publish Ultra and Triggered Tasks to the existing Developer Portal?
Yes. However, the Native API Manager will be deprecated in the August 2021 release and replaced by the API Portal Manager, which will be added to the API Management section of the SnapLogic Manager.
How do I enable the API Management Design First feature for the 4.25 release?
In the 4.25 release (May 2021), your Org must have the following subscription features:
- API Management feature to access the Design First features, the API Policy Manager, and the API Dashboard.
- Native API Manager to access the API Policy Manager.
Is the Native API Manager Developer Portal feature supported in the new API Management Design First feature?
No. APIs and versions created through the API Management-Design First approach are not supported in 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 August release, we plan to deliver a Developer Portal with equivalent functionality as the existing one in Native API Manager.
Can I still add API policies to projects and 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 on the Developer Portal published through the Native API Manager, will those APIs be compatible with the Developer Portal in the future?
SnapLogic will work with customers who currently have a Developer Portal to migrate their published APIs to the new Developer Portal that will be available in the 4.26 release. Contact customer support at support@snaplogic.com for further assistance.
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.