-
1. Re: getVDBImports returns empty list, dynamic becomes false when importing VDB becomes ACTIVE
shawkins Feb 21, 2013 2:40 PM (in response to dcaros)Danny,
Yes, those values are not currently copied over. I don't believe there is a reason for that that. Can you log an issue?
Steve
-
2. Re: getVDBImports returns empty list, dynamic becomes false when importing VDB becomes ACTIVE
dcaros Feb 21, 2013 5:53 PM (in response to shawkins)Hi Steve,
Let me explain what I am doing before I open an issue, maybe I am going about this the wrong way..
I am calling the adminapi getVDB() on a VDB that imports other VDBs. Then I am calling getVDBImports() on the VDB object that is returned. If this importing VDB object is in a LOADING state, it returns correct list of imported VDBs. If it is in an ACTIVE state, the call to getVDBImports() returns an empty list. We need a way to get imported VDBs when an importing VDB is ACTIVE. We want to be able to recreate a VDB xml file from the object that is returned from getVDB() and need information on imported VDBs.
I also noticed the "dynamic" value changing when an importing VDB goes from LOADING to ACTIVE and thought it was strange, but not important to what I am doing, but this lead me to invetigating CompositeVDB and the buildCompositeState method.
Let me know if I should go ahead and open an issue.
Thanks,
Danny
-
3. Re: getVDBImports returns empty list, dynamic becomes false when importing VDB becomes ACTIVE
shawkins Feb 21, 2013 6:25 PM (in response to dcaros)> Let me know if I should go ahead and open an issue.
Yes, go ahead and log an issue. I'll also make sure that imported models don't inappropriately show up if using the VDBMetadataParser.
Steve
-
4. Re: getVDBImports returns empty list, dynamic becomes false when importing VDB becomes ACTIVE
dcaros Feb 21, 2013 6:32 PM (in response to shawkins)Opened issue TEIID-2405
Thanks,
Danny
-
5. Re: getVDBImports returns empty list, dynamic becomes false when importing VDB becomes ACTIVE
shawkins Feb 22, 2013 9:50 AM (in response to dcaros)Ok, the fix will be in 8.3 CR1.
Thanks,
Steve