Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
On

In this

pageImage Removed

article

Table of Contents
maxLevel2

Overview

In the 4.25 release (May 2021), we are introducing the API Management - Design First feature that, when combined with the existing API Policy Manager, provides API management capabilities from development to monitoring. You can create APIs in SnapLogic using your own API specifications. 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.

Key Features

  • APIM Console: A new UI that allows you to navigate easily through the API development workflow. The API Manager console provides built-in management capabilities for your APIs and a space where developers can create and test their APIs.
  • Design First: The /apim space

    SnapLogic API Management (APIM) is a fully integrated solution on your Snaplex. You can create APIs from your SnapLogic Pipelines and Assets within SnapLogic or from Open API Specifications (OAS). You can also integrate with third-party APIs by creating API Proxies.

    To make your APIs available to users outside SnapLogic, you can publish those APIs in a Developer Portal that is customized with your own branding. The API policy manager offers a suite of controls for authentication, authorization, validation, security, traffic shaping, and transformation.

    The APIM solution is enabled via a Feature Subscription. Once your environment (Org) has the APIM feature enabled, you do not have to install any additional software. You can take advantage of your existing SnapLogic ecosystem to develop and expose APIs to your clients.

    Snaplex Gateway Architecture

    In SnapLogic’s APIM solution, the API gateway is your Snaplex node. This architecture differentiates SnapLogic APIM from other APIM vendors in that you do not have to build a separate physical gateway - the Snaplex resides in your infrastructure and you manage the node resources. All API logic resides on the Snaplex.

    A self-managed Snaplex is referred to as a Groundplex. As a software component, the Groundplex both applies the API policies and executes the API.

    You can take advantage of your load balancers to direct the API requests from your client and manage the firewall settings. Data between the client and server never traverses the Control Plane. Dependencies on the Control Plane are limited to fetching metadata for accounts. You can use existing Ultra and Triggered Tasks as your API endpoints. APIs that use Triggered Tasks cannot be called with the Cloud URL because APIM does not support calls to the Control Plane.

    The following diagram describes both the network architecture and the data flow for how SnapLogic handles an API call with APIM.

    apim-network-diagram.pngImage Added

    Key Features and Components

    SnapLogic provides API Management features and components to help you develop APIs, manage their lifecycles, and monitor their performance.

    Features include:

    • Support for Pipeline-First. APIM supports building APIs from your existing SnapLogic Assets:

      • Pipelines. A representation of the API specification and its child Pipelines, if any. Provides the scaffolding of the API’s implementation in the SnapLogic platform.

      • Tasks. The URI endpoints that are used to trigger Pipeline execution.

      • Files. The specification file and other files that are associated with the API.

      • Accounts. Accounts that are used by Pipelines in the API.

    • Support for Design First. API Management supports the creation of APIs from the Open API Specification (OAS) 3.0 or 2.0. You can design an API based on your specification

      and

      , then upload a file

      of it

      or reference a URL

      with the

      containing your specification.

      Versioning: The ability to create multiple versions of an API based using an OAS 2.0 specification

      Both JSON and YAML file formats are supported.

    • API Lifecycle Management. You can manage the entire lifecycle of an API or API version from creation to publication to deprecation to retirement.

    • Multiple API Versions. You can modify the initial specification

      for

      of your

      initial

      API, then create and publish a new

      versions

      version from

      those

      the modified specification

      versions

      .

    • Hierarchy Permissions: A comprehensive set of permission types that provides an Org admins the ability to define permissions at every level of the hierarchy. As an API developer, you can set permissions on your versions.
    • Suite of API Policies: The Manage API Policy wizard that enables you to enable various

    Components include:

    • API Manager. The console where you manage your APIs.

    • Portal Manager. The console where you set up and manage your custom Developer Portal.

    • Developer Portal. The custom site where you publish your APIs for consumption. In this site, API consumers can search and browse through your API Catalog and try out your APIs. Each API provides basic documentation and its specification. Users with a SnapLogic platform login can open the Developer Portal with one click from the Resources section of the Apps menu:

      Image Added
    • Subscription Manager. The console where you can approve and manage subscriptions to published APIs.

    • API Policies. A suite of security policies that handle authorization, authentication, and traffic control to manage access to your APIs. You can apply these policies at

    • the /apim space, API, and Version levels
    • various levels, such as the Org, the API, the API version, the shared folder of the Project Space, and Projects. Org Administrators can define permissions at very level of the hierarchy; API developers can set permissions on their own API versions.

    • API Dashboard

    • : The dashboard displays
    • . The API tab in Dashboard where you can view the usage and traffic metrics of your APIs.

    • As an Org admin or Pipeline Designer, you
    • You can track the popularity of an API or analyze target and response errors to understand how to enhance the API consumer experience

    PanelbgColor#ebf7e1
    • .

    • APIM tab in the Activity Log: The APIM tab allows you to track changes to APIs published to the Developer Portal in addition to changes to the Developer Portal membership and subscription request status.

    • Support for Git integration. You can now effectively manage your API versions by associating them to source control repositories like Git and other Git hosting options supported by SnapLogic. You can create APIs from Git repositories, reusing existing SnapLogic Assets tracked in Git. Your Org must have Git integration set up. With Git integration, you can track, update, and manage versions of SnapLogic project files, pipelines, tasks, and accounts, using either the SnapLogic graphical interface or the SnapLogic Public APIs. When you create API Versions using SnapLogic Assets, the APIM console displays the Git operations available to you.

    Info

    APIM support for Git does not extend to API Proxies.

    Articles in this section

    Child pages (Children Display)
    depth
    all
    3
    allChildren
    true
    false
    depth
    style
    3
    page

    API Manager -Design First Workflow

    SnapLogic API Management
    first10
    sortAndReverse

    Prerequisites

    • The API

    Management - Design First and
    • Manager feature requires a load balancer.

    • Cloudplexes need a Cloudplex FeedMaster node and a load balancer for 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

    For Cloudplex users, you must set up a load balancer for the API Policy Manager to work.
    • 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 more.

      • 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.

    Limitations

    • APIM does not support the Cloud URL to run the Triggered Tasks in your API Versions.

    • 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

    of a
    • type is applicable at

    a
    • each level in the hierarchy. 

    • API Manager does not support Scheduled Tasks. When you open a Task in an API version, you

    cannot change it to Scheduled (not visible). Also, the Task dialog window displays the Snaplex, but it cannot be modified
    • 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

    selector
    • picker in the Edit Pipeline dialog window only

    shows
    • show the Snaplex instances from the global shared folder. If a Snaplex is in a project or Project Space shared folder, then it does not display in the APIM Snaplex picker.

    • In Designer,

    the asset or account selectors in the
    • if you open the Snap dialog window

    opened
    • from a Pipeline in the API Management - /apim space,

    only shows
    • the asset or account selectors display only the assets from the global shared folder, in addition to those in the current version

    .The Native API Manager and Developer Portal do not support the APIM Design First feature
    • .

    API Management FAQSee Also

    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 console allows you to define and create an API through uploading or referencing 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 cannot be published using 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.

    • 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.

    • 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.

    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.

    • When you create an API from an existing Project, choosing the Assets and Snaplex in the dialog, API creation is successful, and all the assets have been imported successfully. However, tasks still use the previous Snaplex, if the Snaplex is not active.
      Workaround: Set the Snaplex for each task manually.

    Related Content