Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 source code is stored in GITLab in the restful project

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

The compiled classes are compressed into a JAR file called cacti.jar and stored in the /var/lib/tomcat6/webapps/restful/WEB-INF/lib directory. The classes themselves are stored in the /var/lib/tomcat6/webapps/restful/WEB-INF/classes/net/geant/cacti directory.

The web service uses a properties file that is stored in /var/lib/tomcat6/webapps/restful/WEB-INF/classes/net/geant/cacti/restful.properties. This file stores Application specific global variables.


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/

...