CMDBuild Forum

Few question regarding Basic Connector 1.5

Hello, I've read a manual to basic connector 1.5 and some thing are not clear to me. Hopefully somebody can explain them to me.
 
I am using postgresql database as external data source (not OCS one) and I'm not sure how should I create views mentioned in the manual. I understand what's catalogue view for, but struggling by master and slave views. 
 
Lets say there are several classes in my CMDB and none of them are of the same type or anyhow connected . For example server, virtual server, storage system, etc.  These classes are in my sync database represented as tables with the same name as there are classes in CMDBuild.  Of course each of classes has it own attributes, in tables represented as columns.
Now, the question is how should be done aforementioned master/slave views thing? Is it really necessary 
to have both master and slave views ?  An example would be helpful.
 
Question number two is, is process to managed changes necessary if I want to update CMDB immediately?
 
Thank you!
From how I understand it (I really wish the developers were more active on here in answering questions) I don't think you can do what you want with the basic connector. Master/slave views are used to define relationships between items. For example, in OCS Inventory, the master would be the device, while the slave views would be the monitors, storage, memory, etc. that are connected to that device.
 
In your world, you have multiple masters but all in the same database. Since the CMDBuild_catalog view is (I believe) hard-coded into the connector, there isn't a way to have multiple masters even if you set up multiple instances of the connector. For my implementation I am going to have two different connectors running, one for LDAP and one for OCS. That works because they are going against different data sources. With yours using a single database I don't know of a way for you to have multiple master views.
 
For question #2, you're going to need one of the devs to chime in. The way the basic connector is written, I know know of a way to make it work without the workflow engine.
 
Previously Juraj Funcik wrote:
Hello, I've read a manual to basic connector 1.5 and some thing are not clear to me. Hopefully somebody can explain them to me.
 
I am using postgresql database as external data source (not OCS one) and I'm not sure how should I create views mentioned in the manual. I understand what's catalogue view for, but struggling by master and slave views. 
 
Lets say there are several classes in my CMDB and none of them are of the same type or anyhow connected . For example server, virtual server, storage system, etc.  These classes are in my sync database represented as tables with the same name as there are classes in CMDBuild.  Of course each of classes has it own attributes, in tables represented as columns.
Now, the question is how should be done aforementioned master/slave views thing? Is it really necessary 
to have both master and slave views ?  An example would be helpful.
 
Question number two is, is process to managed changes necessary if I want to update CMDB immediately?
 
Thank you!