REST API support added for t3-troubleshoot-simple

Change-Id: I1f31b48fb866e0a61e66b61ad2e6a30b5eddb04c
diff --git a/apps/t3/BUCK b/apps/t3/BUCK
index c64641c..c06bf7c 100644
--- a/apps/t3/BUCK
+++ b/apps/t3/BUCK
@@ -1,37 +1,19 @@
-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',
-    '//drivers/default:onos-drivers-default',
-    '//apps/segmentrouting/app:onos-apps-segmentrouting-app',
-    '//apps/route-service/api:onos-apps-route-service-api',
-    '//apps/mcast/api:onos-apps-mcast-api',
+BUNDLES = [
+    '//apps/t3/web:onos-apps-t3-web',
+    '//apps/t3/app:onos-apps-t3-app',
 ]
 
-TEST_DEPS = [
-    '//lib:TEST_ADAPTERS',
-    '//utils/misc:onlab-misc',
-    '//apps/route-service/api:onos-apps-route-service-api-tests',
-]
-
-osgi_jar_with_tests (
-    deps = COMPILE_DEPS,
-    test_deps = TEST_DEPS,
-)
-
 onos_app (
-    title = 'Trellis Troubleshooting Toolkit',
-    category = 'Monitoring',
-    url = 'https://wiki.opencord.org/pages/viewpage.action?pageId=4456974',
-    description = 'Provides static analysis of flows and groups ' +
-    'to determine the possible paths a packet may take.',
-    required_apps = [
-        'org.onosproject.segmentrouting',
-        'org.onosproject.route-service',
-        'org.onosproject.mcast',
-    ],
+   title = 'Trellis Troubleshooting Toolkit',
+   category = 'Utilities',
+   url = 'https://wiki.opencord.org/pages/viewpage.action?pageId=4456974',
+   description = 'Provides static analysis of flows and groups ' +
+   'to determine the possible paths a packet may take.',
+   required_apps = [
+           'org.onosproject.segmentrouting',
+           'org.onosproject.route-service',
+           'org.onosproject.mcast',
+   ],
+   included_bundles = BUNDLES,
+   app_name = 'org.onosproject.t3'
 )