async processICLChildren()

in source/backend/discovery/src/discovery/discovery-service.js [197:211]


  async processICLChildren(icl, accountId, region, depth, extrasToStore, children){
    if (icl.properties.relationships && icl.properties.relationships.length > 0) {
      let relationShips = JSON.parse(icl.properties.relationships);

      if (relationShips) {
        for (let resource of relationShips) {
          if (!resource.resourceId && resource.resourceName) {
            resource.resourceId = resource.resourceName;
          }

          await this.handleChildResources(resource, accountId, region, depth, extrasToStore, children);
        }
      }
    }
  }