Generate the node results for the performance app - kwantu/platformconfiguration GitHub Wiki
moved to the new wiki
Generate the node results for the performance app
https://staging.kwantu.net/apicall/calculateNodeResults
POST
{
"communityId": "47d38fa8-8959-47b8-92ad-360221592e33",
"profileId": "f84f63f5-ac40-4f5b-c69e-77ec02729b30",
"subprofileId": "d289d307-63c5-4e19-f2eb-e337fff3d5bd"
}
Create node activity processes for old plans where this has not been created: will use default settings
https://staging.kwantu.net/apicall/nodeActivityCreationService
POST
{
"communityId": "75b6528e-f7de-4f84-ab22-8428a20e28a1",
"applicationId": "407b6ee2-c682-41e0-a165-e7d9bc566a31",
"profileId": "1de44ad3-aa89-48de-9ab4-b1d66f3bf19a",
"subprofileId": "e8e17b93-47ec-40ae-8c83-9df83b729f68",
"userId": "38",
"userName": "Kwantu Administrator"
}
Run this service to process all the nodes for a Plan
oxygen:/eXist-db-3.3$kwantu04-staging/db/kwantu-resource/_tools/performanceAppActivateNodesForDashboards.xql
-- Note that these parameters should be set correctly
declare variable $local:host := "https://kwantu.me";
declare variable $local:communityId := '75b6528e-f7de-4f84-ab22-8428a20e28a1';
declare variable $local:applicationId := '407b6ee2-c682-41e0-a165-e7d9bc566a31';
declare variable $local:profileId := 'f17fce3a-5e58-4bf1-e374-58fb4f769ee4';
declare variable $local:userId := '38';
declare variable $local:userName := 'Kwantu Administrator';
declare variable $local:useCouchdb := "kwantu_apps_"||$local:communityId;