Skip to content

5.1.0 to 5.1.1

This document explains what configuration changes MUST be performed during a PunchPlatform update from version 5.1.0 to 5.1.1

Services configuration

If you are using Shiva for scheduling some tenants tasks (services), you have to update your tenants//services//service_structure.json configuration file by replacing old format cmd_file by new format args.

For example:

1
2
3
4
5
6
7
{ 
    "name" : "archives_housekeeping_service", 
    "cmd_file" : "archives_housekeeping_service.sh",
    "cluster" : "common",
    "shiva_runner_tags" : ["standalone"],
    "quartzcron_schedule" : "0 0 * ? * * *"
}

This section must be replaced by the following one:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
    "name" : "archives_housekeeping_service",
    "args" : [
        { "type" : "file", "value" : "archives_housekeeping_service.sh"},
        { "type" : "task_info" }
    ],
    "cluster" : "common",
    "shiva_runner_tags" : ["standalone"],
    "quartzcron_schedule" : "0 0 * ? * * *"
}