Jian Li
Committed by Gerrit Code Review

Add BUCK build script for graphitemetrics application

Change-Id: I9819eb183175b701aa7974a1d29be3cd62ff0be5
......@@ -93,6 +93,7 @@ DEPS = [
'//apps/iptopology-api:onos-app-iptopology-api',
'//apps/metrics:onos-app-metrics',
'//apps/gangliametrics:onos-app-ganglia',
'//apps/graphitemetrics:onos-app-graphite',
'//apps/mfwd:onos-app-mfwd',
'//apps/mlb:onos-app-mlb',
'//apps/mobility:onos-app-mobility',
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-app-graphite'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:gmetric4j',
'//lib:metrics-graphite',
]
TEST_DEPS = [
'//lib:TEST',
]
java_library(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......@@ -118,8 +118,6 @@ maven_jar(
license = 'Apache2.0',
)
maven_jar(
name = 'jackson-core',
id = 'com.fasterxml.jackson.core:jackson-core:2.7.0',
......@@ -732,6 +730,13 @@ maven_jar(
)
maven_jar(
name = 'metrics-graphite',
id = 'io.dropwizard.metrics:metrics-graphite:3.1.2',
sha1 = '15a68399652c6123fe6e4c82ac4f0749e2eb6583',
license = 'Apache2.0',
)
maven_jar(
name = 'concurrent-trees',
id = 'com.googlecode.concurrent-trees:concurrent-trees:2.4.0',
sha1 = '2e505b78f9216abebbbdf1c3254bf9f4c565ae43',
......