-
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.
- Loading branch information
1 parent
a4adde0
commit 1bd036a
Showing
1 changed file
with
124 additions
and
76 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 |
---|---|---|
|
@@ -13,31 +13,23 @@ | |
"ProjectID": "<Insert SW360 Project Id>", | ||
"AuthTokenType": "<Insert SW360TokenType>", | ||
"Token": "<Insert SW360Token>", | ||
"Fossology": { | ||
"Fossology": | ||
{ | ||
"URL": "<Insert Fossologyurl>", | ||
"EnableTrigger": true, | ||
"EnableTrigger": true | ||
}, | ||
"IgnoreDevDependency": true, | ||
"ExcludeComponents" :[""] | ||
"ExcludeComponents" :[""] //Examples pkg:npm/[email protected] or foobar:12.3.1,foobar:12.*,foobar:* | ||
}, | ||
"Directory": { | ||
"InputFolder": "/PathToInputDirectory", //Input File path. For Docker run set as /mnt/Input | ||
"OutputFolder": "/PathToOutputDirectory", //Output Bom Folder path. For Docker run set as /mnt/Output | ||
"BomFilePath": /<OutputFolder>/<SW360 Project Name>_Bom.cdx.json //For multiple project type | ||
"BomFilePath": "/<OutputFolder>/<SW360 Project Name>_Bom.cdx.json" //For multiple project type | ||
}, | ||
"Jfrog": { | ||
"URL": "<Insert JFrogURL>", | ||
"Token": "<Insert ArtifactoryUpload>", | ||
"DryRun": false, | ||
"InternalRepoList": [ | ||
|
||
"<Nuget Internal Repo Names>",//This should be the internal repo names in JFrog for Nuget | ||
"<Debian Internal Repo Names>",//This should be the internal repo names in JFrog for Debian | ||
"<Pypi Internal Repo Names>",//This should be the internal repo names in JFrog for Pypi | ||
"<Conan Internal Repo Names>",//This should be the internal repo names in JFrog for Conan | ||
"<Maven Internal Repo Names>",//This should be the internal repo names in JFrog for Maven | ||
"<Alpine Internal Repo Names>"//This should be the internal repo names in JFrog for Alpine | ||
] | ||
"DryRun": false | ||
}, | ||
"Npm": { | ||
"Include": [ | ||
|
@@ -51,7 +43,7 @@ | |
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "siparty-release-npm-egll", | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
|
@@ -64,9 +56,8 @@ | |
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Internal NpmDestRepoName>", | ||
"DevDepRepo": "<Insert Dev NpmDestRepoName>", | ||
} | ||
"ReleaseRepo": "<Insert Npm Release RepoName>", | ||
"DevDepRepo": "<Insert Npm DevDep RepoName>" | ||
}, | ||
"Nuget": { | ||
"Include": [ | ||
|
@@ -75,94 +66,151 @@ | |
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogNugetRepoList": [ | ||
"<Nuget Remote Cache Repo Name>", //This is a mirror repo for nuget.org in JFrog | ||
"<Nuget Release Repo Name>", //This should be the release repo in JFrog | ||
"<Nuget DevDep Repo Name>" //This should be the development dependency repo in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party NugetDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal NugetDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev NugetDestRepoName>", | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Nuget Release RepoName>", | ||
"DevDepRepo": "<Insert Nuget DevDep RepoName>" | ||
}, | ||
"Maven": { | ||
"Include": [ | ||
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogMavenRepoList": [ | ||
"<Maven Remote Cache Repo Name>", //This is a mirror repo for repo.maven in JFrog | ||
"<Maven Release Repo Name>", //This should be the release repo.maven in JFrog | ||
"<Maven DevDep Repo Name>" //This should be the development dependency repo in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party MavenDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal MavenDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev MavenDestRepoName>", | ||
"DevDependentScopeList": [ | ||
"test" | ||
], | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Maven Release RepoName>", | ||
"DevDepRepo": "<Insert Maven DevDep RepoName>" | ||
}, | ||
"Debian": { | ||
"Include": [ | ||
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogDebianRepoList": [ | ||
"<Debian Remote Cache Repo Name>",//This is a mirror repo for debian in JFrog | ||
"<Debian Release Repo Name>",//This is a mirror repo for debian in JFrog | ||
"<Debian DevDep Repo Name>"//This is a mirror repo for debian in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party DebianDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal DebianDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev DebianDestRepoName>", | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Debian Release RepoName>", | ||
"DevDepRepo": "<Insert Debian DevDep RepoName>" | ||
}, | ||
"Alpine": { | ||
"Include": [ | ||
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogDebianRepoList": [ | ||
"<Alpine Remote Cache Repo Name>",//This is a mirror repo for alpine in JFrog | ||
"<Alpine Release Repo Name>",//This is a mirror repo for alpine in JFrog | ||
"<Alpine DevDep Repo Name>"//This is a mirror repo for alpine in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party AlpineDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal AlpineDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev AlpineDestRepoName>", | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Alpine Release RepoName>", | ||
"DevDepRepo": "<Insert Alpine DevDep RepoName>" | ||
}, | ||
"poetry": { | ||
"Poetry": { | ||
"Include": [ | ||
"poetry.lock", | ||
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogPythonRepoList": [ | ||
"<Python Remote Cache Repo Name>", //This is a mirror repo for pypi in JFrog | ||
"<Python Release Repo Name>", //This should be the release for pypi in JFrog | ||
"<Python DevDep Repo Name>" //This should be the development dependency repo in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party PythonDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal PythonDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev PythonDestRepoName>", | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Poetry Release RepoName>", | ||
"DevDepRepo": "<Insert Poetry DevDep RepoName>" | ||
}, | ||
"Conan": { | ||
"Include": [ | ||
"conan.lock", | ||
"*.cdx.json" | ||
], | ||
"Exclude": [], | ||
"JfrogConanRepoList": [ | ||
"<Conan Remote Cache Repo Name>", //This is a mirror repo for conan in JFrog | ||
"<Conan Release Repo Name>", //This should be the release repo for conan in JFrog | ||
"<Conan DevDep Repo Name>" //This should be the development dependency repo in JFrog | ||
], | ||
"JfrogThirdPartyDestRepoName": "<Insert third party ConanDestRepoName>", | ||
"JfrogInternalDestRepoName": "<Insert Internal ConanDestRepoName>", | ||
"JfrogDevDestRepoName": "<Insert Dev ConanDestRepoName>", | ||
"ExcludedComponents": [] | ||
"Artifactory": | ||
{ | ||
"ThirdPartyRepos": [ | ||
{ | ||
"Name": "", | ||
"Upload" :true | ||
} | ||
], | ||
"DevRepos": [ | ||
"", | ||
"" | ||
], | ||
"RemoteRepos": [ | ||
"", | ||
"" | ||
] | ||
}, | ||
"ReleaseRepo": "<Insert Conan Release RepoName>", | ||
"DevDepRepo": "<Insert Conan DevDep RepoName>" | ||
} | ||
} |