CMDBuild Forum

Request: Acces to CIs via URL

Sometimes it will be nice to acces to CIs from outside via an url, for example: http://<server>/CMDBuild/CI/Hardware/Server/ServerName

 
In that way, documentation external to the CMDB or other tools, like Nagios or others have a way to refer to the CI.
 
Thanx

As they say these days:

 

+1

 

--

Ståle

What would that URL do? Would it open CMDBuild and select the server specified in the URL? Or are you thinking of REST APIs?

 
Paolo
 

Personally, I'd like it to open Cmdbuild and go to a specific CI. As in

 

http://server/cmdbuild/superclass/.../superclass/class/card

 

--

Ståle

 

 

The class hierarchy would not need to be specified, since a class name is unique in the database. Then we would need a prefix for those kind of URLs. The pattern in my opinion might look like this:
 
http://server/cmdbuild/permalink/<classname>/<attributename>/<attributevalue>
 
With this pattern, to open a CI that has IP 1.2.3.4 from the Server class we would point the browser to:
 
http://server/cmdbuild/permalink/Server/IP/1.2.3.4
 
The authentication page would need to be altered as well, since it does not handle redirects after the access (it always redirects to the management page).
 
This feature looks interesting but alas Tecnoteca (CMDBuild's maintainer) has currently a backlog of features for the next few months. It's unlikely that we are going to have time for that, but feel free to contribute to the project if you like: it's on BitBucket (https://bitbucket.org/tecnoteca/cmdbuild/).
 
Paolo

 

A very good, idea. It would be very useful, we’ve the same need too.

Today we already do the same thing between Nagios and a CRM (that we're going to leave to implement CMDBuild)

Previously Tecnoteca wrote:

What would that URL do? Would it open CMDBuild and select the server specified in the URL? Or are you thinking of REST APIs?
 
Paolo
 

I'd say that would be really nice to have REST API integrated too ...

The new CMDBuild “mobile” interface we are working on will use REST API.
W
e are not yet able to indicate the date on which the work will be finished.
CMDBuild Team