Project

General

Profile

Actions

Bug #1060

open
NB PS

cddcheck response format

Bug #1060: cddcheck response format

Added by nanon buaphet about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
08/21/2026
Due date:
% Done:

0%

Estimated time:

Description

  1. ถ้าไม่ได้เช็คไม่ต้องส่งมา
  2. message : "open circuit break" ส่งเข้ามาใน key "message" ของแต่ละ service จะได้รู้ว่า service ไหนที่ down
  3. แทนที่จะเพิ่ม pending, เปลี่ยน status จาก true/false เป็น string "SUCCESS" | "FAILED" | "PENDING" (ควรจะมี pending ไหม)
  4. status:true คืออะไร status:false คืออะไร (ผ่านหรือไม่ผ่าน) (ถ้า false คือไม่ผ่าน อันอื่น false ก็ต้องเป็นไม่ผ่าน)*
  5. checkcdd - เช็ค dopa ก่อนถ้าไม่ผ่าน return ว่าไม่ผ่านเลย, ถ้าผ่านค่อยไปเช็คกับ cdd อื่นๆ
Actions

Also available in: PDF Atom