-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from siemens/Python_forSw360CompCreator
Python for sw360 comp creator
- Loading branch information
Showing
39 changed files
with
1,843 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ name: Build & Test | |
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "30 0 * * 5" | ||
|
||
|
||
jobs: | ||
|
||
|
@@ -49,9 +48,9 @@ jobs: | |
echo "SemVerMMP: v$($env:GitVersion_MajorMinorPatch)" | ||
Write-Host "Filename: '$fileName'" | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
uses: microsoft/[email protected] | ||
|
||
|
||
- name: update appSettingsSW360IntegrationTest.json | ||
run: ./Scripts/json_update.ps1 -JsonFile 'src\TestUtilities\appSettingsSW360IntegrationTest.json' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
252 changes: 252 additions & 0 deletions
252
TestFiles/IntegrationTestFiles/ArtifactoryUploaderTestData/PythonComparisonBOM.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,252 @@ | ||
{ | ||
"BomFormat": "CycloneDX", | ||
"SpecVersion": 4, | ||
"SpecVersionString": "1.4", | ||
"SerialNumber": null, | ||
"Version": null, | ||
"Metadata": { | ||
"Tools": [ | ||
{ | ||
"Vendor": "Siemens AG", | ||
"Name": "Clearing Automation Tool", | ||
"Version": "3.1.0", | ||
"Hashes": null | ||
} | ||
], | ||
"Authors": null, | ||
"Component": null, | ||
"Manufacture": null, | ||
"Supplier": null | ||
}, | ||
"Components": [ | ||
{ | ||
"Type": 0, | ||
"MimeType": null, | ||
"BomRef": "pkg:pypi/[email protected]", | ||
"Supplier": null, | ||
"Author": null, | ||
"Publisher": null, | ||
"Group": null, | ||
"Name": "html5lib", | ||
"Version": "1.1", | ||
"Description": "", | ||
"Scope": null, | ||
"Hashes": null, | ||
"Licenses": null, | ||
"Copyright": null, | ||
"Cpe": null, | ||
"Purl": "pkg:pypi/[email protected]", | ||
"Swid": null, | ||
"Modified": null, | ||
"Pedigree": null, | ||
"Components": null, | ||
"Properties": [ | ||
{ | ||
"Name": "internal:siemens:clearing:development", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:identifier-type", | ||
"Value": "ManuallyAdded" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:is-internal", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:repo-url", | ||
"Value": "org1-pythonhosted-pypi-remote-cache" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:project-type", | ||
"Value": "PYTHON" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:clearing-state", | ||
"Value": "Approved" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:sw360:release-url", | ||
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/f697515c180646c3b8b9b70ce6f2a2d8" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:fossology:url", | ||
"Value": null | ||
} | ||
], | ||
"Evidence": null | ||
}, | ||
{ | ||
"Type": 0, | ||
"MimeType": null, | ||
"BomRef": "pkg:pypi/[email protected]", | ||
"Supplier": null, | ||
"Author": null, | ||
"Publisher": null, | ||
"Group": null, | ||
"Name": "attrs", | ||
"Version": "22.1.0", | ||
"Description": "", | ||
"Scope": null, | ||
"Hashes": null, | ||
"Licenses": null, | ||
"Copyright": null, | ||
"Cpe": null, | ||
"Purl": "pkg:pypi/[email protected]", | ||
"Swid": null, | ||
"Modified": null, | ||
"Pedigree": null, | ||
"Components": null, | ||
"Properties": [ | ||
{ | ||
"Name": "internal:siemens:clearing:development", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:identifier-type", | ||
"Value": "ManuallyAdded" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:is-internal", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:repo-url", | ||
"Value": "Not Found in JFrogRepo" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:project-type", | ||
"Value": "PYTHON" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:clearing-state", | ||
"Value": "Approved" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:sw360:release-url", | ||
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/37fcf2d0725a46b8b777c849111e9be4" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:fossology:url", | ||
"Value": null | ||
} | ||
], | ||
"Evidence": null | ||
}, | ||
{ | ||
"Type": 0, | ||
"MimeType": null, | ||
"BomRef": "pkg:pypi/[email protected]", | ||
"Supplier": null, | ||
"Author": null, | ||
"Publisher": null, | ||
"Group": null, | ||
"Name": "beautifulsoup4", | ||
"Version": "4.11.1", | ||
"Description": "", | ||
"Scope": null, | ||
"Hashes": null, | ||
"Licenses": null, | ||
"Copyright": null, | ||
"Cpe": null, | ||
"Purl": "pkg:pypi/[email protected]", | ||
"Swid": null, | ||
"Modified": null, | ||
"Pedigree": null, | ||
"Components": null, | ||
"Properties": [ | ||
{ | ||
"Name": "internal:siemens:clearing:development", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:identifier-type", | ||
"Value": "ManuallyAdded" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:is-internal", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:repo-url", | ||
"Value": "org1-pythonhosted-pypi-remote-cache" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:project-type", | ||
"Value": "PYTHON" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:clearing-state", | ||
"Value": "Approved" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:sw360:release-url", | ||
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/4b92d5ac32f84d43a82f2c2c57771e6d" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:fossology:url", | ||
"Value": null | ||
} | ||
], | ||
"Evidence": null | ||
}, | ||
{ | ||
"Type": 0, | ||
"MimeType": null, | ||
"BomRef": "pkg:pypi/[email protected]", | ||
"Supplier": null, | ||
"Author": null, | ||
"Publisher": null, | ||
"Group": null, | ||
"Name": "cachy", | ||
"Version": "0.3.0", | ||
"Description": "", | ||
"Scope": null, | ||
"Hashes": null, | ||
"Licenses": null, | ||
"Copyright": null, | ||
"Cpe": null, | ||
"Purl": "pkg:pypi/[email protected]", | ||
"Swid": null, | ||
"Modified": null, | ||
"Pedigree": null, | ||
"Components": null, | ||
"Properties": [ | ||
{ | ||
"Name": "internal:siemens:clearing:development", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:identifier-type", | ||
"Value": "ManuallyAdded" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:is-internal", | ||
"Value": "false" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:repo-url", | ||
"Value": "org1-pythonhosted-pypi-remote-cache" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:project-type", | ||
"Value": "PYTHON" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:clearing-state", | ||
"Value": "Approved" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:sw360:release-url", | ||
"Value": "http://md2pdvnc.ad001.siemens.net:8095/resource/api/releases/cece81ace4b14374af2432067bca5fb2" | ||
}, | ||
{ | ||
"Name": "internal:siemens:clearing:fossology:url", | ||
"Value": null | ||
} | ||
], | ||
"Evidence": null | ||
} | ||
], | ||
"Compositions": null | ||
} |
Oops, something went wrong.