mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 01:11:30 +02:00
The segment routing application structure has been refactored to the following structure : sr ---- app ---- web web folder contains the rest cli implementations while app folder contains everything else. Originally I tried to split the application in api / app / web, where api would contain all the interfaces. However, that was not possible due to the fact that most of the classes do not implement any interfaces and app -- api would result in circular dependencies and we would not be able to build them. Change-Id: Ifaaeefe2c5061c8457924ccd01678fb18966c44f
17 lines
471 B
Python
17 lines
471 B
Python
COMPILE_DEPS = [
|
|
'//lib:CORE_DEPS',
|
|
'//lib:JACKSON',
|
|
'//lib:javax.ws.rs-api',
|
|
'//utils/rest:onlab-rest',
|
|
'//apps/segmentrouting/app:onos-apps-segmentrouting-app',
|
|
]
|
|
|
|
osgi_jar_with_tests (
|
|
deps = COMPILE_DEPS,
|
|
web_context = '/onos/segmentrouting',
|
|
api_title = 'Segment Routing Rest Server',
|
|
api_version = '1.0',
|
|
api_description = 'REST API for Segment Routing Application',
|
|
api_package = 'org.onosproject.segmentrouting.web',
|
|
)
|