ColdFusion to Confluence Gateway/API
Posted by Russell Brown at 11:07 AM
0 comments - Categories:
ColdFusion | Confluence | Development
I needed to write some import scripts to move data from a dozen or so seperate simple apps into a Confluence Site [Atlassian]. The Confluence SOAP API is actualy very nice. My only major complaint so far is that there is no way to find out what the current version of a file is, aside from looping from version 1 - * until you get an error.
I wanted to write a single wrapper that would maintain my connection and handle some translation into some more friendly functions, so I wrote this API Interface. I didn't include a lot of commentary, although in a future release I will make sure to add more. That said, it should all be fairly self explanatory.
I'm mostly using this API to move PDF's from multiple applications into tied together Confluence sites. I'm using my Confluence Plugin: Advanced-Attachment-Viewer to show the results of these imports.