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. Publications
  9. Subscriptions
  10. Tracking and monitoring
  11. Cloud Integration Hub REST APIs
  12. 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
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 topic from which to consume data must exist. You can either use an existing topic, or create and save a new topic.
You can also create subscriptions on the topic page. For more information, see Creating a 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. Choose the subscription mode, enabled or disabled.
    A disabled subscription does not run according to schedule or by an external API. You can only run a disabled subscription from the
    Explore
    page or from the topic page of the topic that the subscription subscribes to.
  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.
    For more information, see Subscription properties.
  6. Choose the application that subscribes to the data.
  7. Choose the topic from which the application consumes the data and then click
    Add Topic
    .
  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.