Hi, I've made some customizations on Data Model and I'm worrying about upgrading iTop. Will ITop upgrades overwrite or make incompatible my customizations made ONLY on data model?
As a secondary questions/suggestions:
I would like to store some passwords (yes I know that's not a good idea, but we need it). For that a new attributetype would be required: Password. The idea is to encrypt the attribute data on the database and better allow some type of 'grant' associated to a profile and restricted by Organizations/Teams.
For now, if I want to add this type of attribute (password) and add the needed code to do the encrypt/decrypt from the database where I have to start looking for?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
let me answer just the first of your questions: You should encapsulate your changes to the DM in a module, otherwise YES, they will be overridden by any upgrade. The Wiki describes how to do so.
On the second one, I think while the change itself is not huge, making ist would requre extensive knowledge about the iTop architecture. I'd suggest you contact combodo directly (or any of theil partners) and ask for an offer (I think they will need less time to implement your requirement than you would need to research which changes you would have to make).
Cheers,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
David, your answer causes me to question my assumtions about the iTop data model.
I thought that changes such as adding new CI types could be preserved when upgrading if those custom definitions were added to the new (upgrade version) data model (and dictionary) files.
Could you, or one of the iTop admins please clear this up for me (anf markfq)
Regards
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, new CI types are preserved on upgrades as long as the custom definitions are not overwritten when upgrading (i.e. make sure that the model.xxx.php files are not overwritten by their "standard" version coming from the iTop package).
Also it's good to know that iTop never deletes columns or tables from the database.In the (unlikely) event of an upgrade of iTop with a wrong data model, restoring the data model definitions (and running the setup again) will make your data re-appear.
Hope this helps,
- Denis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Hi, I've made some customizations on Data Model and I'm worrying about upgrading iTop. Will ITop upgrades overwrite or make incompatible my customizations made ONLY on data model?
As a secondary questions/suggestions:
I would like to store some passwords (yes I know that's not a good idea, but we need it). For that a new attributetype would be required: Password. The idea is to encrypt the attribute data on the database and better allow some type of 'grant' associated to a profile and restricted by Organizations/Teams.
For now, if I want to add this type of attribute (password) and add the needed code to do the encrypt/decrypt from the database where I have to start looking for?
Thanks.
Hi,
let me answer just the first of your questions: You should encapsulate your changes to the DM in a module, otherwise YES, they will be overridden by any upgrade. The Wiki describes how to do so.
On the second one, I think while the change itself is not huge, making ist would requre extensive knowledge about the iTop architecture. I'd suggest you contact combodo directly (or any of theil partners) and ask for an offer (I think they will need less time to implement your requirement than you would need to research which changes you would have to make).
Cheers,
David
David, your answer causes me to question my assumtions about the iTop data model.
I thought that changes such as adding new CI types could be preserved when upgrading if those custom definitions were added to the new (upgrade version) data model (and dictionary) files.
Could you, or one of the iTop admins please clear this up for me (anf markfq)
Regards
Paul
Yes, new CI types are preserved on upgrades as long as the custom definitions are not overwritten when upgrading (i.e. make sure that the model.xxx.php files are not overwritten by their "standard" version coming from the iTop package).
Also it's good to know that iTop never deletes columns or tables from the database.In the (unlikely) event of an upgrade of iTop with a wrong data model, restoring the data model definitions (and running the setup again) will make your data re-appear.
Hope this helps,
- Denis