Step 2. Add a new Content Source
- For this step please follow the step from the Configuration Tutorial of the connector of you choice, please refer to Connector list
Once you've clicked on the Add button, it will take a moment for Aspire to download all of the necessary components (the Jar files) from the Maven repository and load them into Aspire. Once that's done, the publisher will appear in the Workflow Tree.
The scripts to be run should be composed of one or two parts, depending on what is needed for its execution:
- (optional) A "init" function that must return a dictionary with any values to be used during the execution.
- (mandatory) A "process" function which will take a first parameter "data" where the Aspire Object from the job is passed and a second parameter "dictionary" that will contain the dictionary that was returned from the "init" function described before. If there was no "init" function, an "dictionary" will be empty.