mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-04 19:56:49 +02:00
Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
This commit is contained in:
parent
9f3b1ea1cd
commit
22ea6126e4
23
.buckconfig
23
.buckconfig
@ -1,23 +0,0 @@
|
||||
[buildfile]
|
||||
includes = //buck-tools/default.defs
|
||||
|
||||
[plugins]
|
||||
directory = //bin/plugins
|
||||
|
||||
[java]
|
||||
source_level = 8
|
||||
target_level = 8
|
||||
|
||||
[alias]
|
||||
onos = //tools/package:onos-package
|
||||
onos-local = //tools/package:onos-run
|
||||
|
||||
[download]
|
||||
in_build = true
|
||||
|
||||
[maven_repositories]
|
||||
central = https://repo1.maven.org/maven2
|
||||
|
||||
[project]
|
||||
ide = intellij
|
||||
ignore = .git, bazel-bin, bazel-genfiles, bazel-onos-next, bazel-out, bazel-testlogs
|
||||
@ -5,11 +5,6 @@
|
||||
**/.idea
|
||||
.javacp*
|
||||
|
||||
.buckd
|
||||
buck-out
|
||||
bucklets/plugins
|
||||
bin
|
||||
|
||||
web/gui/src/main/webapp/tests/node_modules
|
||||
web/gui/src/test/_karma/node_modules
|
||||
web/gui/src/main/webapp/node_modules
|
||||
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@ -13,16 +13,10 @@ target
|
||||
dependency-reduced-pom.xml
|
||||
.idea
|
||||
*.DS_Store
|
||||
.buckd
|
||||
buck-out
|
||||
.buckconfig.local
|
||||
.buckjavaargs*
|
||||
bucklets/plugins/
|
||||
.watchmanconfig
|
||||
.vscode
|
||||
*.fxs
|
||||
|
||||
/bin/
|
||||
lib/yang
|
||||
/tools/gui/bin
|
||||
/tools/gui/node_modules
|
||||
|
||||
75
BUCK
75
BUCK
@ -1,75 +0,0 @@
|
||||
java_library(
|
||||
name = 'core',
|
||||
visibility = ['PUBLIC'],
|
||||
deps = CORE,
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'apps',
|
||||
visibility = ['PUBLIC'],
|
||||
deps = APPS + APP_JARS,
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'onos',
|
||||
visibility = ['PUBLIC'],
|
||||
deps = [ ':core', ':apps' ]
|
||||
)
|
||||
|
||||
INSTALL = [
|
||||
'//utils/misc:onlab-misc-install',
|
||||
'//utils/osgi:onlab-osgi-install',
|
||||
'//utils/rest:onlab-rest-install',
|
||||
|
||||
'//core/api:onos-api-install',
|
||||
'//incubator/api:onos-incubator-api-install',
|
||||
|
||||
'//core/net:onos-core-net-install',
|
||||
'//core/common:onos-core-common-install',
|
||||
'//core/store/dist:onos-core-dist-install',
|
||||
'//core/store/primitives:onos-core-primitives-install',
|
||||
'//core/store/persistence:onos-core-persistence-install',
|
||||
'//core/store/serializers:onos-core-serializers-install',
|
||||
|
||||
'//incubator/net:onos-incubator-net-install',
|
||||
'//incubator/store:onos-incubator-store-install',
|
||||
'//incubator/rpc:onos-incubator-rpc-install',
|
||||
|
||||
'//core/security:onos-security-install',
|
||||
|
||||
'//web/api:onos-rest-install',
|
||||
'//web/gui:onos-gui-install',
|
||||
'//cli:onos-cli-install',
|
||||
]
|
||||
java_library(
|
||||
name = 'install',
|
||||
visibility = ['PUBLIC'],
|
||||
deps = INSTALL
|
||||
)
|
||||
|
||||
tar_file(
|
||||
name = 'onos-test',
|
||||
root = 'onos-test-%s' % ONOS_VERSION,
|
||||
srcs = glob(['tools/test/**/*']) + [
|
||||
'tools/dev/bash_profile',
|
||||
'tools/dev/bin/onos-create-app',
|
||||
'tools/build/envDefaults'
|
||||
],
|
||||
other_tars = [ '//tools/package:onos-package-runtime' ],
|
||||
)
|
||||
|
||||
tar_file(
|
||||
name = 'onos-admin',
|
||||
root = 'onos-admin-%s' % ONOS_VERSION,
|
||||
srcs = [
|
||||
'tools/dev/bin/onos-create-app',
|
||||
'tools/test/bin/onos',
|
||||
],
|
||||
other_tars = [ '//tools/package:onos-package-runtime' ],
|
||||
flat = True,
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
54
Jenkinsfile
vendored
54
Jenkinsfile
vendored
@ -1,54 +0,0 @@
|
||||
#!groovy
|
||||
|
||||
pipeline {
|
||||
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('pull') {
|
||||
steps {
|
||||
git url: 'https://gerrit.onosproject.org/onos'
|
||||
}
|
||||
}
|
||||
|
||||
stage('build') {
|
||||
steps {
|
||||
sh '''#!/bin/bash -l
|
||||
ONOS_ROOT=`pwd`
|
||||
source tools/build/envDefaults
|
||||
onos-buck build onos
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('test') {
|
||||
steps {
|
||||
parallel (
|
||||
"unit-tests": {
|
||||
sh '''#!/bin/bash -l
|
||||
ONOS_ROOT=`pwd`
|
||||
source tools/build/envDefaults
|
||||
onos-buck test
|
||||
'''
|
||||
},
|
||||
"javadocs": {
|
||||
sh '''#!/bin/bash -l
|
||||
ONOS_ROOT=`pwd`
|
||||
source tools/build/envDefaults
|
||||
onos-buck build //docs:external //docs:internal --show-output
|
||||
'''
|
||||
},
|
||||
"docker-image": {
|
||||
sh '''#!/bin/bash -l
|
||||
ONOS_ROOT=`pwd`
|
||||
source tools/build/envDefaults
|
||||
docker build -t onosproject/onos-test-docker .
|
||||
'''
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
'//lib:jersey-server',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/v1/acl',
|
||||
api_title = 'ACL API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for ACL app',
|
||||
api_package = 'org.onosproject.acl',
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Access Control Lists',
|
||||
category = 'Security',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'ONOS ACL application.',
|
||||
)
|
||||
@ -1,15 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/tetunnel/api:onos-apps-tetunnel-api',
|
||||
'//apps/tetopology/api:onos-apps-tetopology-api',
|
||||
'//apps/actn-mdsc/tetunnel-ctl:onos-apps-actn-mdsc-tetunnel-ctl',
|
||||
'//apps/actn-mdsc/tetunnel-pce:onos-apps-actn-mdsc-tetunnel-pce',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'ACTN MDSC',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'ACTN MDSC APP.',
|
||||
)
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//apps/tetunnel/api:onos-apps-tetunnel-api',
|
||||
'//apps/actn-mdsc/tetunnel-pce:onos-apps-actn-mdsc-tetunnel-pce',
|
||||
'//apps/tetopology/api:onos-apps-tetopology-api',
|
||||
'//incubator/api:onos-incubator-api'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//apps/tetunnel/api:onos-apps-tetunnel-api',
|
||||
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
@ -1,100 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:NETTY',
|
||||
'//lib:io_netty_netty',
|
||||
'//lib:io_netty_netty_transport',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
'//apps/routing/common:onos-apps-routing-common',
|
||||
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
|
||||
'//apps/intentsync:onos-apps-intentsync',
|
||||
'//apps/route-service/api:onos-apps-route-service-api',
|
||||
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
|
||||
'//lib:okhttp',
|
||||
'//lib:okio',
|
||||
':commons-net',
|
||||
':io.socket-client',
|
||||
':json',
|
||||
':engine.io-client'
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/artemis:onos-apps-artemis',
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
'//apps/routing/common:onos-apps-routing-common',
|
||||
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
|
||||
'//apps/route-service/api:onos-apps-route-service-api',
|
||||
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS'
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:okhttp',
|
||||
'//lib:okio',
|
||||
':commons-net',
|
||||
':io.socket-client',
|
||||
':json',
|
||||
':engine.io-client'
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.artemis',
|
||||
title = 'Artemis',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Artemis',
|
||||
included_bundles = BUNDLES,
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
required_apps = [
|
||||
'org.onosproject.sdnip',
|
||||
'org.onosproject.openflow',
|
||||
'org.onosproject.ovsdb',
|
||||
'org.onosproject.drivers.ovsdb'
|
||||
],
|
||||
)
|
||||
|
||||
remote_jar (
|
||||
name = 'commons-net',
|
||||
out = 'commons-net-3.5.jar',
|
||||
url = 'mvn:commons-net:commons-net:jar:3.5',
|
||||
sha1 = '342fc284019f590e1308056990fdb24a08f06318',
|
||||
maven_coords = 'commons-net:commons-net:3.5',
|
||||
visibility = [ 'PUBLIC' ],
|
||||
)
|
||||
|
||||
remote_jar (
|
||||
name = 'io.socket-client',
|
||||
out = 'socket.io-client-0.8.3.jar',
|
||||
url = 'mvn:io.socket:socket.io-client:jar:0.8.3',
|
||||
sha1 = 'b30500232ff0668a47c9f91f02e6935457a52fb5',
|
||||
maven_coords = 'io.socket:socket.io-client:jar:NON-OSGI:0.8.3',
|
||||
visibility = [ 'PUBLIC' ],
|
||||
)
|
||||
|
||||
remote_jar (
|
||||
name = 'json',
|
||||
out = 'json-20090211.jar',
|
||||
url = 'mvn:org.json:json:jar:20090211',
|
||||
sha1 = 'c183aa3a2a6250293808bba12262c8920ce5a51c',
|
||||
maven_coords = 'org.json:json:jar:NON-OSGI:20090211',
|
||||
visibility = [ 'PUBLIC' ],
|
||||
)
|
||||
|
||||
remote_jar (
|
||||
name = 'engine.io-client',
|
||||
out = 'engine.io-client-0.8.3.jar',
|
||||
url = 'mvn:io.socket:engine.io-client:jar:0.8.3',
|
||||
sha1 = '854b49396e1e9f9bb0ab025062ddb49c4ed65ca1',
|
||||
maven_coords = 'io.socket:engine.io-client:jar:NON-OSGI:0.8.3',
|
||||
visibility = [ 'PUBLIC' ],
|
||||
)
|
||||
@ -1,25 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
'//apps/routing/common:onos-apps-routing-common',
|
||||
'//apps/bgprouter:onos-apps-bgprouter',
|
||||
]
|
||||
|
||||
osgi_jar (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'BGP Router',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'BGP router application.',
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = [ 'org.onosproject.fibinstaller', 'org.onosproject.route-service' ],
|
||||
)
|
||||
@ -1,44 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//core/api:onos-api',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:jersey-server',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
'//apps/intentsync:onos-apps-intentsync',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/castor:onos-apps-castor',
|
||||
'//apps/routing-api:onos-apps-routing-api',
|
||||
'//apps/routing/common:onos-apps-routing-common',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//incubator/api:onos-incubator-api-tests',
|
||||
'//apps/routing-api:onos-apps-routing-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/castor',
|
||||
api_title = 'Castor',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for Castor',
|
||||
api_package = 'org.onosproject.castor',
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Castor',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'Castor application',
|
||||
required_apps = [ 'org.onosproject.intentsynchronizer' ],
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/cfm/api:onos-apps-cfm-api',
|
||||
'//apps/cfm/app:onos-apps-cfm-app',
|
||||
'//apps/cfm/nbi:onos-apps-cfm-nbi',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Layer 2 Monitoring CFM Application',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Layer 2 Monitoring Connectivity Fault Management App',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/cfm/api:onos-apps-cfm-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:JACKSON',
|
||||
'//cli:onos-cli',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//apps/cfm/api:onos-apps-cfm-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
'//web/api:onos-rest-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/cfm',
|
||||
api_title = 'L2 Monitoring CFM',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for L2 Monitoring CFM',
|
||||
api_package = 'org.onosproject.soam.rest',
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Cluster IP Alias',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'ONOS Cluster IP alias application.',
|
||||
)
|
||||
@ -1,28 +0,0 @@
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
]
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:onos-yang-model',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//cli:onos-cli',
|
||||
'//lib:commons-text',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Dynamic Configuration',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Provides means to track and distribute service and device configuration data ' +
|
||||
'throughout the ONOS cluster. It works with the YANG runtime to ensure that the tracked ' +
|
||||
'data adheres to the registered YANG models. Applications can traverse and access this ' +
|
||||
'data which is organized in a logically unified tree.<p/>(Under development)',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,31 +0,0 @@
|
||||
APPS = [
|
||||
'org.onosproject.configsync',
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.netconf',
|
||||
]
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:onos-yang-model',
|
||||
'//lib:onos-yang-runtime',
|
||||
'//protocols/netconf/api:onos-protocols-netconf-api',
|
||||
'//apps/config:onos-apps-config',
|
||||
'//apps/configsync:onos-apps-configsync',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Dynamic Configuration Synchronizer for NETCONF',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Application to support the Dynamic configuration service.',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,22 +0,0 @@
|
||||
APPS = [
|
||||
# dynamic config
|
||||
'org.onosproject.config',
|
||||
]
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//apps/config:onos-apps-config',
|
||||
'//lib:onos-yang-model',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Dynamic Configuration Synchronizer',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Application to support the Dynamic configuration service.',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,29 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
'//lib:jersey-server',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/cord-support',
|
||||
api_title = 'CORD Support',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for CORD inquiry to ONOS topology',
|
||||
api_package = 'org.onosproject.cordsupport',
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'CORD Support',
|
||||
category = 'Integration',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'CORD Support application.',
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
@ -1,48 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:METRICS',
|
||||
'//lib:KRYO',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:rrd4j',
|
||||
'//apps/cpman/api:onos-apps-cpman-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//cli:onos-cli',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
'//web/api:onos-rest-tests',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/cpman/api:onos-apps-cpman-api',
|
||||
':onos-apps-cpman-app',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:rrd4j',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/cpman',
|
||||
api_title = 'Control Plane Manager API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for Control Plane Manager',
|
||||
api_package = 'org.onosproject.cpman.rest',
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.cpman',
|
||||
title = 'Control Plane Manager',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Control Plane Management application for monitoring the health of the ONOS cluster',
|
||||
included_bundles = BUNDLES,
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
required_apps = [ 'org.onosproject.openflow-message' ],
|
||||
)
|
||||
@ -1,11 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/dhcp/api:onos-apps-dhcp-api',
|
||||
'//apps/dhcp/app:onos-apps-dhcp-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'DHCP Server',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,7 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,25 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//apps/dhcp/api:onos-apps-dhcp-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/dhcp',
|
||||
api_title = 'DHCP Server',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for DHCP Server',
|
||||
api_package = 'org.onosproject.dhcp.rest',
|
||||
)
|
||||
@ -1,36 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/route-service/api:onos-apps-route-service-api',
|
||||
'//apps/routing/fpm/api:onos-apps-routing-fpm-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST',
|
||||
'//apps/route-service/api:onos-apps-route-service-api-tests',
|
||||
'//core/api:onos-api-tests',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/dhcprelay:onos-apps-dhcprelay',
|
||||
'//apps/routing/fpm/api:onos-apps-routing-fpm-api',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.dhcprelay',
|
||||
title = 'DHCP Relay Agent',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'DHCP Relay Agent Application.',
|
||||
required_apps = [ 'org.onosproject.route-service' ],
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,21 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
resources_root = 'src/main/resources',
|
||||
resources = glob(['src/main/resources/**']),
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Driver Support Matrix',
|
||||
category = 'GUI',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Extends the ONOS GUI with a view that allows the operator to visualize ' +
|
||||
'the currently loaded drivers.',
|
||||
)
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
resources_root = 'src/main/resources',
|
||||
resources = glob(['src/main/resources/**']),
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Event History',
|
||||
category = 'Test Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Allows recording and tracking of otherwise ephemeral ONOS core events. ' +
|
||||
'It is primarily aimed for supporting various system tests and to assure that expected ' +
|
||||
'events are raised and broadcast to applications that have requested them.',
|
||||
)
|
||||
@ -1,11 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/evpn-route-service/api:onos-apps-evpn-route-service-api',
|
||||
'//apps/evpn-route-service/app:onos-apps-evpn-route-service-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'EVPN Routing',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST',
|
||||
'//core/api:onos-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//utils/misc:onlab-misc',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/evpn-route-service/api:onos-apps-evpn-route-service-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST',
|
||||
'//core/api:onos-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,33 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/gluon:onos-apps-gluon',
|
||||
'//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
|
||||
'//apps/route-service/api:onos-apps-route-service-api',
|
||||
'//apps/evpn-route-service/api:onos-apps-evpn-route-service-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//lib:TEST',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
title = 'EVPN OpenFlow',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Ethernet VPN (EVPN) introduces a new model for Ethernet services delivery.' +
|
||||
'It enables integrated Layer 2 service over Ethernet with multihoming.',
|
||||
required_apps = [ 'org.onosproject.route-service', 'org.onosproject.evpn-route-service',
|
||||
'org.onosproject.gluon', 'org.onosproject.vtn' ],
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/faultmanagement/fmcli:onos-apps-faultmanagement-fmcli',
|
||||
'//apps/faultmanagement/fmgui:onos-apps-faultmanagement-fmgui',
|
||||
'//apps/faultmanagement/fmmgr:onos-apps-faultmanagement-fmmgr',
|
||||
'//apps/faultmanagement/fmweb:onos-apps-faultmanagement-fmweb',
|
||||
]
|
||||
|
||||
onos_app(
|
||||
title = 'Fault Management',
|
||||
origin = 'BTI Systems',
|
||||
description = 'Provides managements of alarms. Stores retrieved alarms from devices. ' +
|
||||
'Offers CLI, UI and REST integration to obtain and display them from ONOS.',
|
||||
category = 'Monitoring',
|
||||
url = 'https://wiki.onosproject.org/display/ONOS/Fault+Management',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//cli:onos-cli',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/osgi:onlab-osgi',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/faultmanagement/fmmgr:onos-apps-faultmanagement-fmmgr'
|
||||
]
|
||||
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
import_packages = '*,org.onosproject.cli.net',
|
||||
)
|
||||
@ -1,11 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
'//incubator/api:onos-incubator-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,26 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//lib:jersey-test-framework-core',
|
||||
'//lib:jersey-test-framework-jetty',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
'//web/api:onos-rest-tests',
|
||||
'//incubator/api:onos-incubator-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/v1/fm',
|
||||
api_title = 'Fault Management Rest API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for Fault Management',
|
||||
api_package = 'org.onosproject.faultmanagement'
|
||||
)
|
||||
@ -1,23 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
resources_root = 'src/main/resources',
|
||||
resources = glob(['src/main/resources/**']),
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Flow Space Analysis',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Simple flow space analyzer.',
|
||||
)
|
||||
@ -1,11 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/flowspec-api/flowapi:onos-apps-flowspec-api-flowapi',
|
||||
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Flowspec API',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'ONOS framework applications',
|
||||
)
|
||||
@ -1,18 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//utils/osgi:onlab-osgi',
|
||||
'//utils/misc:onlab-misc',
|
||||
'//lib:commons-io',
|
||||
'//lib:com_google_guava_guava',
|
||||
'//lib:kryo',
|
||||
'//lib:slf4j-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
@ -1,27 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//core/store/primitives:onos-core-primitives',
|
||||
'//core/api:onos-api',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Reactive Forwarding',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Provisions traffic between end-stations using hop-by-hop flow programming by ' +
|
||||
'intercepting packets for which there are currently no matching flow objectives on the ' +
|
||||
'data plane. The paths paved in this manner are short-lived, i.e. they expire a few ' +
|
||||
'seconds after the flow on whose behalf they were programmed stops.\n\n' +
|
||||
'The application relies on the ONOS path service to compute the shortest paths. ' +
|
||||
'In the event of negative topology events (link loss, device disconnect, etc.), ' +
|
||||
'the application will proactively invalidate any paths that it had programmed to lead ' +
|
||||
'through the resources that are no longer available.',
|
||||
)
|
||||
@ -1,25 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:METRICS',
|
||||
'//lib:gmetric4j',
|
||||
'//lib:metrics-ganglia',
|
||||
'//lib:remotetea-oncrpc',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:gmetric4j',
|
||||
'//lib:metrics-ganglia',
|
||||
'//lib:remotetea-oncrpc',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Ganglia Report and Query',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Performance metric service reporter',
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
)
|
||||
@ -1,37 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//cli:onos-cli',
|
||||
'//lib:httpclient-osgi',
|
||||
'//lib:httpcore-osgi',
|
||||
'//lib:org.apache.httpcomponents.httpasyncclient-osgi',
|
||||
'//lib:org.apache.httpcomponents.httpcore-nio',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:org.apache.karaf.jaas',
|
||||
|
||||
]
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
':onos-apps-gluon',
|
||||
'//lib:httpclient-osgi',
|
||||
'//lib:httpcore-osgi',
|
||||
'//lib:org.apache.httpcomponents.httpasyncclient-osgi',
|
||||
'//lib:org.apache.httpcomponents.httpcore-nio',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.gluon',
|
||||
title = 'Gluon Shim',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'To fetch data from Gluon Server over Http session.',
|
||||
)
|
||||
@ -1,29 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:METRICS',
|
||||
'//lib:gmetric4j',
|
||||
'//lib:metrics-graphite',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:gmetric4j',
|
||||
'//lib:metrics-graphite',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST',
|
||||
'//core/api:onos-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Graphite Report and Query',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Performance metric service reporter and retriever for graphite',
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
)
|
||||
@ -1,12 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/imr/api:onos-apps-imr-api',
|
||||
'//apps/imr/app:onos-apps-imr-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Intent Monitoring and Rerouting',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org', # link alla wiki su wiki.onosproject.org
|
||||
description = 'Intent Monitoring and Rerouting application.',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,22 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:jersey-server',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/imr/app:onos-apps-imr-app',
|
||||
'//cli:onos-cli',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
]
|
||||
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
web_context = '/onos/v1/imr',
|
||||
api_title = 'IMR REST API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for IMR Application',
|
||||
api_package = 'org.onosproject.imr.rest',
|
||||
)
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//core/store/dist:onos-core-dist',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//lib:KRYO',
|
||||
'//lib:JACKSON',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,32 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/inbandtelemetry/api:onos-apps-inbandtelemetry-api',
|
||||
'//apps/inbandtelemetry/impl:onos-apps-inbandtelemetry-impl',
|
||||
'//apps/inbandtelemetry/app:onos-apps-inbandtelemetry-app',
|
||||
]
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//lib:JACKSON',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/inbandtelemetry/api:onos-apps-inbandtelemetry-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.inbandtelemetry.app',
|
||||
title = 'P4 In-band Network Telemetry Sample Application',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Provides managements of INT-capable devices. Specifies flows to enable INT and' +
|
||||
'types of metadata to collect. Sets up INT-related information.',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,28 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/inbandtelemetry/api:onos-apps-inbandtelemetry-api',
|
||||
':onos-apps-inbandtelemetry-impl'
|
||||
]
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//pipelines/basic:onos-pipelines-basic',
|
||||
'//apps/inbandtelemetry/api:onos-apps-inbandtelemetry-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
title = 'P4 In-band Network Telemetry Service',
|
||||
description = 'Provides managements of INT-capable devices. Specifies flows to enable INT and' +
|
||||
'types of metadata to collect. Sets up INT-related information.',
|
||||
category = 'Monitoring',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,46 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:METRICS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:metrics-influxdb',
|
||||
'//lib:influxdb-java',
|
||||
'//lib:commons-codec',
|
||||
'//lib:retrofit',
|
||||
'//lib:okhttp',
|
||||
'//lib:logging-interceptor',
|
||||
'//lib:okio',
|
||||
'//lib:moshi',
|
||||
'//lib:converter-moshi',
|
||||
'//lib:com_google_code_gson_gson',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:metrics-influxdb',
|
||||
'//lib:influxdb-java',
|
||||
'//lib:commons-codec',
|
||||
'//lib:retrofit',
|
||||
'//lib:okhttp',
|
||||
'//lib:logging-interceptor',
|
||||
'//lib:com_google_code_gson_gson',
|
||||
'//lib:okio',
|
||||
'//lib:moshi',
|
||||
'//lib:converter-moshi',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'InfluxDB Report and Query',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Performance metric service reporter and retriever for influxDB.',
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
)
|
||||
@ -1,22 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.intentsynchronizer',
|
||||
title = 'Intent Synchronizer',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Synchronizes intents to the intent framework from a single instance',
|
||||
)
|
||||
@ -1,8 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//lib:kafka-clients',
|
||||
'//lib:protobuf-java-3.2.0',
|
||||
'//incubator/protobuf/models:onos-incubator-protobuf-models',
|
||||
'//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
|
||||
'//apps/kafka-integration/api:onos-apps-kafka-integration-api',
|
||||
'//apps/kafka-integration/app:onos-apps-kafka-integration-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Kafka Integration',
|
||||
category = 'Integration',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Provides integration of ONOS and Kafka message bus so that internal ONOS events ' +
|
||||
'can be broadcast over the Kafka message bus to off-platform applications.',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,8 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:kafka-clients',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,30 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//apps/kafka-integration/api:onos-apps-kafka-integration-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//cli:onos-cli',
|
||||
'//lib:kafka-clients',
|
||||
'//lib:protobuf-java-3.2.0',
|
||||
'//lib:GRPC_1.3',
|
||||
'//incubator/protobuf/models:onos-incubator-protobuf-models',
|
||||
'//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/kafka-integration',
|
||||
api_title = 'Kafka Integration',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for Kafka Integration',
|
||||
api_package = 'org.onosproject.kafkaintegration.rest',
|
||||
)
|
||||
@ -1,46 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//models/l3vpn:onos-models-l3vpn',
|
||||
'//apps/config:onos-apps-config',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//lib:onos-yang-model',
|
||||
'//lib:onos-yang-runtime',
|
||||
'//apps/yang:onos-apps-yang',
|
||||
'//apps/pce/app:onos-apps-pce-app',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//models/common:onos-models-common',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.yang-gui',
|
||||
'org.onosproject.config',
|
||||
'org.onosproject.restconf',
|
||||
'org.onosproject.protocols.restconfserver',
|
||||
'org.onosproject.netconf',
|
||||
'org.onosproject.netconfsb',
|
||||
'org.onosproject.models.common',
|
||||
'org.onosproject.models.l3vpn',
|
||||
'org.onosproject.bgpcep',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = 'org.onosproject.l3vpn',
|
||||
title = 'YANG L3VPN',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'L3VPN YANG Application',
|
||||
required_apps = APPS,
|
||||
)
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//core/common:onos-core-common',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'UI Auto-Layout',
|
||||
category = 'GUI',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Automatically lays out the network topology using roles assigned to each ' +
|
||||
'network element via the network configuration. Supports multiple layout variants.',
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:slf4j-api',
|
||||
'//lib:org.apache.felix.scr.annotations',
|
||||
'//lib:junit',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Learning Switch Tutorial',
|
||||
category = 'Tutorial',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Tutorial to help user create a learning switch',
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//incubator/api:onos-incubator-api'
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Link Properties',
|
||||
description = 'Shows more link properties',
|
||||
category = 'Monitoring',
|
||||
url = 'https://onosproject.org/',
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
|
||||
'//apps/mappingmanagement/cli:onos-apps-mappingmanagement-cli',
|
||||
'//apps/mappingmanagement/mgr:onos-apps-mappingmanagement-mgr',
|
||||
'//apps/mappingmanagement/web:onos-apps-mappingmanagement-web',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Mapping Management',
|
||||
description = 'ONOS mapping management application',
|
||||
category = 'Monitoring',
|
||||
url = 'https://onosproject.org/',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,15 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,18 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//cli:onos-cli',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/osgi:onlab-osgi',
|
||||
'//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
import_packages = '*,org.onosproject.cli.net',
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,23 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//apps/mappingmanagement/api:onos-apps-mappingmanagement-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_REST',
|
||||
'//web/api:onos-rest-tests',
|
||||
'//lib:minimal-json',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/mappingmanagement',
|
||||
api_title = 'Mapping Management API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for ONOS Mapping Management',
|
||||
api_package = 'org.onosproject.mapping.web.api',
|
||||
)
|
||||
@ -1,15 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/mcast/cli:onos-apps-mcast-cli',
|
||||
'//apps/mcast/impl:onos-apps-mcast-impl',
|
||||
'//apps/mcast/web:onos-apps-mcast-web',
|
||||
'//apps/mcast/api:onos-apps-mcast-api',
|
||||
]
|
||||
|
||||
onos_app(
|
||||
title = 'Multicast traffic control',
|
||||
origin = 'ONF',
|
||||
description = 'Provides handling of multicast traffic.',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'https://wiki.onosproject.org/',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,15 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/osgi:onlab-osgi',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/mcast/api:onos-apps-mcast-api'
|
||||
]
|
||||
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
import_packages = '*,org.onosproject.cli.net',
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/mcast/api:onos-apps-mcast-api'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,25 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//apps/mcast/api:onos-apps-mcast-api'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//lib:jersey-test-framework-core',
|
||||
'//lib:jersey-test-framework-jetty',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
'//web/api:onos-rest-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/mcast',
|
||||
api_title = 'Multicast API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for Multicast',
|
||||
api_package = 'org.onosproject.mcast.web',
|
||||
)
|
||||
@ -1,20 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:METRICS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//cli:onos-cli',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Topology & Intent Metrics',
|
||||
category = 'Monitoring',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Monitoring of various metrics related to topology mutation and intent programming.',
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Multicast Forwarding',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Multicast forwarding application.',
|
||||
)
|
||||
@ -1,16 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Mastership Load Balancer',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Monitors distribution of mastership of network devices between the ONOS cluster ' +
|
||||
'nodes and periodically re-assigns the mastership to achieve balanced distribution when ' +
|
||||
'necessary and possible.',
|
||||
)
|
||||
@ -1,14 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Host Mobility',
|
||||
category = 'Utility',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Host mobility application.',
|
||||
)
|
||||
@ -1,29 +0,0 @@
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.config',
|
||||
'org.onosproject.netconf',
|
||||
]
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:onos-yang-model',
|
||||
'//lib:onos-yang-runtime',
|
||||
'//apps/config:onos-apps-config',
|
||||
'//utils/misc:onlab-misc',
|
||||
'//protocols/netconf/api:onos-protocols-netconf-api',
|
||||
'//utils/osgi:onlab-osgi',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = 'org.onosproject.netconfsb',
|
||||
title = 'NETCONF Protocol Subsystem',
|
||||
category = 'Protocol',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Exposes APIs to establish NETCONF connections to devices and to send and receive ' +
|
||||
'messages and asynchronous notifications over such connection.',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api',
|
||||
'//apps/network-troubleshoot/cli:onos-apps-network-troubleshoot-cli',
|
||||
'//apps/network-troubleshoot/core:onos-apps-network-troubleshoot-core',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'Network Troubleshooter',
|
||||
description = 'Provides various network troubleshooting utilities.',
|
||||
category = 'Utility',
|
||||
url = 'https://wiki.onosproject.org/display/ONOS/Network+TroubleShooting+Module',
|
||||
included_bundles = BUNDLES,
|
||||
)
|
||||
@ -1,12 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,18 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
# '//lib:org.apache.karaf.shell.console',
|
||||
# '//incubator/api:onos-incubator-api',
|
||||
# '//cli:onos-cli',
|
||||
# '//utils/rest:onlab-rest',
|
||||
# '//lib:javax.ws.rs-api',
|
||||
# '//utils/osgi:onlab-osgi',
|
||||
# '//core/store/serializers:onos-core-serializers',
|
||||
'//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
import_packages = '*,org.onosproject.cli.net',
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
# '//core/store/serializers:onos-core-serializers',
|
||||
'//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
'//incubator/api:onos-incubator-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
@ -1,27 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//apps/optical-model:onos-apps-optical-model',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//utils/osgi:onlab-osgi-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'Packet/Optical Use-Case',
|
||||
category = 'Optical',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Packet/Optical use-case application.',
|
||||
required_apps = [ 'org.onosproject.optical-model' ],
|
||||
)
|
||||
@ -1,17 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/nodemetrics/api:onos-apps-nodemetrics-api',
|
||||
'//apps/nodemetrics/mgr:onos-apps-nodemetrics-mgr',
|
||||
]
|
||||
|
||||
onos_app(
|
||||
app_name = 'org.onosproject.nodemetrics',
|
||||
title = 'Controller Monitor Application',
|
||||
description = '1.Nodemetrics Application uses, sigar library to fetch Controller information.'+
|
||||
'2. The Sigar library uses Native libraries and currently It supports Windows, Linux and MacOs platform.'+
|
||||
'3. The Native libraries like .so, .dll and .dylib are packed as jar along with sigar libs.'+
|
||||
'4. If the Native libraries are corrupted because of any reason,'+
|
||||
'so, the controller is vulnerable to crash of the entire JVM',
|
||||
category = 'Monitoring',
|
||||
url = 'http://samsung.com',
|
||||
included_bundles = BUNDLES
|
||||
)
|
||||
@ -1,9 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:sigar',
|
||||
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:sigar',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//apps/nodemetrics/api:onos-apps-nodemetrics-api',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//cli:onos-cli',
|
||||
'//lib:KRYO',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,35 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:onos-yang-model',
|
||||
'//lib:onos-yang-runtime',
|
||||
'//models/tapi:onos-models-tapi',
|
||||
'//models/openconfig:onos-models-openconfig',
|
||||
'//apps/yang:onos-apps-yang',
|
||||
'//apps/config:onos-apps-config',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.models.tapi',
|
||||
'org.onosproject.models.openconfig',
|
||||
]
|
||||
|
||||
# TODO probably bucklet, etc. should escape title & description
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.odtn-api',
|
||||
title = 'ODTN API & Utilities Application',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'ODTN API & Utilities Application',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,50 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//apps/odtn/api:onos-apps-odtn-api',
|
||||
'//lib:onos-yang-model',
|
||||
'//lib:onos-yang-runtime',
|
||||
'//apps/config:onos-apps-config',
|
||||
'//models/tapi:onos-models-tapi',
|
||||
'//models/openconfig:onos-models-openconfig',
|
||||
'//apps/yang:onos-apps-yang',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//lib:JACKSON',
|
||||
'//protocols/netconf/api:onos-protocols-netconf-api'
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.config',
|
||||
'org.onosproject.configsync',
|
||||
'org.onosproject.models.tapi',
|
||||
'org.onosproject.models.openconfig',
|
||||
'org.onosproject.odtn-api',
|
||||
|
||||
# strictly speaking following are not mandatory
|
||||
'org.onosproject.restconf',
|
||||
'org.onosproject.drivers.netconf',# will need if using TemplateManager
|
||||
'org.onosproject.drivers.odtn-driver',
|
||||
'org.onosproject.netconf',
|
||||
'org.onosproject.configsync-netconf',
|
||||
'org.onosproject.protocols.restconfserver',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.odtn-service',
|
||||
title = 'ODTN Service Application',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'ODTN Service Application',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,54 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:NETTY',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//core/common:onos-core-common',
|
||||
'//incubator/api:onos-incubator-api',
|
||||
'//cli:onos-cli',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:io_netty_netty_transport',
|
||||
'//lib:io_netty_netty_buffer',
|
||||
'//lib:io_netty_netty_codec',
|
||||
'//lib:io_netty_netty_handler',
|
||||
'//lib:openflowj',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//providers/openflow/flow:onos-providers-openflow-flow',
|
||||
'//protocols/openflow/api:onos-protocols-openflow-api',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/ofagent:onos-apps-ofagent',
|
||||
'//providers/openflow/flow:onos-providers-openflow-flow',
|
||||
'//protocols/openflow/api:onos-protocols-openflow-api',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
'//lib:TEST_REST',
|
||||
'//lib:jersey-server',
|
||||
'//web/api:onos-rest-tests',
|
||||
'//lib:minimal-json',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/ofagent',
|
||||
api_title = 'OFAgent API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for OFAgent',
|
||||
api_package = 'org.onosproject.ofagent.rest',
|
||||
)
|
||||
|
||||
onos_app (
|
||||
title = 'OpenFlow Agent',
|
||||
category = 'Traffic Engineering',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'OpenFlow agent application for virtualization subsystem.',
|
||||
)
|
||||
@ -1,25 +0,0 @@
|
||||
APPS = [
|
||||
'org.onosproject.yang',
|
||||
'org.onosproject.yang-gui',
|
||||
'org.onosproject.config',
|
||||
'org.onosproject.restconf',
|
||||
'org.onosproject.protocols.restconfserver',
|
||||
'org.onosproject.netconf',
|
||||
'org.onosproject.netconfsb',
|
||||
'org.onosproject.models.openroadm',
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
'//apps/openroadm/service:onos-apps-openroadm-service',
|
||||
'//apps/openroadm/network:onos-apps-openroadm-network',
|
||||
]
|
||||
|
||||
onos_app(
|
||||
app_name = 'org.onosproject.openroadm',
|
||||
title = 'Open ROADM',
|
||||
category = 'Optical',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'Open ROADM Application',
|
||||
required_apps = APPS,
|
||||
)
|
||||
@ -1,9 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//models/openroadm:onos-models-openroadm',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
] + YANG_TOOLS
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,9 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//models/openroadm:onos-models-openroadm',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
] + YANG_TOOLS
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
@ -1,19 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/openstacknetworking/api:onos-apps-openstacknetworking-api',
|
||||
'//apps/openstacknetworking/app:onos-apps-openstacknetworking-app',
|
||||
'//lib:httpclient-osgi',
|
||||
'//lib:httpcore-osgi',
|
||||
'//lib:commons-codec',
|
||||
'//lib:sshd-core',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'OpenStack Networking Application',
|
||||
category = 'Integration',
|
||||
url = 'https://wiki.onosproject.org/display/ONOS/SONA%3A+DC+Network+Virtualization',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'SONA Openstack Networking Application.',
|
||||
required_apps = [
|
||||
'org.onosproject.openstacknode'
|
||||
]
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
include_defs('//apps/openstacknode/openstack4j.bucklet')
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:openstack4j-core',
|
||||
"//apps/openstacknode/api:onos-apps-openstacknode-api",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
|
||||
import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
|
||||
)
|
||||
@ -1,55 +0,0 @@
|
||||
include_defs('//apps/openstacknode/openstack4j.bucklet')
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//cli:onos-cli',
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api',
|
||||
'//apps/openstacknetworking/api:onos-apps-openstacknetworking-api',
|
||||
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
|
||||
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
|
||||
'//lib:httpclient-osgi',
|
||||
'//lib:httpcore-osgi',
|
||||
'//lib:commons-codec',
|
||||
'//lib:openstack4j-core',
|
||||
'//lib:openstack4j-http-connector',
|
||||
'//lib:openstack4j-httpclient',
|
||||
'//lib:json-patch',
|
||||
'//lib:jackson-coreutils',
|
||||
'//lib:btf',
|
||||
'//lib:msg-simple',
|
||||
'//lib:snakeyaml',
|
||||
'//lib:sshd-core',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:sshd-core',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
'//web/api:onos-rest-tests',
|
||||
'//lib:TEST_REST',
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/openstacknetworking',
|
||||
api_title = 'OpenStack Networking API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for OpenStack Networking',
|
||||
api_package = 'org.onosproject.openstacknetworking.web',
|
||||
|
||||
# dependency embedding
|
||||
import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
|
||||
bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path()
|
||||
)
|
||||
@ -1,42 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//lib:jersey-client',
|
||||
'//cli:onos-cli',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//lib:sshd-core',
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api',
|
||||
'//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api',
|
||||
'//apps/openstacknetworking/api:onos-apps-openstacknetworking-api',
|
||||
'//apps/openstacknetworking/app:onos-apps-openstacknetworking-app',
|
||||
]
|
||||
|
||||
EXCLUDED_BUNDLES = [
|
||||
'//lib:sshd-core',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
|
||||
onos_app (
|
||||
app_name = 'org.onosproject.openstacknetworkingui',
|
||||
title = 'Openstack Networking UI',
|
||||
category = 'GUI',
|
||||
url = 'http://onosproject.org',
|
||||
description = 'Openstack Networking UI Service',
|
||||
excluded_bundles = EXCLUDED_BUNDLES,
|
||||
required_apps = [
|
||||
'org.onosproject.openstacknetworking',
|
||||
]
|
||||
)
|
||||
@ -1,13 +0,0 @@
|
||||
BUNDLES = [
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api',
|
||||
'//apps/openstacknode/app:onos-apps-openstacknode-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'OpenStack Node Bootstrap',
|
||||
category = 'Integration',
|
||||
url = 'http://onosproject.org',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'SONA Openstack Node Bootstrap Application.',
|
||||
required_apps = [ 'org.onosproject.ovsdb-base', 'org.onosproject.drivers.ovsdb' ]
|
||||
)
|
||||
@ -1,23 +0,0 @@
|
||||
include_defs('//apps/openstacknode/openstack4j.bucklet')
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
|
||||
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
|
||||
import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
|
||||
)
|
||||
@ -1,47 +0,0 @@
|
||||
include_defs('//apps/openstacknode/openstack4j.bucklet')
|
||||
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:JACKSON',
|
||||
'//lib:KRYO',
|
||||
'//lib:org.apache.karaf.shell.console',
|
||||
'//cli:onos-cli',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//utils/rest:onlab-rest',
|
||||
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
|
||||
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
|
||||
'//core/store/serializers:onos-core-serializers',
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api',
|
||||
'//lib:openstack4j-core',
|
||||
'//lib:openstack4j-http-connector',
|
||||
'//lib:openstack4j-httpclient',
|
||||
'//lib:json-patch',
|
||||
'//lib:jackson-coreutils',
|
||||
'//lib:btf',
|
||||
'//lib:msg-simple',
|
||||
'//lib:snakeyaml',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//apps/openstacknode/api:onos-apps-openstacknode-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
'//web/api:onos-rest-tests',
|
||||
'//lib:TEST_REST',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
web_context = '/onos/openstacknode',
|
||||
api_title = 'OpenStack Node API',
|
||||
api_version = '1.0',
|
||||
api_description = 'REST API for OpenStack Node',
|
||||
api_package = 'org.onosproject.openstacknode.web',
|
||||
|
||||
# dependency embedding
|
||||
import_packages = INCLUDE_PACKAGES + ',' + EXCLUDE_PACKAGES + ',' + ALL_PACKAGES,
|
||||
bundle_classpath = get_openstack4j_deps_path() + get_jackson_deps_path()
|
||||
)
|
||||
|
||||
@ -1,41 +0,0 @@
|
||||
INCLUDE_PACKAGES = 'com.google.common.net,com.google.common.io,com.fasterxml.jackson.annotation'
|
||||
EXCLUDE_PACKAGES = '!org.openstack4j,!org.openstack4j.*,!org.openstack4j.model.network'
|
||||
ALL_PACKAGES = '*'
|
||||
|
||||
def get_openstack4j_deps_path():
|
||||
|
||||
WEB_INF_PATH = 'WEB-INF/classes/deps/'
|
||||
OPENSTACK4J_DEPS = [
|
||||
'openstack4j-core',
|
||||
'openstack4j-http-connector',
|
||||
'openstack4j-httpclient',
|
||||
]
|
||||
OPENSTACK4J_VER = '3.1.0'
|
||||
|
||||
openstack_deps_path = ''
|
||||
|
||||
for dep in OPENSTACK4J_DEPS:
|
||||
name = dep + '-' + OPENSTACK4J_VER + '.jar'
|
||||
path = WEB_INF_PATH + name
|
||||
openstack_deps_path = openstack_deps_path + path + ','
|
||||
|
||||
return openstack_deps_path
|
||||
|
||||
def get_jackson_deps_path():
|
||||
|
||||
WEB_INF_PATH = 'WEB-INF/classes/deps/'
|
||||
JACKSON_DEPS_WITH_VER = [
|
||||
'json-patch-1.9.jar',
|
||||
'jackson-coreutils-1.6.jar',
|
||||
'msg-simple-1.1.jar',
|
||||
'btf-1.2.jar',
|
||||
'snakeyaml-1.15.jar'
|
||||
]
|
||||
|
||||
jackson_deps_path = ''
|
||||
|
||||
for dep in JACKSON_DEPS_WITH_VER:
|
||||
path = WEB_INF_PATH + dep
|
||||
jackson_deps_path = jackson_deps_path + path + ','
|
||||
|
||||
return jackson_deps_path
|
||||
@ -1,43 +0,0 @@
|
||||
GRPC_VER = '1.3.1'
|
||||
|
||||
BUNDLES = [
|
||||
'//lib:kafka-clients',
|
||||
'//lib:influxdb-java',
|
||||
'//lib:simpleclient',
|
||||
'//lib:simpleclient_common',
|
||||
'//lib:simpleclient_hotspot',
|
||||
'//lib:simpleclient_servlet',
|
||||
'//lib:jetty-http',
|
||||
'//lib:jetty-servlet',
|
||||
'//lib:jetty-server',
|
||||
'//lib:jetty-security',
|
||||
'//lib:jetty-util',
|
||||
'//lib:jetty-io',
|
||||
'//lib:servlet-api',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:jetty-websocket',
|
||||
'//lib:commons-codec',
|
||||
'//lib:retrofit',
|
||||
'//lib:okhttp',
|
||||
'//lib:logging-interceptor',
|
||||
'//lib:com_google_code_gson_gson',
|
||||
'//lib:okio',
|
||||
'//lib:moshi',
|
||||
'//lib:converter-moshi',
|
||||
'//lib:protobuf-java-3.2.0',
|
||||
'//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
|
||||
'//lib:google-instrumentation-0.3.0',
|
||||
'//apps/openstacktelemetry/api:onos-apps-openstacktelemetry-api',
|
||||
'//apps/openstacktelemetry/app:onos-apps-openstacktelemetry-app',
|
||||
]
|
||||
|
||||
onos_app (
|
||||
title = 'OpenStack Telemetry Application',
|
||||
category = 'Integration',
|
||||
url = 'https://wiki.onosproject.org/display/ONOS/SONA%3A+DC+Network+Virtualization',
|
||||
included_bundles = BUNDLES,
|
||||
description = 'SONA Openstack Telemetry Application.',
|
||||
required_apps = [
|
||||
'org.onosproject.openstacknetworking'
|
||||
]
|
||||
)
|
||||
@ -1,18 +0,0 @@
|
||||
COMPILE_DEPS = [
|
||||
'//lib:CORE_DEPS',
|
||||
'//lib:kafka-clients',
|
||||
'//lib:jersey-client',
|
||||
'//lib:javax.ws.rs-api',
|
||||
'//lib:influxdb-java',
|
||||
]
|
||||
|
||||
TEST_DEPS = [
|
||||
'//lib:TEST_ADAPTERS',
|
||||
'//core/api:onos-api-tests',
|
||||
'//core/common:onos-core-common-tests',
|
||||
]
|
||||
|
||||
osgi_jar_with_tests (
|
||||
deps = COMPILE_DEPS,
|
||||
test_deps = TEST_DEPS,
|
||||
)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user