Giter Site home page Giter Site logo

idapi-wrapper's Introduction

Synopsis

IDAPI-wrapper is a way to simplify the use of IDAPI (Information Delivery API) for use with Actuate iServer/iHub. As well as simplify the API, it also allows you to chain tasks, together so you only authenticate 1 time, and re-use that authenticated session for other calls. This is achieved because everything is derived from the same BaseController which can use another BaseController as part of the constructor. By chaining the API tasks like this, your code remains compact, and most tasks can now be completed in 2 lines of code. No need to worry about Authentication tokens and Connection Handles.

Code Example

Sample Execute a Report

ReportExecuter reportExecuter = new ReportExecuter("http://localhost:8000", "Administrator", "password", "Default Volume");
String id = reportExecuter.executeReport("/My Report.rptdesign", "/My Output.RPTDOCUMENT");

Sample Convert to PDF and download report output (use previously created reportExecuter to chain constructors, maintain AuthId)

BIRTContentViewer birtContentViewer = new BIRTContentViewer(reportExecuter);
birtContentViewer.viewToFile("/My Output.RPTDOCUMENT", "PDF", "Sample Output.pdf");

Motivation

IDAPI (Information Delivery API) is a very powerful API for the Actuate iServer/iHub platform. It includes many options and parameters, and as such can be very wordy.

IDAPI-wrapper was created to simplify most common tasks associated with using the API. It handles some of the nuances such as AuthId and ConnectionHandle parameters.

This project was created and currently maintained by Actuate employees, based on the need to continously do the same IDAPI operations over and over again for different customer implementations. From that need, and the will to write once use everywhere, IDAPI-wrapper was born.

Since IDAPI calls are often made as part of a software release process or build, we have included ANT tasks components for some of the wrapper calls. This allows you to now script your entire release process using ANT, which will leverage the appropriate IDAPI operations to push and secure your artifacts onto the server.

IDAPI-wrapper can also be used as a best practices and reference implementation of proper use of IDAPI for your own projects.

Installation

Include in your Java project. All libraries (.jar) referenced by project must be in Java classpath

API Reference

Please refer to Actuate Information Delivery API reference docs

Tests

Tester class includes many test cases, and reference implementations.

Contributors

Pierre Tessier - Actuate Corporation - Project Lead
Rob Murphy - Actuate Corporation - Lead Developer

License

IDAPI-wrapper is licensed under the Eclipse Public License v1.0 http://www.eclipse.org/legal/epl-v10.html

idapi-wrapper's People

Contributors

puckpuck avatar robmurphy avatar krisclarkdev avatar kclark-krisbox avatar

Watchers

standart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.