From f27a056c37fbb887f6b919dad7ffe6ae31483ccb Mon Sep 17 00:00:00 2001 From: sumanthkb44 <84563853+sumanthkb44@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:25:45 +0530 Subject: [PATCH] Update appSettings.json --- src/LCT.Common/appSettings.json | 115 ++++++++++++++++++++++---------- 1 file changed, 80 insertions(+), 35 deletions(-) diff --git a/src/LCT.Common/appSettings.json b/src/LCT.Common/appSettings.json index f3aa2960..10a8d452 100644 --- a/src/LCT.Common/appSettings.json +++ b/src/LCT.Common/appSettings.json @@ -6,34 +6,48 @@ { "CaVersion": "", - "TimeOut": 200, + "TimeOut": 400, "ProjectType": "", - "SW360ProjectName": "", - "SW360ProjectID": "", - "Sw360AuthTokenType": "Bearer", - "Sw360Token": "", - "SW360URL": "", - "Fossologyurl": "", - "JFrogApi": "", - "PackageFilePath": "/PathToInputDirectory", //For Docker run set as /mnt/Input - "BomFolderPath": "/PathToOutputDirectory", //For Docker run set as /mnt/Output - "BomFilePath": "/PathToOutputDirectory/_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": "", //This should be Jfrog Ref Token - "ArtifactoryUploadUser": "", //This should be Jfrog user name & it is optional "Release": false, - "RemoveDevDependency": true, - "EnableFossTrigger": true, - "InternalRepoList": [ - "", //This should be the internal repo names in JFrog for NPM - "" //This should be the internal repo names in JFrog for Nuget - ], + "SW360Settings": { + "SW360URL": "", + "SW360ProjectName": "", + "SW360ProjectID": "", + "Sw360AuthTokenType": "", + "Sw360Token": "", + "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/_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": "", + "ArtifactoryUploadApiKey": "", + "ArtifactoryUploadUser": "",//Optional + "InternalRepoList": [ + "",//This should be the internal repo names in JFrog for NPM + "",//This should be the internal repo names in JFrog for Nuget + "",//This should be the internal repo names in JFrog for Debian + "",//This should be the internal repo names in JFrog for Pypi + "",//This should be the internal repo names in JFrog for Conan + "",//This should be the internal repo names in JFrog for Maven + ""//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": [ "", //This is a mirror repo for npm registry in JFrog "", //This should be the release repo in JFrog @@ -45,7 +59,11 @@ "ExcludedComponents": [] }, "Nuget": { - "Include": [ "packages.config", "p*.assets.json", "*.cdx.json" ], + "Include": [ + "packages.config", + "p*.assets.json", + "*.cdx.json" + ], "Exclude": [], "JfrogNugetRepoList": [ "", //This is a mirror repo for nuget.org in JFrog @@ -58,7 +76,9 @@ "ExcludedComponents": [] }, "Maven": { - "Include": [ "*.cdx.json" ], + "Include": [ + "*.cdx.json" + ], "Exclude": [], "JfrogMavenRepoList": [ "", //This is a mirror repo for repo.maven in JFrog @@ -68,28 +88,50 @@ "JfrogThirdPartyDestRepoName": "", "JfrogInternalDestRepoName": "", "JfrogDevDestRepoName": "", - "DevDependentScopeList": [ "test" ], + "DevDependentScopeList": [ + "test" + ], "ExcludedComponents": [] }, "Debian": { - "Include": [ "*.cdx.json" ], + "Include": [ + "*.cdx.json" + ], "Exclude": [], "JfrogDebianRepoList": [ - "" //This is a mirror repo for debian registry in JFrog + "",//This is a mirror repo for debian in JFrog + "",//This is a mirror repo for debian in JFrog + ""//This is a mirror repo for debian in JFrog ], + "JfrogThirdPartyDestRepoName": "", + "JfrogInternalDestRepoName": "", + "JfrogDevDestRepoName": "", "ExcludedComponents": [] }, "Alpine": { - "Include": [ "*.cdx.json" ], + "Include": [ + "*.cdx.json" + ], "Exclude": [], + "JfrogDebianRepoList": [ + "",//This is a mirror repo for alpine in JFrog + "",//This is a mirror repo for alpine in JFrog + ""//This is a mirror repo for alpine in JFrog + ], + "JfrogThirdPartyDestRepoName": "", + "JfrogInternalDestRepoName": "", + "JfrogDevDestRepoName": "", "ExcludedComponents": [] }, "Python": { - "Include": [ "poetry.lock", "*.cdx.json" ], + "Include": [ + "poetry.lock", + "*.cdx.json" + ], "Exclude": [], "JfrogPythonRepoList": [ "", //This is a mirror repo for pypi in JFrog - "", //This should be the release pypi in JFrog + "", //This should be the release for pypi in JFrog "" //This should be the development dependency repo in JFrog ], "JfrogThirdPartyDestRepoName": "", @@ -98,11 +140,14 @@ "ExcludedComponents": [] }, "Conan": { - "Include": [ "conan.lock" ], + "Include": [ + "conan.lock", + "*.cdx.json" + ], "Exclude": [], "JfrogConanRepoList": [ "", //This is a mirror repo for conan in JFrog - "", //This should be the release repo in JFrog + "", //This should be the release repo for conan in JFrog "" //This should be the development dependency repo in JFrog ], "JfrogThirdPartyDestRepoName": "",