Skip to content

Commit

Permalink
Update appSettings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthkb44 authored Dec 17, 2024
1 parent 8f68d69 commit f27a056
Showing 1 changed file with 80 additions and 35 deletions.
115 changes: 80 additions & 35 deletions src/LCT.Common/appSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,48 @@

{
"CaVersion": "",
"TimeOut": 200,
"TimeOut": 400,
"ProjectType": "<Insert ProjectType>",
"SW360ProjectName": "<Insert SW360 Project Name>",
"SW360ProjectID": "<Insert SW360 Project Id>",
"Sw360AuthTokenType": "Bearer",
"Sw360Token": "<Insert SW360Token>",
"SW360URL": "<Insert SW360URL>",
"Fossologyurl": "<Insert Fossologyurl>",
"JFrogApi": "<Insert JFrogApi>",
"PackageFilePath": "/PathToInputDirectory", //For Docker run set as /mnt/Input
"BomFolderPath": "/PathToOutputDirectory", //For Docker run set as /mnt/Output
"BomFilePath": "/PathToOutputDirectory/<SW360 Project Name>_Bom.cdx.json",
//IdentifierBomFilePath : For multiple project type
"IdentifierBomFilePath": "",
//CycloneDxBomFilePath: For Providing Customer maintained SBOM as input.Can be used along with Packagefilepath or individually
"CycloneDxSBomTemplatePath": "",
"ArtifactoryUploadApiKey": "<Insert ArtifactoryUploadApiKey>", //This should be Jfrog Ref Token
"ArtifactoryUploadUser": "<Insert ArtifactoryUploadUser>", //This should be Jfrog user name & it is optional
"Release": false,
"RemoveDevDependency": true,
"EnableFossTrigger": true,
"InternalRepoList": [
"<Npm Internal Repo Names>", //This should be the internal repo names in JFrog for NPM
"<Nuget Internal Repo Names>" //This should be the internal repo names in JFrog for Nuget
],
"SW360Settings": {
"SW360URL": "<Insert SW360URL>",
"SW360ProjectName": "<Insert SW360 Project Name>",
"SW360ProjectID": "<Insert SW360 Project Id>",
"Sw360AuthTokenType": "<Insert SW360TokenType>",
"Sw360Token": "<Insert SW360Token>",
"Fossologyurl": "<Insert Fossologyurl>",
"EnableFossTrigger": true,
"RemoveDevDependency": true
},
"DirectorySettings": {
"PackageFilePath": "/PathToInputDirectory", //Input File path. For Docker run set as /mnt/Input
"BomFolderPath": "/PathToOutputDirectory", //Output Bom Folder path. For Docker run set as /mnt/Output
"BomFilePath": "/PathToOutputDirectory/<SW360 Project Name>_Bom.cdx.json",
"IdentifierBomFilePath": "", //For multiple project type
"CycloneDxSBomTemplatePath": "" //For Providing Customer maintained SBOM as input.Can be used along with Packagefilepath or individually
},
"JfrogSettings": {
"JFrogApi": "<Insert JFrogApi>",
"ArtifactoryUploadApiKey": "<Insert ArtifactoryUploadApiKey>",
"ArtifactoryUploadUser": "<Insert ArtifactoryUploadUser>",//Optional
"InternalRepoList": [
"<Npm Internal Repo Names>",//This should be the internal repo names in JFrog for NPM
"<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
]
},
"Npm": {
"Include": [ "p*-lock.json", "*.cdx.json" ],
"Exclude": [ "node_modules" ],
"Include": [
"p*-lock.json",
"*.cdx.json"
],
"Exclude": [
"node_modules"
],
"JfrogNpmRepoList": [
"<Npm Remote Cache Repo Name>", //This is a mirror repo for npm registry in JFrog
"<Npm Release Repo Name>", //This should be the release repo in JFrog
Expand All @@ -45,7 +59,11 @@
"ExcludedComponents": []
},
"Nuget": {
"Include": [ "packages.config", "p*.assets.json", "*.cdx.json" ],
"Include": [
"packages.config",
"p*.assets.json",
"*.cdx.json"
],
"Exclude": [],
"JfrogNugetRepoList": [
"<Nuget Remote Cache Repo Name>", //This is a mirror repo for nuget.org in JFrog
Expand All @@ -58,7 +76,9 @@
"ExcludedComponents": []
},
"Maven": {
"Include": [ "*.cdx.json" ],
"Include": [
"*.cdx.json"
],
"Exclude": [],
"JfrogMavenRepoList": [
"<Maven Remote Cache Repo Name>", //This is a mirror repo for repo.maven in JFrog
Expand All @@ -68,28 +88,50 @@
"JfrogThirdPartyDestRepoName": "<Insert third party MavenDestRepoName>",
"JfrogInternalDestRepoName": "<Insert Internal MavenDestRepoName>",
"JfrogDevDestRepoName": "<Insert Dev MavenDestRepoName>",
"DevDependentScopeList": [ "test" ],
"DevDependentScopeList": [
"test"
],
"ExcludedComponents": []
},
"Debian": {
"Include": [ "*.cdx.json" ],
"Include": [
"*.cdx.json"
],
"Exclude": [],
"JfrogDebianRepoList": [
"<Debain Remote Cache Repo Name>" //This is a mirror repo for debian registry in JFrog
"<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": []
},
"Alpine": {
"Include": [ "*.cdx.json" ],
"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": []
},
"Python": {
"Include": [ "poetry.lock", "*.cdx.json" ],
"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 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>",
Expand All @@ -98,11 +140,14 @@
"ExcludedComponents": []
},
"Conan": {
"Include": [ "conan.lock" ],
"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 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>",
Expand Down

0 comments on commit f27a056

Please sign in to comment.