BUCK 694 Bytes
COMPILE_DEPS = [
    '//lib:CORE_DEPS',
    '//lib:org.apache.karaf.shell.console',
    '//lib:metrics-influxdb',
    '//lib:influxdb-java',
    '//cli:onos-cli',
]

EXCLUDED_BUNDLES = [
    '//lib:metrics-influxdb',
    '//lib:influxdb-java',
]

TEST_DEPS = [
    '//lib:TEST_ADAPTERS',
]

osgi_jar_with_tests (
    deps = COMPILE_DEPS,
    test_deps = TEST_DEPS,
)

# TODO : Currently non-functional, needs the ability to wrap a non-OSGI jar

onos_app (
    title = 'InfluxDB Report and Query App',
    category = 'Monitoring',
    url = 'http://onosproject.org',
    description = 'Performance metric service reporter and retriever for influxDB.',
    excluded_bundles = EXCLUDED_BUNDLES,
)