Database API GeneratorOverviewThe Database API Generator automates the creation of REST APIs that access business data, so that developers can quickly and easily create new or integrate with existing web, mobile, or cloud-based applications. By providing a VS Code extension that helps developers use their existing skills, organizations can better leverage the mainframe to run their businesses and utilize existing business assets more quickly and effectively.
The Database API Generator VS Code extension generates Zowe conforming REST APIs to access database resources without writing any Java code. The extension provides a TreeView interface for you to discover the tables, views, and procedures for a JDBC enabled database, such as Datacom or IDMS, and generates the Java model, controller, and service classes to implement the API for the selected database objects. The Database API Generator extension uses the Database Metadata Service to discover the database objects. The Database API Generator is used with a Spring Boot project that provides the framework for the client application. You can create your own project or use the available Database API Sample project. LicensesBefore downloading this extension, review the Broadcom License Agreement. Features
Requirements
UsageThe Database API Generator is designed to be used from a project that already includes the Spring Boot application framework.
Create a file named Example
The dependencies to mention here would be the Database Metadata Service, which is required, and the Database API Sample project is recommended. For complete information on using the Database API Generator see Techdocs here. Demonstration:After defining the This view shows a cascading tree from Metadata Service -> Data Source (IDMS CV) -> Schema -> Tables -> Employee Table. Right click on a table to show this menu with an option to Generate API. You can also right click on a SQL view to generate an API endpoint. On a database that supports SQL Stored Procedures, an API endpoint can be generated for simple SQL Stored Procedures. Alternatively, you can right click on the database schema to generate API endpoints for each table and view. Extension SettingsBelow are the optional extension settings:
Release Notes1.0.0
1.0.1
1.0.2
|