MDRest4i 14 Development Overview
The MDRest4i Development Process
The MDRest4i SDK uses templates to create a basic OAPI (SWAGGER) specification.
The user then adds details according to requirements in the form based SDK GUI.
The SDK extracts OAPI schemas for payloads from many different types of source information(DDS).
The user then assigns these schemas to request or response payloads, and generates the RPG or COBOL code.
MDChange DevOPs requests can be triggered at this stage if available.
The user then manually adds their own logic to the generated programs to handle getting data to and from payloads, calls to existing assets, business logic and any additional messages. The MDRFRAME ILE framework functions can be called to customize, or add to the data and flow of the generated code.
Compile and test as normal.
The MDRest4i Concept
MDRest4i is a combination of ILE Framework and automation tools, that simplify REST API and REST client development on IBM i.
MDRest4i Components
MDRFRAME Framework - a native IBM i ILE framework for building REST API's and REST Clients in any ILE language
SDK - a Software Development Kit, that automates the generation of REST API and Rest Client Programs that use the MDRFRAME framework
Portal - a generator, editor and web portal for REST API documentation
REST API Runtime Architecture
REST API's are also referred to as Providers. More details available in the REST API-Provider section.
REST Client Runtime Architecture
REST Clients are also referred to as Consumers. More details available in the REST CLIENT-Consumer section.