This repository was archived by the owner on Jun 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
ExportVariable
Erwan KOFFI edited this page Nov 21, 2017
·
1 revision
This task allows you to export variable from Data Fabric into a json file.
The task can be launched with the command gradle exportVariable.
The configuration variable allows to export multiple variables at the same time.
Once your saagie object is available on your project with the server correctly set up,
you need to fill the jobs list which will be exported.
saagie {
server {...}
variables {[
{
id = <job_id>
}
]}
packaging {
exportFile = ''
}
}
The job export works with any job type.
-
id (mandatory)
- The variable id on Data Fabric to export.
- type: int
- default: 0
-
exportFile
- The name of the archive that will be created. The file name will be
exportFile.zip. If the target property is set, the file will be created in this folder. - type: string
- default:
- The name of the archive that will be created. The file name will be
saagie {
server {...}
variables {[
{
id = 666
}
]}
packaging {
exportFile = 'my-variable-file'
}
}
saagie {
server {...}
variables {[
{
id = 666
},
{
idFile = './my-id-file.id'
}
]}
packaging {
exportFile = 'my-variable-file'
}
}
- List jobs
- Create job (Examples)
- Update job (Examples)
- Export job (Examples)
- Export all jobs (Examples)
- Import job (Examples)
- Import all jobs (Examples)
- Delete Job (Examples)
- Create variable (Examples)
- Update variable (Examples)
- Export variable (Examples)
- Export all variables (Examples)
- Import variables (Examples)
- Run job (Examples)
- Stop job (Examples)