mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-21 08:39:42 +01:00
Removed unneeded params for index
This commit is contained in:
@@ -131,16 +131,16 @@ class Application @Inject() (
|
|||||||
Logger.debug("footprint: "+ObjectGraphMeasurer.measure((vulnerableDependencies, allWarnings, groupedDependencies)))
|
Logger.debug("footprint: "+ObjectGraphMeasurer.measure((vulnerableDependencies, allWarnings, groupedDependencies)))
|
||||||
//Logger.debug("footprint: "+ObjectGraphMeasurer.measure(Array((vulnerableDependencies, allWarnings, groupedDependencies))))*/
|
//Logger.debug("footprint: "+ObjectGraphMeasurer.measure(Array((vulnerableDependencies, allWarnings, groupedDependencies))))*/
|
||||||
Ok(views.html.index(
|
Ok(views.html.index(
|
||||||
vulnerableDependencies = vulnerableDependencies,
|
//vulnerableDependencies = vulnerableDependencies,
|
||||||
warnings = allWarnings,
|
warnings = allWarnings,
|
||||||
librariesForTagsWithWarning = librariesForTagsWithWarning,
|
//librariesForTagsWithWarning = librariesForTagsWithWarning,
|
||||||
unclassifiedDependencies = unclassifiedDependencies,
|
//unclassifiedDependencies = unclassifiedDependencies,
|
||||||
groupedDependencies = groupedDependencies,
|
//groupedDependencies = groupedDependencies,
|
||||||
dependenciesForLibraries = groupedDependencies.flatMap(group =>
|
/*dependenciesForLibraries = groupedDependencies.flatMap(group =>
|
||||||
group.identifiers.flatMap(_.toLibraryIdentifierOption).map(_ -> group)
|
group.identifiers.flatMap(_.toLibraryIdentifierOption).map(_ -> group)
|
||||||
).groupBy(_._1).mapValues(_.map(_._2).toSet).map(identity),
|
).groupBy(_._1).mapValues(_.map(_._2).toSet).map(identity),*/
|
||||||
allTags = allTags,
|
//allTags = allTags,
|
||||||
relatedDependenciesTags = relatedDependenciesTags,
|
//relatedDependenciesTags = relatedDependenciesTags,
|
||||||
lastRefreshTime = lastRefreshTime,
|
lastRefreshTime = lastRefreshTime,
|
||||||
versions = requiredVersions
|
versions = requiredVersions
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
@(
|
@(
|
||||||
vulnerableDependencies: Seq[GroupedDependency],
|
//vulnerableDependencies: Seq[GroupedDependency],
|
||||||
unclassifiedDependencies: Seq[(Int, Library)],
|
//unclassifiedDependencies: Seq[(Int, Library)],
|
||||||
warnings: Seq[Warning],
|
warnings: Seq[Warning],
|
||||||
groupedDependencies: Seq[GroupedDependency],
|
//groupedDependencies: Seq[GroupedDependency],
|
||||||
dependenciesForLibraries: Map[PlainLibraryIdentifier, Set[GroupedDependency]],
|
//dependenciesForLibraries: Map[PlainLibraryIdentifier, Set[GroupedDependency]],
|
||||||
allTags: Seq[(Int, LibraryTag)],
|
//allTags: Seq[(Int, LibraryTag)],
|
||||||
relatedDependenciesTags: Map[Int, Set[LibraryTagAssignment]],
|
//relatedDependenciesTags: Map[Int, Set[LibraryTagAssignment]],
|
||||||
librariesForTagsWithWarning: SortedMap[(Int, LibraryTag), Seq[(Int, Library)]],
|
//librariesForTagsWithWarning: SortedMap[(Int, LibraryTag), Seq[(Int, Library)]],
|
||||||
lastRefreshTime: DateTime,
|
lastRefreshTime: DateTime,
|
||||||
versions: Map[String, Int]
|
versions: Map[String, Int]
|
||||||
)(implicit req: DefaultRequest, snoozes: SnoozesInfo , messages: Messages)
|
)(implicit req: DefaultRequest, snoozes: SnoozesInfo , messages: Messages)
|
||||||
|
|||||||
Reference in New Issue
Block a user