Basically I would like a TFS SDK that I can uses to retrieve files from source control.
Does something like this exist for Java? My searching only returned results from 2007 about rumors that Teamprise was working on a SDK.
You can now download a TFS SDK for Java provided by Microsoft here.
I don't know about an SDK, but if you connect to the TFS URL, you will see that it's actually a standard SOAP webservice with functions pretty much matching the .NET SDK functions 1:1. The rest should be straightforward.
Teamprise plugin is now called "Team Explorer Everywhere" and has a java based command line client (TEE-CLC), also have a look at SvnBridge which would let you use subclipse/other svn clients to connect to TFS.
Another way, suggested by Robaticus in comments is to use the command line utilities that come with TFS. Simple and reliable, although less integration.
Added: The CLI utilities come with TFS itself. A quick google query reveals the official documentation.
A third possibility that came to my mind is to use a Java-to-.NET bridge. There are a few to choose from. This way you can use the original MS libraries.
Related
We are switching our payment gateway to Tyro. Here is the documentation: https://ecommerce.tyro.com/commerce/docs/apidoc/cardToken?api=payments
I am a Coldfusion programmer. Can I get some advice on the best way to implement this in Coldfusion? There are java and PHP examples given, however I only know Coldfusion and I'm not sure which is the best way to get started is.
You'll need to use the Java SDK:
Load the JAR files into the CF server
Learn how to use 3rd party Java libraries with ColdFusion
Translate the Java examples to CF code.
Doubtful you'll find any examples of how to directly to that with CF. You'll have to find examples of how other 3rd party libraries are used with CF.
You may also check if they have RESTful APIs that you can use with CFHTTP instead.
I have a very basic REST API that provides some information, which was written with JAX-RS.
Now I want to implement some azure cli commands, like az acr repository list as well as kubectl.
I found the Azure Java SDK, and read its API reference, but I couldn't figure out how I will basically list the repositories.
Kubernetes example is much better, but I am stuck with Azure Container Registry.
Basically I am asking a code sample (reference), or tutorial, or guidance.
Whatever my experience of using Azure docs, it's little hard to find API doc which will work for you and you may found some discrepancies between docs like one of API via cli vs sdk behaves different.
As per my work with various clouds, most of the cloud clients are inclined to use python SDKs. 3-4 ago, I had used java for openstack, now python. For VCloud, used java but now moving to python, in fact they stopped to provide java sdk.
Hope you have got some pointers.
I need to write an application that can check out an SVN revision to reference in the local filesystem. Is there an API that makes easy work of this? Other options include getting right down to the socket layer and writing the files myself or (absolutely do not want to do this, but it has to be left as a valid option ->) making calls to an external svn client on the local machine.
I personally like SVNKit for Java. I have used both the IDE plugins and the API itself and it provides plenty of functionality for interfacing with an SVN and diffing specific files
There are Subversion bindings or libraries for C/C++, Python, Java, Perl, .NET and I'm sure other environments I'm overlooking.
SVNKit is the first hit on Google when searching for "subversion Java".
I've got a couple of projects where it would be useful to be able to interact with an SVN server from Google App Engine.
Pull specific files from the SVN (fairly easy, since there is a web interface which I can grab the data off automatically, but how do I authenticate)
Commit changes to the SVN (this is the really hard/important part)
Possibly run an SVN server (from an App Engine app, I'm guessing this isn't possible)
I would prefer a python solution, but I can survive with Java if I must.
you can try using SVNKit with the java runtime
DryDrop (http://drydrop.binaryage.com/) is a Git based solution you may want to look at for comparison of what you're trying to do.
You can talk to a svn server(if setup with apache running mod_dav_svn) using the webdav protocol. See apache's implementation details Problem is that google appengine's urlfetch system doesn't allow for HTTP request methods other then GET, POST, HEAD, PUT and DELETE. (webdav uses custom request methods like PROPFIND, PROPPATCH, etc..) So at this time you are restricted to just viewing the contents of the svn server.
You can however use google appengine to implement a webdav provider. Have a look at the gae-webdav project for more information.
I need to make my Java program as a PlugIn to OME - an Image processing web based s/w having Java API
www.openmicroscopy
OmeroJava is the appropriate API for the latest version of OME (OMERO 4.2), if you are writing a client. If you would like to embed your code inside of Insight (the OMERO Java client), then you should start with How to write a client. Other links to OME-Java libraries are for a legacy version and should not be used.
Looks like the Open Microscopy Java API is worth investigation. If it's not, it's worth highlighting in your question as to why it's not suitable (marked as legacy?)