How to update an app to a new version - kwantu/platformconfiguration GitHub Wiki
Steps:
- Open config_1_(Data Object ) file
- Save this file as config_2_(Data Object ).entry.atom
- Update the field to config_2_(Data Object )
- Make your version changes.
Steps:
- GET
https://staging.kwantu.net/kwantu_configs/applicationConfig_(uuid):(current version) - Update the
“_id”field to use the new version.“_id”: "applicationConfig_(uuid):(new version) - For each data object you updated, change their version to the new version under
“indicators”. “version”:(new version) - PUT
https://staging.kwantu.net/kwantu_configs/applicationConfig_(uuid):(new version)with the updated config.
Steps:
- GET
https://staging.kwantu.net/kwantu_configs/(uuid):(current version):processDefinition - Update the
“_id”field to use the new version.“_id”: "(uuid):(new version):processDefinition - Update the
“version”field to use the new version.“version(new version) - PUT
https://staging.kwantu.net/kwantu_configs/(uuid):(new version):processDefinitionwith the updated config.
Steps:
- GET
https://staging.kwantu.net/kwantu_configs/community_(uuid) - For the app you’re updating, find
“version”and update to the new version.“version”:(new version) - PUT
https://staging.kwantu.net/kwantu_configs/community_(uuid)with the updated config.
Note: The “adoptionProfile” field will be needed from this file for the App Adoption File
Steps:
- GET
https://staging.kwantu.net/kwantu_configs/adoption:(adoptionProfile) - Find the
“version”field and update to the new version.“version”:(new version) - PUT
https://staging.kwantu.net/kwantu_configs/adoption:(adoptionProfile)with the updated config.
Steps: For each Data Object that was updated:
- GET
https://staging.kwantu.net/exist/rest/db/kwantu-resource/api/rest/serializeIndicatorTemplatesToCouch.xql?communityId=(Community Id)&appId=(App Id)&id=(Data Object <Id>)&lang=en
Finally, ask Willem to update indexes.