summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/backends/idoit-backend.js
Commit message (Collapse)AuthorAgeFilesLines
* [server/external-backends] Add error logging of object deletion in the ↵Jannik Schönartz2021-03-091-4/+9
| | | | external backends
* [server/external-backends/idoit] Add GPU information to the client if availableJannik Schönartz2020-12-151-0/+22
|
* [server/external-backends] Add timeout to infoblox, skip not connected ↵Jannik Schönartz2020-05-071-1/+3
| | | | backends in getDhcp and add better check forthe iDoIT response
* [server/external-backend/idoit] Catch better error messagesJannik Schönartz2020-04-291-2/+6
|
* [external-backends/idoit] Add more information in idoitJannik Schönartz2019-07-221-8/+109
| | | | | | | | | | Add contact assignment (Search by name in the idoit persons and link them) Add OS + version information Add network device speed/type/name Add dhcp active check for adding a client Small bugfixes Add console logs for the idoit add server requests
* [external-backends/idoit] Small bug fixJannik Schönartz2019-06-071-1/+1
|
* eslintJannik Schönartz2019-06-071-5/+4Star
|
* [external-backends/idoit] Add bay assignment to the rack segments.Jannik Schönartz2019-06-071-2/+16
|
* [external-backends/idoit] New idoit version -> bugfixes -> remove workaroundsJannik Schönartz2019-06-071-15/+13Star
|
* [server/external-backends] Parseint in the idoit update method because of ↵Jannik Schönartz2019-04-191-1/+5
| | | | externalId rework to string
* [server/external-backends] Add hostname and domain to the network object for ↵Jannik Schönartz2019-04-191-1/+2
| | | | the backends
* [server/external-backends/idoit] Network requests only send if a object gets ↵Jannik Schönartz2019-04-171-2/+2
| | | | updated.
* [server/registration] If domain gets updated without a hostname, use ↵Jannik Schönartz2019-04-171-1/+1
| | | | clientname as hostname
* [server/external-backends] Fix for the update client mehtod (unnecessary ↵Jannik Schönartz2019-04-171-29/+34
| | | | idoit calls)
* [server/external-backends] Fix iDoIT parent id String -> INTJannik Schönartz2019-04-161-0/+1
| | | | | Because of the rework of externalId from Integer -> String, which was needed for the Infoblox api, the idoit parents weren't set correctly
* [server/external-backends] Add dhcp update method & object mapping from ↵Jannik Schönartz2019-04-161-1/+0Star
| | | | existing entries
* [server/external-backends] Add direct sync in idoit for some functions ↵Jannik Schönartz2019-04-011-11/+58
| | | | (create client, add/remove client to/from groups)
* [server/registration] Performance improvements & add automatic registration ↵Jannik Schönartz2019-03-311-22/+8Star
| | | | | | | | | with custom name Manual registration now sends the client as json idoit: Add server bug fixes shell: Fix building pcbios ipxe version eslint fixes
* [external-backends/idoit] Add server rack segmentation & add multiple ip supportJannik Schönartz2019-03-251-22/+141
|
* [server/registration/backends] Rework addClient and updateClient to receive jsonJannik Schönartz2019-03-201-51/+81
| | | | | Add idoit workaround for saving floats again Rework the grepSystemInfo bash script to match the new api
* [server/registration] Add client with json instead of parameters (ipxe)Jannik Schönartz2019-03-181-6/+24
|
* [server/registration] Add server registrationJannik Schönartz2019-03-181-4/+7
|
* [server/registration] Add log to the first registration.Jannik Schönartz2019-03-151-2/+2
|
* [external-backeds] Big idoit rework, to match the updated apiJannik Schönartz2019-03-151-671/+316Star
|
* [external-backends] Passwords are not send to the frontend anymoreJannik Schönartz2019-03-101-4/+4
| | | | | Change error responses to the new response scheme Add set password button in the frontend to deal with the no password policy
* [server] New clients are automaticly added to the groups of the fitting ↵Jannik Schönartz2019-03-071-2/+2
| | | | | | | | | | subranges Add conflict models Sequelize string operators depricated fix IPv4 is now saved as decimal in the database Add host to config instead of hardcoding Rename ip.js lib to iphelper.js
* [server] Fix ipxe sendlog. Fix idoit missing try catch.Jannik Schönartz2019-03-051-3/+5
|
* [external-backends/idoit] Fix idoit objecttype idsJannik Schönartz2019-03-051-4/+4
|
* [server] Fix idoit client id and default efi chainJannik Schönartz2019-03-051-1/+2
|
* [authentication] Implement initial root account setupJannik Schönartz2019-02-221-2/+2
| | | | | | | | | | [backend] Reworked authentication library to the api structure Add authentication api to remove the login routes from the router.js [webapp] Split login Page in StartPage + Login/Setup Add Setup Page for the initial root creation
* [external-backeds] Add get file for the iDoIT backendJannik Schönartz2019-02-031-1/+72
| | | | | /api/backends/:id/:uuid/files -> File list for the backend (:id) and the client (:uuid) /api/backends/:id/:uuid/files/:filename -> Content of the file (:filename) from the client (:uuid) in the backend (:id)
* [server] eslint fixesJannik Schönartz2019-01-131-6/+10
|
* [server] Add ipxe efi support. Grep hw drive infoJannik Schönartz2019-01-131-3/+41
| | | | | | | Grep drive info and upload it to idoit Add EFI / BIOS configs for building ipxe Add function to build efi ipxe version Add default.ipxe script
* [registration/idoit] TPM upload functionality + improve hw specsJannik Schönartz2018-12-111-57/+76
| | | | | | Improved IdoIT hw specs capture. Including multiple ram slots. Set purpose of the automatic registration to Pool PC. Added upload files to idoit for uploading the tpm and ssl key.
* eslint fix :)Jannik Schönartz2018-12-031-32/+32
|
* [idoit] Add idoit add / update functionalityJannik Schönartz2018-12-031-51/+237
| | | | | | | | | | backend_x_ db changed. (Not storing NULL clientids anymore) Therefore the backendobject needs to be deleted before the client in the bas db is deleted. Uploading a file in idoit method added. Testing method for uploading files via curl for the tpm stuff. Added feedback option, to get a api-viable returnvalue and not the ipxe script. idoit update method for the additional hw values added. hwinfo script should now collect and update some informations. Testing inc.
* [idoit] Clients are now added to the idoit backendJannik Schönartz2018-11-121-0/+224
| | | | | | | | Delete client in the backends if client is deleted in the bas. Add method for creating the client in the backends Add method for adding additional information to the client in the backend Add backend helper for calling all backends with the matching external id Add idoit mehtod for creating and updating a client
* [iDoIT] Rework the import method to use batch requestsJannik Schönartz2018-11-041-10/+41
| | | | The use of batch request reduce the import time from 1h 10+ min to about 5 min.
* [external-backends/idoit] Rework getDataTree from promises to async / awaitJannik Schönartz2018-09-171-29/+35
|
* [external-backends] Add getClient methods for all backendsJannik Schönartz2018-08-291-1/+66
| | | | | | | Delete dummy and another backends. Extend template-dummy for testing stuff. Add getClient method for dhcp and idoit backends. Fixed appendicon for selections.
* [registration/dhcp] Implement dhcp as external-backendJannik Schönartz2018-08-281-1/+1
| | | | | | | | Registration -> Registrations to match API guidelines. Fixed shell script to only build undionly.kpxe. Added infoblock external-backend. Removed dhcp from config.json Fixed ipxe scripts to match the registrations.
* [server/external-backends] Implemented import Objects from iDoITJannik Schönartz2018-08-061-26/+94
| | | | | | renamed external-backends.js in index.js so its return when requireing the folder Added new tables for the external id mapping for clients / groups iDoIT method for importing Objects and adding them in the db with all neccessary constraints
* [external-backends] Added comments for the API functions and in the ↵Jannik Schönartz2018-08-051-1/+24
| | | | external-backend prototype file. Added iDoIT method to get a list of all objects.
* [external-backends] Sync types are now defined in the backend classes, so ↵Jannik Schönartz2018-08-041-0/+4
| | | | every backend can define their own sync methods.
* [server/external-backends] Added sync settings for the backends. Method for ↵Jannik Schönartz2018-08-021-3/+29
| | | | getting the backend oject types and the client / group mapping saved in the db.
* [server/idoit] iDoIT api call returns now the object itself and the childs.Jannik Schönartz2018-07-311-1/+9
|
* [server/external-backends] Added iDoIT Api call for getting the locationtree ↵Jannik Schönartz2018-07-311-22/+72
| | | | of an object.
* [server/external-backends] Implemented checkConnection of iDoIT. Simple auth ↵Jannik Schönartz2018-07-301-4/+55
| | | | call is made with error handling.
* [server/backends] Added iDoII Backend. Implemented a checkConnection method ↵Jannik Schönartz2018-07-261-0/+27
for each individual backend. Switches in backends can now have recursive elements. They are only shown if the switch is set to true.