Conversation
There was a problem hiding this comment.
the method IsInternalNpmComponent still checks by the old way, it also needs to be updated to use the new way
There was a problem hiding this comment.
UT does not look to be updated
|
@ragavareddychalapala : Please also provide a screen shot of all the UT and IT passing |
There was a problem hiding this comment.
IsInternalPythonComponent not updated to the latest logic
| nameVerison = aqlResultList.FirstOrDefault(x => x.properties.Any(p => p.key == "pypi.normalized.name" && p.value == name) && x.properties.Any(p => p.key == "pypi.version" && p.value == version))?.Name ?? string.Empty; | ||
| if (string.IsNullOrEmpty(nameVerison)) | ||
| { | ||
| jfrogcomponentName = $"{name}_{version}"; |
There was a problem hiding this comment.
is this required as the search is now done on the name and not a combination of both
There was a problem hiding this comment.
do we need to do this twice
if (string.IsNullOrEmpty(nameVerison))
{
jfrogcomponentName = $"{name}_{version}";
nameVerison = aqlResultList.FirstOrDefault(x => x.properties.Any(p => p.key == "pypi.normalized.name" && p.value == name) && x.properties.Any(p => p.key == "pypi.version" && p.value == version))?.Name ?? string.Empty;
}
| string jfrogRepoPath = Dataconstant.JfrogRepoPathNotFound; | ||
| string repoName = GetArtifactoryRepoName(aqlResultList, component, bomhelper, out jfrogPackageNameWhlExten, out jfrogRepoPath); | ||
| string jfrogpackageName = $"{component.Name}-{component.Version}"; | ||
| var hashes = aqlResultList.FirstOrDefault(x => x.Name.Contains( |
There was a problem hiding this comment.
search still done in the old way
| { | ||
| // Arrange | ||
| Mock<ICycloneDXBomParser> cycloneDXBomParser = new Mock<ICycloneDXBomParser>(); | ||
| AqlProperty property1 = new AqlProperty |
There was a problem hiding this comment.
please give valid variable names
| { | ||
| // Arrange | ||
| Mock<ICycloneDXBomParser> cycloneDXBomParser = new Mock<ICycloneDXBomParser>(); | ||
| AqlProperty property1 = new AqlProperty |
There was a problem hiding this comment.
please provide a valid variable data name
Bug fixes:
CATool not able to Identify few Python packages which are already present in the JFROG.
CATool not able to Identify few Npm packages which are already present in the JFROG.
CATool not able to Identify few of the NPM packages exact names