Skip to content

Modified way sub projects are determined from activityData to componentType attribute.#162

Merged
nichollsdave merged 1 commit intoblackducksoftware:masterfrom
nichollsdave:master
Apr 20, 2021
Merged

Modified way sub projects are determined from activityData to componentType attribute.#162
nichollsdave merged 1 commit intoblackducksoftware:masterfrom
nichollsdave:master

Conversation

@nichollsdave
Copy link
Collaborator

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.

… 0.0.56 to ensure the correct request header to obtain componentType
@nichollsdave nichollsdave merged commit fbbd51b into blackducksoftware:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant