[Mobies-commit] [commit] r3599 - UDM/trunk/src/UdmGme

endre at redhat1.isis.vanderbilt.edu endre at redhat1.isis.vanderbilt.edu
Wed Jan 5 01:09:48 CST 2011


Author: endre
Date: Wed Jan  5 01:09:47 2011
New Revision: 3599

Log:
Reference port preferences (registry values) are now visible in MGA, to match DOM and MEM implementations

Modified:
   UDM/trunk/src/UdmGme/UdmGme.cpp

Modified: UDM/trunk/src/UdmGme/UdmGme.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/UdmGme.cpp	Wed Jan  5 01:06:20 2011	(r3598)
+++ UDM/trunk/src/UdmGme/UdmGme.cpp	Wed Jan  5 01:09:47 2011	(r3599)
@@ -1440,6 +1440,16 @@
 						ret.push_back(new GmeObject(MGACOLL_ITER, mydn));
 					}
 					MGACOLL_ITERATE_END;
+
+					// if nothing in the model, make visible the registry setting
+					if (!ret.size()) {
+						fcos = RpHelperFindPeerFCOsFromRegistry(self, rname, meta.isNavigable(), (GmeDataNetwork *)mydn);
+						MGACOLL_ITERATE(IMgaFCO, fcos)
+						{
+							ret.push_back(new GmeObject(MGACOLL_ITER, mydn));
+						}
+						MGACOLL_ITERATE_END;
+					}
 				}
 				else if(mode == Udm::TARGETFROMCLASS) 
 				{


More information about the Mobies-commit mailing list