Service Virtualization

  • 1.  Can we connect to ArangoDB?

    Posted Dec 08, 2017 02:19 AM

    Hi Team,

    Can we connect to ArangoDB using CA Devtest?

    Thanks,

    Sneha



  • 2.  Re: Can we connect to ArangoDB?

    Broadcom Employee
    Posted Dec 08, 2017 11:17 AM

    Sneha,  I don't think we support ArangoDB with DevTest.

     

    Thanks

     

    Shiney  



  • 3.  Re: Can we connect to ArangoDB?
    Best Answer

    Posted Dec 08, 2017 11:38 AM

    If you have the ArangoDB JAR files, you can implement a JSR-223 step with code.

    I have coded Splunk queries using the Splunk (Job, ResultsReader, and Service) objects and queries.



  • 4.  Re: Can we connect to ArangoDB?

    Posted Jan 16, 2018 09:31 PM

    Thanks Joel. Could you provide the implementation details?



  • 5.  Re: Can we connect to ArangoDB?

    Posted Jan 17, 2018 08:23 AM

    Drop the ArangoDB JAR(s) in the LISA_HOME/hotdeploy.

    Research the ArangoDB documentation and determine which classes are required to execute a query.

    Set up a JSR-223 step with the code to execute the query.

     

    For Splunk, there are several classes that are used.

    com.splunk.ServiceArgs     // use this to setup user name, password, host machine and port

    com.splunk.Service         // use this to connect, login, and execute a query

    com.splunk.ResultsReaderXml // use this to Iterate the results of a Service.oneshotSearch call

    com.splunk.Job             // might be used as well

    com.splunk.JobArgs

     

    You need to figure out which classes and methods are called for an ArangoDB and see if you can get it to work.