datainjection
datainjection copied to clipboard
Adding some missing asset injection classes
Hi all,
I added some missing asset injection classes. They are now successfully in use on production servers since more than one year, and I would like to share them with you:
[softwareversioninjection.class.php] and [item_softwareversioninjection.class.php]: adding software, a "version" is required. With these additions it works to import software for a computer.
new files registered in setup.php: [computervirtualmachineinjection.class.php]: for adding VMs to computers [item_diskinjection.class.php] for adding disks
Feel free to modify and format each part of this code - I am not a php programmer and did these without an IDE and in part by trial and error to find ways to complete the imports.
There are still many parts missing in datainjection - i hope that this could be a way to slowly complete them. PS: sorry, please ignore the first commit in this pull request - it is just from a merge of the latest release to the actual head.
Sorry, there are some issues on VM import - please wait with using this code. Moreover, I don't understand why a subsequent commit on my repo ("Added schedulable imports with an AutomaticAction") was included in the push request here.
I don't understand why a subsequent commit on my repo
seems introduceb by this commit bf7696e
a revert of this commit should be enough