How to Set Firmware Parameters for Cloud Clients in Function Pack by API
Firmware parameters which are not available in the UI for Property Maintenance are to be set in the platform function pack. Then the JSON file is to be sent by PUT request to the employee-hub-service API.
Attention:
All these changes will be overwritten with next regular FP update. This means that all such changes should be persisted in the project repository during customization so the next deployment will contain such changes as well.
After the change, you need to register the JSON file according to the steps in this guide; see next chapter.
Example of JSON File
{
"id": "opos-installation",
"executionMetadata": {
"functionType": "UI5",
"url": "$SERVER_URL/launchpad-apps/ui5-functions/software-provisioning/installation/",
"applicationId": "com.gk_software.gkr.software-provisioning.installation"
},
"parameters": {
"resourcesPath": "SoftwarePackage",
"systemType": "GKR-OPOS-CLOUD",
"defaultNodeName": "POS Client",
"applicationVersion": "v5.23.0",
"stationKeyDsgUrl": "",
"clientType": "opos-cloud",
"lifeSpan": "14400",
"maxUsageCount": "2",
"flowservicePort": "3050",
"keyStoreType": "PKCS12, JKS",
"minPasswordLength": "6",
"rcsSystemType": "GKR-Resource-Cache-Service"
},
"tags": [
"Platform",
"Installation & Update",
"Software provisioning"
],
"caption": "${opos-installation.caption}",
"description": "${opos-installation.description}",
"iconUrl": "$SERVER_URL/launchpad-apps/ui5-functions/software-provisioning/installation/icon/installation.svg"
}