More unittest fixes for projects 99/1499/1
authorPhilip Joseph <philip.joseph@riftio.com>
Wed, 5 Apr 2017 06:42:30 +0000 (06:42 +0000)
committerPhilip Joseph <philip.joseph@riftio.com>
Wed, 5 Apr 2017 06:42:30 +0000 (06:42 +0000)
Signed-off-by: Philip Joseph <philip.joseph@riftio.com>
rwlaunchpad/plugins/yang/CMakeLists.txt
rwlaunchpad/plugins/yang/rw-project-person-db.yang

index cbdfcd0..4359bff 100644 (file)
@@ -27,7 +27,6 @@ set(source_yang_files
   rw-image-mgmt.yang
   rw-pkg-mgmt.yang
   rw-staging-mgmt.yang
-  rw-project-person-db.yang
   )
 
 ##
@@ -80,4 +79,19 @@ rift_add_yang_target(
     rwconfig_agent_yang
     mano-types_yang
     rwprojectmano_yang
+    # Added to make sure that the target is built,
+    # Not required b mano yang
+    rw_project_person_yang
+
+)
+
+rift_add_yang_target(
+  TARGET rw_project_person_yang
+  YANG_FILES
+    rw-project-person-db.yang
+  COMPONENT ${PKG_LONG_NAME}
+  LIBRARIES
+    rwprojectmano_yang_gen
+  DEPENDS
+    rwprojectmano_yang
 )
index a1df18c..c79d334 100644 (file)
@@ -20,8 +20,8 @@
 
 module rw-project-person-db
 {
-  namespace "http://riftio.com/ns/riftware-1.0/rw-launchpad";
-  prefix "rw-launchpad";
+  namespace "http://riftio.com/ns/riftware-1.0/rw-project-person-db";
+  prefix "rw-project-person-db";
 
   import rw-pb-ext {
     prefix "rwpb";