Creating the Metadata Files and the Zip Archive
-
Create the
metadata.yaml
ormetadata.yml
file:External technologies require a more advanced setup with additional information on how to establish a connection with the external service and how the life cycle of the external job instance must be executed. You can use the attribute reference tables, and the metadata example files to create metadata files. -
Save your file(s) according to the following architecture:
-
The job, app, and external technologies are in separate folders, which are grouped in a main folder.
-
The job, app, and external technology folders have subdirectories for each technology.
-
Each technology subdirectory has its own
metadata.yaml
file.External technologies must include the referenced JavaScript files. Figure 2: Folder hierarchy
-
-
Compress the main folder in
.zip
format.Your
.zip
file can contain several types of files but only files namedmetadata.yaml
ormetadata.yml
will be processed.For example, you can create a zip archive with the contents of the Saagie technology repository using the following command line:
zip technologies.zip -r technologies/