Skip to content

LLNL/sonar-driver

Repository files navigation

Sonar Driver

This library contains the logic to drive Sonar, including:

Analysis

Ingestion

Prerequisites

  • python3
  • make

Python library dependencies will be automatically collected from requirements.txt

Install

Assuming you cloned this repo into location SONAR_DRIVER_HOME

1-step install: source install.sourceme

Or, build components separately using:

  1. Run make to create the necessary python virtualenv for this project and pip install it into the virtualenv.

  2. Invoke the virtual environment with source ${SONAR_DRIVER_HOME}/venv/bin/activate

  3. Add ${SONAR_DRIVER_HOME}/bin to PATH to run commands anywhere

Running

The following environment variables may be used by the commands in bin if set:

KAFKA_REST_URL      # e.g. http://sonar8
KAFKA_REST_PORT     # e.g. 8083
CQLSH_HOST          # e.g. sonar8
CQLSH_PORT          # e.g. 9042
ZOOKEEPER_HOST      # e.g. sonar8
ZOOKEEPER_PORT      # e.g. 2181

License

sonar-driver is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.

All new contributions must be made under both the MIT and Apache-2.0 licenses.

See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.

LLNL-CODE-763876

About

Utility for LLNL's Sonar infrastructure

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published