Invention Grant
- Patent Title: Asynchronous consumer-driven contract testing in micro service architecture
-
Application No.: US16202901Application Date: 2018-11-28
-
Publication No.: US10698798B2Publication Date: 2020-06-30
- Inventor: Yingqiao Liu
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F11/36
- IPC: G06F11/36 ; H04L29/06 ; H04L29/08 ; G06F9/54

Abstract:
A method of verifying, during a continuous integration (CI) and continuous delivery (CD) process, that an asynchronous message contract between a consumer service and a provider service in a microservice architecture has not been broken by a change to the provider service is disclosed. The asynchronous message contract is retrieved from a central server. A test message queue is created, the test message queue being separate from an existing message queue. Generation of a message based on a precondition specified in the asynchronous message contract is triggered. The message is retrieved from the test queue. The message is verified according to the asynchronous message contract, the verifying based on a build error not being generated during the CI and CD process.
Public/Granted literature
- US20200167267A1 ASYNCHRONOUS CONSUMER-DRIVEN CONTRACT TESTING IN MICRO SERVICE ARCHITECTURE Public/Granted day:2020-05-28
Information query