add BUCK file for actn-msc app and ietfte-provider
Change-Id: I26b0cb0649d6914773f880fc87ae5b8c9b764e1d
diff --git a/apps/actn-mdsc/BUCK b/apps/actn-mdsc/BUCK
new file mode 100644
index 0000000..4d70128
--- /dev/null
+++ b/apps/actn-mdsc/BUCK
@@ -0,0 +1,15 @@
+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 = 'ACTN APP',
+ url = 'http://onosproject.org',
+ included_bundles = BUNDLES,
+ description = 'ACTN MDSC APP.',
+)
+
diff --git a/apps/actn-mdsc/tetunnel-ctl/BUCK b/apps/actn-mdsc/tetunnel-ctl/BUCK
new file mode 100644
index 0000000..5cf5a66
--- /dev/null
+++ b/apps/actn-mdsc/tetunnel-ctl/BUCK
@@ -0,0 +1,17 @@
+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,
+)
+
diff --git a/apps/actn-mdsc/tetunnel-pce/BUCK b/apps/actn-mdsc/tetunnel-pce/BUCK
new file mode 100644
index 0000000..a040010
--- /dev/null
+++ b/apps/actn-mdsc/tetunnel-pce/BUCK
@@ -0,0 +1,15 @@
+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,
+)
+
diff --git a/providers/ietfte/BUCK b/providers/ietfte/BUCK
new file mode 100644
index 0000000..9df8f9c
--- /dev/null
+++ b/providers/ietfte/BUCK
@@ -0,0 +1,24 @@
+BUNDLES = [
+ '//protocols/restconf/server/utils:onos-protocols-restconf-server-utils',
+ '//apps/yms/api:onos-apps-yms-api',
+ '//apps/tenbi/utils:onos-apps-tenbi-utils',
+ '//apps/tenbi/yangmodel:onos-apps-tenbi-yangmodel',
+ '//lib:httpclient-osgi',
+ '//lib:httpcore-osgi',
+ '//protocols/rest/api:onos-protocols-rest-api',
+ '//protocols/restconf/client/api:onos-protocols-restconf-client-api',
+ '//protocols/restconf/client/ctl:onos-protocols-restconf-client-ctl',
+ '//providers/ietfte/utils:onos-providers-ietfte-utils',
+ '//providers/ietfte/topology:onos-providers-ietfte-topology',
+ '//providers/ietfte/tunnel:onos-providers-ietfte-tunnel',
+]
+
+onos_app (
+ title = 'IETF TE Provider',
+ category = 'Provider',
+ url = 'http://onosproject.org',
+ included_bundles = BUNDLES,
+ description = 'IETF TE southbound providers.',
+ required_apps = [ 'org.onosproject.tetunnel', 'org.onosproject.tetopology',
+ 'org.onosproject.yms'],
+)
\ No newline at end of file
diff --git a/providers/ietfte/app/app.xml b/providers/ietfte/app/app.xml
index 09d0850..270175f 100644
--- a/providers/ietfte/app/app.xml
+++ b/providers/ietfte/app/app.xml
@@ -23,7 +23,7 @@
<artifact>mvn:${project.groupId}/onos-restconf-client-ctl/${project.version}</artifact>
<artifact>mvn:${project.groupId}/onos-ietfte-provider-utils/${project.version}</artifact>
- <!--<artifact>mvn:${project.groupId}/onos-ietfte-provider-topology/${project.version}</artifact>-->
+ <artifact>mvn:${project.groupId}/onos-ietfte-provider-topology/${project.version}</artifact>
<artifact>mvn:${project.groupId}/onos-ietfte-provider-tunnel/${project.version}</artifact>
<artifact>mvn:${project.groupId}/onos-app-tenbi-yangmodel/${project.version}</artifact>
</app>
diff --git a/providers/ietfte/app/features.xml b/providers/ietfte/app/features.xml
index 8163779..5852e24 100644
--- a/providers/ietfte/app/features.xml
+++ b/providers/ietfte/app/features.xml
@@ -34,7 +34,7 @@
<bundle>mvn:${project.groupId}/onos-restconf-server-utils/${project.version}</bundle>
<bundle>mvn:${project.groupId}/onos-ietfte-provider-utils/${project.version}</bundle>
- <!--<bundle>mvn:${project.groupId}/onos-ietfte-provider-topology/${project.version}</bundle>-->
+ <bundle>mvn:${project.groupId}/onos-ietfte-provider-topology/${project.version}</bundle>
<bundle>mvn:${project.groupId}/onos-ietfte-provider-tunnel/${project.version}</bundle>
</feature>
</features>
diff --git a/providers/ietfte/topology/BUCK b/providers/ietfte/topology/BUCK
new file mode 100644
index 0000000..32b1729
--- /dev/null
+++ b/providers/ietfte/topology/BUCK
@@ -0,0 +1,23 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//protocols/restconf/client/api:onos-protocols-restconf-client-api',
+ '//protocols/restconf/client/ctl:onos-protocols-restconf-client-ctl',
+ '//protocols/restconf/server/utils:onos-protocols-restconf-server-utils',
+ '//protocols/rest/api:onos-protocols-rest-api',
+ '//apps/tetopology/api:onos-apps-tetopology-api',
+ '//apps/tenbi/yangmodel:onos-apps-tenbi-yangmodel',
+ '//apps/tenbi/utils:onos-apps-tenbi-utils',
+ '//apps/yms/api:onos-apps-yms-api',
+ '//providers/ietfte/utils:onos-providers-ietfte-utils',
+ '//incubator/api:onos-incubator-api',
+]
+
+TEST_DEPS = [
+ '//lib:TEST_ADAPTERS',
+ '//utils/osgi:onlab-osgi-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+)
diff --git a/providers/ietfte/tunnel/BUCK b/providers/ietfte/tunnel/BUCK
new file mode 100644
index 0000000..6a18e66
--- /dev/null
+++ b/providers/ietfte/tunnel/BUCK
@@ -0,0 +1,24 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//protocols/restconf/client/api:onos-protocols-restconf-client-api',
+ '//protocols/restconf/client/ctl:onos-protocols-restconf-client-ctl',
+ '//protocols/rest/api:onos-protocols-rest-api',
+ '//apps/yms/api:onos-apps-yms-api',
+ '//apps/tetunnel/api:onos-apps-tetunnel-api',
+ '//apps/tenbi/yangmodel:onos-apps-tenbi-yangmodel',
+ '//apps/tenbi/utils:onos-apps-tenbi-utils',
+ '//apps/tetopology/api:onos-apps-tetopology-api',
+ '//incubator/api:onos-incubator-api',
+ '//providers/ietfte/utils:onos-providers-ietfte-utils',
+ '//lib:javax.ws.rs-api',
+]
+
+TEST_DEPS = [
+ '//lib:TEST_ADAPTERS',
+ '//utils/osgi:onlab-osgi-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+)
diff --git a/providers/ietfte/utils/BUCK b/providers/ietfte/utils/BUCK
new file mode 100644
index 0000000..7817d31
--- /dev/null
+++ b/providers/ietfte/utils/BUCK
@@ -0,0 +1,15 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//apps/yms/api:onos-apps-yms-api',
+ '//protocols/restconf/server/utils:onos-protocols-restconf-server-utils',
+]
+
+TEST_DEPS = [
+ '//lib:TEST_ADAPTERS',
+ '//utils/osgi:onlab-osgi-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+)