Table of Contents

Search

  1. Preface
  2. Introduction to Cloud Integration Hub
  3. Hub administration
  4. Project and Asset Management
  5. Applications
  6. Topics
  7. Data Integration tasks
  8. File ingestion tasks
  9. Publications
  10. Subscriptions
  11. Tracking and monitoring
  12. Cloud Integration Hub REST APIs
  13. Glossary

Cloud Integration Hub

Cloud Integration Hub

Creating a subscription that consumes data with an API

Creating a subscription that consumes data with an API

Use the Navigator to create subscriptions that use the Consume Data REST API to consume the data from a specific topic in the
Cloud Integration Hub
relational publication repository.
The following conditions must exist before you create a subscription:
  • An application or applications that consume data must exist. You can either use existing applications, or create and save new applications.
  • A relational topic to consume data from must exist. You can either use an existing topic, or create and save a new topic.
  1. On the Navigator, click
    New
    Subscription
    .
    The
    New Subscription
    page appears.
  2. Enter the subscription name. Optionally, enter a description for the subscription.
  3. Select the subscription mode. Choose one of the following options:
    • Enable
      . The subscription runs according to the schedule that you define in the
      Schedule
      page. You can also run the subscription manually from Cloud Integration Hub.
    • Pause
      . The subscription does not run according to a schedule or by an external API. You can only run the subscription manually from Cloud Integration Hub to consume the delayed events.
    • Disable
      . The subscription does not run according to a schedule or by an external API. You cannot run a disabled subscription manually from Cloud Integration Hub. If the related publication runs successfully, the disabled subscription doesn't create a delayed event. You cannot consume the published data when the subscription is in disabled mode.
  4. Select
    Consume data with an API
    .
  5. Optionally, enter a notification URL.
    Cloud Integration Hub
    sends notifications to this URL when data is ready to consume. You can either enter an unauthenticated URL or a basic authenticated URL.
    For more information, see Subscription properties.
  6. Select the application that subscribes to the data.
  7. Select the topic that stores data in a relational database from which the application consumes the data and then click
    Add Topic
    . You can add as many topis as required.
  8. Click
    Save
    .
    You can copy the following URLs and use them in the request that runs the subscription:
    • URL of the REST API. Use this URL to consume the data.
    • URL of the Swagger structure for the topic that the subscription consumes data from.
      If a Swagger structure base URL is configured for the organization, Cloud Integration Hub appends the base URL to the topic Swagger structure URL. For more information, see System Properties.

0 COMMENTS

We’d like to hear from you!