Add a power management application
Change-Id: I7f3271b6f45d0e0b990049db1333843a0cd5f06a
diff --git a/apps/powermanagement/BUCK b/apps/powermanagement/BUCK
new file mode 100644
index 0000000..41d7956
--- /dev/null
+++ b/apps/powermanagement/BUCK
@@ -0,0 +1,30 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//lib:JACKSON',
+ '//core/store/serializers:onos-core-serializers',
+ '//utils/rest:onlab-rest',
+ '//lib:javax.ws.rs-api',
+]
+
+TEST_DEPS = [
+ '//lib:TEST_REST',
+ '//core/api:onos-api-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ web_context = '/onos/powermanagement',
+ api_title = 'Power Management API',
+ api_version = '1.0',
+ api_description = 'REST API for Power Management',
+ api_package = 'org.onosproject.powermanagement',
+)
+
+onos_app (
+ title = 'Power Management',
+ category = 'Monitoring',
+ url = 'http://onosproject.org',
+ description = 'This application provides northbound interfaces for monitoring and ' +
+ 'configuring power.',
+)