mcd

command module
v1.0.3-mcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

MCD - Maven Central Repository Downloader

License

MCD is a microservice that downloads the jar file for a given library from Maven Central Repository.

How it works?

MCD is receiving the list of libraries to download via GRPC. The process is designed as a pipeline.

The libraries should be given respecting the group:artifact:version format. The preparation phase creates the initial download link which is used in the fetch phase to perform the download of the jar file for the library. In case of a failed download, the retry phase constructs a different link and tries to download the library.

Extracting the class names from the jar is done via zipinfo and regular expressions. Finally, all the extracted data is persisted into a Postgres database.

Integration

Libraries are received as input from DTA via GRPC call. After the processing is done by MCD, a call is made to LUA for further analysis.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
protos
mcd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL