NOTE this requires pip blackduck 0.0.56 to ensure the correct request header to obtain componentType e.g. pip install blackduck==0.0.56
It seems the activityData could in some scenarios contain data for sub projects and this broke the previous way this script determined which components were sub projects. There is a componentType attribute that solves the issue as long as a specific request header is sent - this is a public API. See /api-doc/public.html#_listing_bom_components . Switched to using this but it does require the latest blackduck PyPi module.
NOTE this requires pip blackduck 0.0.56 to ensure the correct request header to obtain componentType e.g. pip install blackduck==0.0.56
It seems the activityData could in some scenarios contain data for sub projects and this broke the previous way this script determined which components were sub projects. There is a componentType attribute that solves the issue as long as a specific request header is sent - this is a public API. See/api-doc/public.html#_listing_bom_components . Switched to using this but it does require the latest blackduck PyPi module.