From 1bd036ab35cea7b8251e41485129788ce8a8d03f Mon Sep 17 00:00:00 2001 From: sumanthkb44 <84563853+sumanthkb44@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:54:03 +0530 Subject: [PATCH] Update appSettings.json --- src/LCT.Common/appSettings.json | 200 ++++++++++++++++++++------------ 1 file changed, 124 insertions(+), 76 deletions(-) diff --git a/src/LCT.Common/appSettings.json b/src/LCT.Common/appSettings.json index a94b950e..2b3e0c87 100644 --- a/src/LCT.Common/appSettings.json +++ b/src/LCT.Common/appSettings.json @@ -13,31 +13,23 @@ "ProjectID": "", "AuthTokenType": "", "Token": "", - "Fossology": { + "Fossology": + { "URL": "", - "EnableTrigger": true, + "EnableTrigger": true }, "IgnoreDevDependency": true, - "ExcludeComponents" :[""] + "ExcludeComponents" :[""] //Examples pkg:npm/foobar@12.3.1 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": //_Bom.cdx.json //For multiple project type + "BomFilePath": "//_Bom.cdx.json" //For multiple project type }, "Jfrog": { "URL": "", "Token": "", - "DryRun": false, - "InternalRepoList": [ - - "",//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 - ] + "DryRun": false }, "Npm": { "Include": [ @@ -51,7 +43,7 @@ { "ThirdPartyRepos": [ { - "Name": "siparty-release-npm-egll", + "Name": "", "Upload" :true } ], @@ -64,9 +56,8 @@ "" ] }, - "ReleaseRepo": "", - "DevDepRepo": "", - } + "ReleaseRepo": "", + "DevDepRepo": "" }, "Nuget": { "Include": [ @@ -75,79 +66,126 @@ "*.cdx.json" ], "Exclude": [], - "JfrogNugetRepoList": [ - "", //This is a mirror repo for nuget.org in JFrog - "", //This should be the release repo in JFrog - "" //This should be the development dependency repo in JFrog - ], - "JfrogThirdPartyDestRepoName": "", - "JfrogInternalDestRepoName": "", - "JfrogDevDestRepoName": "", - "ExcludedComponents": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, "Maven": { "Include": [ "*.cdx.json" ], "Exclude": [], - "JfrogMavenRepoList": [ - "", //This is a mirror repo for repo.maven in JFrog - "", //This should be the release repo.maven in JFrog - "" //This should be the development dependency repo in JFrog - ], - "JfrogThirdPartyDestRepoName": "", - "JfrogInternalDestRepoName": "", - "JfrogDevDestRepoName": "", - "DevDependentScopeList": [ - "test" - ], - "ExcludedComponents": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, "Debian": { "Include": [ "*.cdx.json" ], "Exclude": [], - "JfrogDebianRepoList": [ - "",//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": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, "Alpine": { "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": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, - "poetry": { + "Poetry": { "Include": [ "poetry.lock", "*.cdx.json" ], "Exclude": [], - "JfrogPythonRepoList": [ - "", //This is a mirror repo for pypi in JFrog - "", //This should be the release for pypi in JFrog - "" //This should be the development dependency repo in JFrog - ], - "JfrogThirdPartyDestRepoName": "", - "JfrogInternalDestRepoName": "", - "JfrogDevDestRepoName": "", - "ExcludedComponents": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" }, "Conan": { "Include": [ @@ -155,14 +193,24 @@ "*.cdx.json" ], "Exclude": [], - "JfrogConanRepoList": [ - "", //This is a mirror repo for conan in JFrog - "", //This should be the release repo for conan in JFrog - "" //This should be the development dependency repo in JFrog - ], - "JfrogThirdPartyDestRepoName": "", - "JfrogInternalDestRepoName": "", - "JfrogDevDestRepoName": "", - "ExcludedComponents": [] + "Artifactory": + { + "ThirdPartyRepos": [ + { + "Name": "", + "Upload" :true + } + ], + "DevRepos": [ + "", + "" + ], + "RemoteRepos": [ + "", + "" + ] + }, + "ReleaseRepo": "", + "DevDepRepo": "" } }