Creating a publication that triggers a file ingestion task
Creating a publication that triggers a file ingestion task
Use the Navigator to create publications that trigger a file ingestion task to retrieve the files from the publishing application and write the files to a specific topic on the
Cloud Integration Hub
file store publication repository.
The following conditions must exist before you create a publication:
An application to publish the files from must exist. You can either use an existing application, or create and save a new application.
A file store topic to publish files to must exist. You can either use an existing topic, or create and save a new topic
A publication file ingestion task must exist.
In the Navigator, click
New
Publication
.
The
New Publication
page appears.
Enter the publication name. Optionally, enter a description for the publication.
Select the publication mode, enabled or disabled.
A disabled publication does not run according to schedule or by an external API. You can only run a disabled publication from the
Explore
page or from the topic page of the topic that the publication publishes to.
Select
Publish files with a file ingestion task
.
Select the application that publishes the files.
Select a topic that stores files in a file store to publish the files to.
Select the file ingestion task that defines the publication mapping.
Select the method and the frequency of files publishing.
Manually or by an external trigger
No schedule. You can use the following methods to run the publication:
Run manually from the
Cloud Integration Hub
explorer.
Run by an API. Call a REST API that starts the publication.
For publications that use this scheduling option and that publish multiple files, all the files must be present in the source location when the publication starts.
By schedule
Runs the publication according to the defined schedule. Select one of the following options:
Every n minutes. Runs the publication in intervals of up to 60 minutes. You select the number of minutes from the list.
Hourly. Runs the publication in intervals of up to 24 hours. You select the number of hours from the list. The publication runs at the beginning of the hour. For example, if you enter 2, the publication runs at 00:00, 02:00, and at consecutive two-hour intervals.
Daily. Runs the publication at the same hour every day.
Weekly. Runs the publication every week on one or more days at the same hour. Select the check boxes of the days of the week that the publication runs on. For example, select Saturday and Sunday to schedule the publication to run on weekends.
Monthly. Runs the publication every month on a specific date or a specific day at the same hour.
For minutes and hourly intervals, you can define a period of the day when the publication runs. For example, schedule the publication to run during nighttime hours.
Select a time zone for the schedule. The schedule runs the publication in the selected time zone. You can change the default time zone in the user profile.