通过API实现主机应用程序通信
Enabling Communication via APIs for Mainframe Applications
AI总结:
提出一个框架,通过静态分析自动识别遗留主机应用程序的候选API并计算其签名,减少API化工作量,并已在IBM Z系统上验证可行性。
摘要:
主机系统持续支持银行、零售和医疗保健等行业的关键应用程序。通过应用程序编程接口(API)暴露其功能,可以实现重用和新应用程序的开发,但为遗留代码识别和实现API仍然具有挑战性。这需要理解复杂的程序、分离依赖组件、引入新的工件,并保持功能和服务水平协议(SLA),如周转时间(TAT)。我们提出了一个用于遗留主机应用程序API化的框架。候选API从诸如事务、屏幕、控制流块、微服务间调用、业务规则和数据访问等工件中识别。然后使用静态分析(包括活跃变量和到达定值分析)遍历代码,并自动计算由请求和响应字段组成的API签名。我们通过对九名平均具有15年经验的主机开发人员进行定性调查,使用公共GENAPP应用程序和两个工业主机应用程序评估了该框架。结果表明,该框架识别了额外的候选API,并减少了API化的实现工作量。API签名计算已集成到IBM watsonx Code Assistant for Z重构助手中。我们进一步通过在IBM Z主机系统上执行所识别的API来验证它们,证明了该方法的实际可行性。
英文摘要:
Mainframe systems continue to support critical applications across industries such as banking, retail, and healthcare. Exposing their functionality through Application Programming Interfaces (APIs) enables reuse and development of new applications, but identifying and implementing APIs for legacy code remains challenging. It requires understanding complex programs, separating dependent components, introducing new artifacts, and preserving functionality and Service Level Agreements (SLAs) such as Turnaround Time (TAT). We propose a framework for APIfication of legacy mainframe applications. Candidate APIs are identified from artifacts such as transactions, screens, control-flow blocks, inter-microservice calls, business rules, and data accesses. Static analyses, including liveness and reaching definitions, are then used to traverse the code and automatically compute API signatures consisting of request and response fields. We evaluated the framework through a qualitative survey of nine mainframe developers with an average of 15 years of experience, using the public GENAPP application and two industrial mainframe applications. The results show that the framework identifies additional candidate APIs and reduces implementation effort for APIfication. The API-signature computation has been incorporated into IBM watsonx Code Assistant for Z Refactoring Assistant. We further validated the identified APIs by executing them on an IBM Z mainframe system, demonstrating the practical viability of the approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。