Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little Question #31

Open
Modius22 opened this issue Mar 21, 2017 · 9 comments
Open

Little Question #31

Modius22 opened this issue Mar 21, 2017 · 9 comments

Comments

@Modius22
Copy link

Hi Guys,
Is an expansion planned for the OTRS CMDB?
greetings
Modius

@mjducharme
Copy link
Collaborator

I plan to do this in a few months after upgrading OTRS. A bug in the OTRS SOAP interface prevented me from even fetching a config item.

@ewsterrenburg
Copy link
Owner

ewsterrenburg commented Mar 21, 2017

We are not using this functionality in our OTRS (actually, I more or less only use this library to create example soap requests ;), yet I'd be happy to merge.

@mjducharme
it seems you are doing more of the work than I am, if you want to become owner of this project, that's fine with me (you should have an invite now as a collaborator)

@Modius22
Copy link
Author

Modius22 commented Jun 4, 2017

To explain this perhaps again more precisely =)
I would like to query a CI from the OTRS CMDB from the outside.
As a return I would like to have the CI information as well as the tickets with which the CI is linked.
Do you have an idea?

@mjducharme
Copy link
Collaborator

Yes, please give me another week and I should have this functionality developed.

@mjducharme
Copy link
Collaborator

I have made progress but this is still not done. The main challenge is that the XML data for the CI objects has a very dynamic tree structure, so I need to create classes on-the-fly instead of using statically defined classes. This requires some changes to the core code.

@mjducharme
Copy link
Collaborator

I got the dynamic classes working, but decided it was not the best UI experience for the CIXMLData structure. Since that data structure can have multiple levels of children and is very flexible, I am using a dict for that, and created new functions to recursively create a dict from xml or xml from dict. It is about 80% complete. I have to fix the Attachments feature because for some reason in Config Items the attachment is under the "ConfigItem" structure inside Data instead of in the Data structure, so it doesn't correspond precisely with the way the ticket functions and FAQ functions use the attachments. I need to do a few more fixes to get the attachments to work properly.

@edgarcsilva
Copy link

HI @mjducharme !

Great job you is doing.

@JulianDeal
Copy link

@mjducharme
This all sounds great! But you didn't push your work, did you? It would be extremely helpful for me right now. Or at least branching it. I don't even need the attachment feature.

@ewsterrenburg
Copy link
Owner

@mjducharme
Have you looked into this in the mean time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants