checkExistNodes function

Future checkExistNodes()

check indicator nodes whether exist or not geiger score node which is created by indicator

Implementation

Future checkExistNodes() async {



  await isExistParentNode(Types.userScoreNodePath);
  await isExistParentNode(Types.deviceScoreNodePath);
  await isExistParentNode(Types.enterpriseScoreNodePath);

  await getExistScoreNodes(Types.userScoreNodePath, Types.geigerScoreUser,Types.users);
  await getExistScoreNodes(Types.deviceScoreNodePath, Types.geigerScoreDevice,Types.devices);

  await getExistScoreNodes(Types.userScoreNodePath, Types.recommendations,Types.users);
  await getExistScoreNodes(Types.deviceScoreNodePath, Types.recommendations,Types.devices);

  await getExistScoreNodes(Types.userScoreNodePath, Types.geigerScoreAggregate,Types.users);
  await getExistScoreNodes(Types.enterpriseScoreNodePath,Types.geigerScoreMSE,'');
}