feat(REST): New endpoint split components. #2007
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: #1975
Suggest Reviewer
How To Test?
{
"targetComponent": {
"id": "7cefb12b95c34ba1b6344b7cc4049179",
"rev": "1-cd3b83c14b51c200bb25b88e88c6931b",
"type": "component",
"name": "Deemo comp 4",
"description": "",
"attachments": [],
"createdOn": "2023-05-17",
"componentType": "CODE_SNIPPET",
"createdBy": "admin@sw360.org",
"subscribers": [],
"moderators": [],
"componentOwner": "",
"ownerAccountingUnit": "",
"ownerGroup": "",
"ownerCountry": "",
"roles": {},
"visbility": "EVERYONE",
"businessUnit": "DEPARTMENT",
"externalIds": {},
"additionalData": {},
"releaseIds": [],
"mainLicenseIds": [],
"defaultVendorId": "",
"categories": [
"virtual-machine"
],
"languages": [],
"softwarePlatforms": [],
"operatingSystems": [],
"vendorNames": [],
"homepage": "",
"mailinglist": "",
"wiki": "",
"blog": "",
"modifiedBy": "",
"modifiedOn": ""
},
"srcComponent": {
"id": "99ab81a8e8cc45f3bee1ba6f0f928a2a",
"rev": "1-cd3b83c14b51c200bb25b88e88c6931b",
"type": "component",
"name": "Deemo comp 4",
"description": "",
"attachments": [],
"createdOn": "2023-05-17",
"componentType": "CODE_SNIPPET",
"createdBy": "admin@sw360.org",
"subscribers": [],
"moderators": [],
"componentOwner": "",
"ownerAccountingUnit": "",
"ownerGroup": "",
"ownerCountry": "",
"roles": {},
"visbility": "EVERYONE",
"businessUnit": "DEPARTMENT",
"externalIds": {},
"additionalData": {},
"releaseIds": [],
"mainLicenseIds": [],
"defaultVendorId": "",
"categories": [
"virtual-machine"
],
"languages": [],
"softwarePlatforms": [],
"operatingSystems": [],
"vendorNames": [],
"homepage": "",
"mailinglist": "",
"wiki": "",
"blog": "",
"modifiedBy": "",
"modifiedOn": ""
}
}
Screenshot: