Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Import a connector
  6. Debug the connector code
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Manual changes to Informatica Connector Toolkit source code
  12. Runtime behavior
  13. Connector example: MySQL_Cloud
  14. Version control integration
  15. Appendix A: Metadata models
  16. Appendix B: ASO model
  17. Appendix C: Connector project migration
  18. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  19. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Configure advanced capabilities in swagger-based method

Configure advanced capabilities in swagger-based method

When you use the Swagger-based method to generate metadata for an object of hierarchical type, you can configure the pagination details for the API response.
You can use link-based or cursor-based pagination.
  1. Click
    Configure Advanced Capabilities
    .
    Configure advanced capabilities for the connector.
  2. Select the pagination type.
    • No Pagination. All the records are displayed in a single page.
    • Link-based. The API response includes a field that contains the URL for the next page.
      For example,
      "next_page": "https://api.example.com/items?page=2"
      The following image shows the sample response for link-based pagination:
      Image shows the sample response for link-based pagination
    • Cursor-based. The API response includes a field that indicates whether there are more records available after the current set of records.
      For example,
      "has_more": true
      The following image shows the sample response for cursor-based pagination:
      Image shows the sample response for cursor-based pagination
  3. To use
    Link-based
    pagination type, configure the following fields:
    1. In the
      Record Limit
      field, enter the number of records to return for each page.
      The image shows the fields for link-based pagination.
    2. In the
      Link Attribute Name
      field, enter the name of the field that contains the URL for the next page.
    To use
    Cursor-based
    pagination type, configure the following fields:
    1. In the
      Record Limit
      field, enter the number of records to return per page.
      The image shows the fields for cursor-based pagination.
    2. In the
      Pagination Parameter
      field, enter the name of the field that marks the starting point to retrieve the next set of records.
    3. In the
      Pagination Key Attribute
      field, enter the name of the field that uniquely identifies each record.
  4. Click
    Generate code
    .

0 COMMENTS

We’d like to hear from you!