viadee / nexus-x-ray

Data analysis tooling - What is my nexus server actually doing?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nexus X-Ray

alt text

The goal of this project is to analyze an existing Sonatype Nexus installation, in order to identify projects or artifacts with high disk usage. The Nexus admin interface is regularly insufficient to attribute a sudden increase of disk usage to a particular project or person. We try to provide a solution here.

It comes with a command-line interface (a small java application) which scans target paths. A .csv file is then generated and can be visualized easily with the tools of your choice or with the given R code and diagram templates.

Hint: It is particularly difficult to estimate the size of the docker files involved, since these appear to be more or less unrelated without access to the Nexus database. We join them together based on their date of creation, which should be working reasonably, unless you receive docker images on a scale of seconds.

Setup

Building this project requires Maven to be installed. Simply call mvn install to package and install a fat-jar that can be used on the target machine.

Dependencies

All dependencies for the CLI are given with the included pom.xml. You should install R Studio to create diagrams.

Commitments

This application will remain under an open source licence indefinately.

We follow the semantic versioning scheme (2.0.0).

In the sense of semantic versioning, the resulting CSV-outputs are the only public API provided here. We will keep these as stable as possible, in order to enable users to analyse and integrate results into the toolsets of their choice.

Cooperation

This is a result of the viadee Ship-It-Day (2018) and is hence not actively maintained, unless we find an interested community.

Feel free to report issues, questions, ideas or patches. We are looking forward to it.

Licenses

Currently we use the following third-party dependencies:

BSD 3-Clause License

Copyright (c) 2018, viadee IT-Unternehmensberatung AG All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Data analysis tooling - What is my nexus server actually doing?

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 83.0%Language:Shell 13.7%Language:R 3.3%