From d4e37aaf94ee50b1bcc271d81adab9fda2322833 Mon Sep 17 00:00:00 2001 From: Philip Joseph Date: Wed, 5 Apr 2017 06:42:30 +0000 Subject: [PATCH] More unittest fixes for projects Signed-off-by: Philip Joseph --- rwlaunchpad/plugins/yang/CMakeLists.txt | 16 +++++++++++++++- .../plugins/yang/rw-project-person-db.yang | 4 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/rwlaunchpad/plugins/yang/CMakeLists.txt b/rwlaunchpad/plugins/yang/CMakeLists.txt index cbdfcd01..4359bff5 100644 --- a/rwlaunchpad/plugins/yang/CMakeLists.txt +++ b/rwlaunchpad/plugins/yang/CMakeLists.txt @@ -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 ) diff --git a/rwlaunchpad/plugins/yang/rw-project-person-db.yang b/rwlaunchpad/plugins/yang/rw-project-person-db.yang index a1df18cb..c79d3342 100644 --- a/rwlaunchpad/plugins/yang/rw-project-person-db.yang +++ b/rwlaunchpad/plugins/yang/rw-project-person-db.yang @@ -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"; -- 2.25.1