Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training
Powered By GitBook
Addons Installation
This section discuss the addons install/upgrade/downgrade/uninstall

Publish Version

We support both dependencies and editors coming from the the addon.config.json file in a new section called “PublishConfig”.
This section will be sent by the api of publish addon version and will be added as is to the version entry to the column PublishConfig.
PublishConfig format:
1
"PublishConfig":
2
{
3
"Editors":[
4
{
5
"ParentPackageName": "Automated Jobs",
6
"PackageName": "scheduler?view=jobs",
7
"Description": "Scheduled Jobs"
8
},
9
{
10
"ParentPackageName": "Automated Jobs",
11
"PackageName": "scheduler?view=executions",
12
"Description": "Execution Log"
13
},
14
...
15
],
16
17
"Dependencies":{
18
"papi":"9.5.296",
19
"cpapi":"V121",
20
"webapp":"16.41.34",
21
"data_views":"0.0.10"
22
}
23
}
Copied!

In installation/upgrade/downgrade

Dependencies:

Before starting install/upgrade/downgrade the dependencies will be checked as follows:
every addon in the list with a version will be compared with its creation date against the installed addon version with its name - only if the version creationDateTime is >= it will continue, otherwise, error.

Only the following names are supported in the dependencies section:

    papi
    cpapi
    webapp
    data_views
    adal
    pepperi_elastic_search
    import_export_atd
    pns
**other addons not supported as dependencies

Editors:

In the installation/upgrade/downgrade callback function, if the operation ended with success=true we take the “Editors” section from the version PublishConfig field and add it to the system data of the installed addon.
Last modified 5mo ago