Apigility RPC for IBM i Db2

Apigility RPC for IBM i Db2

Apigility Setup This example assumes a setup similar to the one described in Installing and Using Apigility on IBM i. The example repository can be found on github. Create New RPC Create a new RPC through the Apigility Admin Interface like normal. This will generate a Factory and Controller for the RPC service. Once that…

How to Add Filtering to Apigility

How to Add Filtering to Apigility

Setting Up Apigility This guide will be using the same project setup during my Apigility Entity & Mapper Tips article. The related github repo has been updated with the new source in this article. Create a Filters Class I found the best way to stay organized was to create a type of Helper Class called <ServiceName>Filters.…

Apigility with OAuth2 on IBM i

Apigility with OAuth2 on IBM i

Create the OAuth tables in DB2 These tables are created according to specifications from Zend Framework OAuth2. /** * Replace LIBRARY with the preferred library name. * Build OAuth tables for Apigility. * OAUTH_CLIENTS * OATUH_USERS * OAUTH_ACCESS_TOKENS * OAUTH_REFRESH_TOKENS * OAUTH_CODES * OAUTH_SCOPES * OAUTH_JWT * More details at https://github.com/zfcampus/zf-oauth2 */ /* BEGIN OAUTH_CLIENTS…