Skip to content

Commit

Permalink
Fix failing tests #858
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Druez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Aug 16, 2023
1 parent b145d0a commit 9e6341f
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 100 deletions.
186 changes: 124 additions & 62 deletions scanpipe/tests/data/d2d/about_files/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -1495,159 +1495,221 @@
],
"relations": [
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/DEPENDENCIES",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/LICENSE",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/MANIFEST.MF",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/maven",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/maven/org.apache.flume",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/maven/org.apache.flume/flume-ng-node",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/maven/org.apache.flume/flume-ng-node/pom.properties",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/META-INF/maven/org.apache.flume/flume-ng-node/pom.xml",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/AbstractConfigurationProvider$ChannelComponent.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/AbstractConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/AbstractZooKeeperConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/Application$1.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/Application.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/EnvVarResolverProperties.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/MaterializedConfiguration.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/PollingPropertiesFileConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/PollingZooKeeperConfigurationProvider$1.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/PollingZooKeeperConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/PropertiesFileConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/SimpleMaterializedConfiguration.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/StaticZooKeeperConfigurationProvider.class",
"map_type": "about_file"
"status": "about-mapped",
"map_type": "about_file",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.ABOUT"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.jar-extract/flume-ng-node-1.9.0-sources.jar-extract",
"to_resource": "to/flume-ng-node-1.9.0.jar",
"map_type": "jar_to_source"
"status": "about-mapped",
"map_type": "jar_to_source",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.jar-extract/flume-ng-node-1.9.0-sources.jar-extract"
},
{
"from_resource": "from/flume-ng-node-1.9.0-sources.jar-extract/flume-ng-node-1.9.0-sources.jar-extract/org/apache/flume/node/ConfigurationProvider.java",
"to_resource": "to/flume-ng-node-1.9.0.jar-extract/org/apache/flume/node/ConfigurationProvider.class",
"map_type": "java_to_class"
"status": "mapped",
"map_type": "java_to_class",
"score": "",
"from_resource": "from/flume-ng-node-1.9.0-sources.jar-extract/flume-ng-node-1.9.0-sources.jar-extract/org/apache/flume/node/ConfigurationProvider.java"
}
]
}
Loading

0 comments on commit 9e6341f

Please # to comment.