You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The CACTI web service is located on prod-cacti01-fra-de.geant.net server, and is a Java based web service developed using the Jersey libraries.

The application is a Apache Tomcat application named restful which connects to the MySQL database called cacti using the user cactiuser and the password that is stored in the Systems KeyPass

If you have the POSTMAN Chrome Plugin installed (https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) it is possible to review the options within the web service by using the HTTP method of OPTIONS and the endpoint: http://cacti.geant.net:8888/restful/resources/cacti/

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://wadl.dev.java.net/2009/02">
         <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.14 09/09/2012 05:39 PM"/>
         <grammars/>
         <resources base="http://cacti.geant.net:8888/restful/resources/">
                <resource path="cacti/">
                       <resource path="/about/">
                              <method id="getVersion" name="GET">
                                      <response>
                                             <representation mediaType="application/xml"/>
                                     </response>
                             </method>
                     </resource>
                     <resource path="/create/">
<method id="createService" name="POST">
<request>
<representation mediaType="*/*"/>
</request>
<response>
<representation mediaType="*/*"/>
</response>
</method>
</resource>
<resource path="/delete/{id}/">
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" style="template" type="xs:string"/>
<method id="deleteService" name="DELETE">
<response>
<representation mediaType="*/*"/>
</response>
</method>
</resource>
</resource>
</resources>
</application>


  • No labels