Is there any Static Code Analysis Tool to verify API REST guidelines? - api

Thanks in advance for sharing your ideas and inputs.
We know there are many REST guidelines for API published these days. I use the below for internal code review.
https://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md
Is there any way I can automate the code review against the guidelines? Is there any specific tool for the same?
If no, can any of the available tool be configured with custom rules to check against the guidelines?
Any inputs are highly appreciated.
Thanks, Neel

I am using SwaggerHub which has built in standardisation checking but am playing with spectral to automatically review / lint against our standards.
API handyman/Arnaud Lauret
has an excellent series on how to do this and how spectral can be used to be an "Augmented API reviewer"

Related

Automate Xray Test Coverage/Traceability Matrix reports generation

I've reviewed Xray docs available here: https://docs.getxray.app/display/XRAYCLOUD/Version+2 but there are no endpoints for triggering generation of Test Coverage and Traceability Matrix based on specific criterias.
Is there an API available for automatic generation of Test Coverage/Traceability Matrix generation? Or do I need to do it manually via web browser?
Thanks a lot in advance for any suggestion!
Unfortunately and currently it is not possible to generate coverage or traceability reports from the API. I would suggest that you reach out Xray team and ask for an improvement request.

Please suggest any automation testing tool for IVR(Interactive Voice Response) testing?

I am looking for the automation of IVR process and scenario. Did some google search but did not get any good solution. My preference is Open Source and can be integrate with Java. If any paid tool also exist which have high capability of function and performance automation then also it will work for me.
Please suggest.
Thanks in advance!
You can use an Asterisk with a specific scenario, or SIPP in you use VoIP.
If you need to develop complex interactions with voice or DTMF, the standard dialplan or AGI could be boring... We had develop a free Asterisk Dialer script to apply a constant charge. Let me know if you need it.

what is swagger exactly ? And why doesn't the online editor run requests?

I've spent the last few days trying to understand if I should use api blueprint, RAML or swagger.
It looks like swagger has the biggest community but the closer I look the more I feel that it greatly lacks in documentation (I was forced to look at the code many times to try and integrate it with my current project), many github issues and stackoverflow questions are unanswered.
Is it possible that I am missing something here?
All I want is a tool to help me write the API documentation and test the endpoints.
Why must swagger become part of the server logic?? If I create swagger files in the editor and then serve them to the UI directly it breaks..
As far as I can tell it even makes the server slightly slower and forces the existence of many clumsily maintained integrations :p What am I missing here?
We're trying to work a lot on improving the documentation of Swagger. It's a bit more difficult when many of the projects are community-driven and not managed by a single organization.
We actually try to reply to issues on github quickly (we don't always succeed) and we have our own google group for general questions so we follow stackoverflow somewhat less.
The editor you mention is a new tool as part of the work on Swagger 2.0 and it's not final yet. As such, it still have a few bugs and missing features. The UI is also in the process of being adapted to Swagger 2.0 and the same limitations apply to it.
You most certainly don't have to integrate it with your server and you can expose the documentation statically. The advantage of integrating it with the server is that it's easier to maintain if the API changes.
You can try RAML + ramlev + Abao
The steps should be
Write API Spec in RAML with your fav editor, ie. Atom, vim
Validate your RAML with ramlev
Implement the server logic according API Spec
Validate server logic with Abao

How to configure KNIME/Weka to interact with my own software?

I have this task to bridge an analytics engine(like KNIME/Weka) to a software. However, I am new to KNIME and APIs and most of CSE.
Could someone possibly guide me as to how do I bridge the softwares? A brief explaining KNIME APIs would be very helpful or any other tips for that matter.
Thanks !!
Here are two links to use Weka from you Java code:
Basic tutorial 1
Basic tutorial 2
I cannot say how to use knime as I am mostly familiar with Weka.

Publishing Near Tool as a GP Service in ArcGIS Server 10

I am curious if someone has successfully published Near Tool as a service. This tool is located in Analysis Tools > Proximity. The tool updates the input layer it doesnot have an output layer. I am not sure if this possible or if there is a workaround.
Appreciate any ideas.
Thanks
Jay
Jay,
all tools have an output. If you don't see one in the user interface it is because it is considered a derived parameter/output. For more information please take a look at http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000063000000.
Once you place the tool inside a model you can specify the inputs and outputs explicitly. The complete sharing workflows are outlined and detailed with screen captures at http://resources.arcgis.com/en/help/main/10.1/index.html#//005700000047000000
Thomas