datainjection icon indicating copy to clipboard operation
datainjection copied to clipboard

Adding some missing asset injection classes

Open Mirkk opened this issue 1 year ago • 2 comments

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.

Mirkk avatar Oct 12 '23 16:10 Mirkk

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.

Mirkk avatar Nov 17 '23 12:11 Mirkk

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

stonebuzz avatar Feb 21 '24 08:02 stonebuzz