Perbaikan Lanjutan
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# services-config-simple.yaml
|
||||
# BPJS Services Configuration
|
||||
global:
|
||||
module_name: "api-service"
|
||||
output_dir: "internal/handlers"
|
||||
@@ -16,46 +16,37 @@ services:
|
||||
retry_count: 3
|
||||
endpoints:
|
||||
peserta:
|
||||
methods: ["GET"]
|
||||
get_path: "/peserta/:nokartu"
|
||||
model: "PesertaRequest"
|
||||
response_model: "PesertaResponse"
|
||||
description: "Get participant eligibility information"
|
||||
summary: "Get Participant Info"
|
||||
tags: ["vclaim", "peserta"]
|
||||
cache_enabled: true
|
||||
cache_ttl: 300
|
||||
bynokartu:
|
||||
methods: ["GET"]
|
||||
get_path: "/peserta/:nokartu"
|
||||
model: "PesertaRequest"
|
||||
response_model: "PesertaResponse"
|
||||
description: "Get participant eligibility information by card number"
|
||||
summary: "Get Participant Info by No Kartu"
|
||||
tags: ["vclaim", "peserta", "nokartu"]
|
||||
cache_enabled: true
|
||||
cache_ttl: 300
|
||||
bynik:
|
||||
methods: ["GET"]
|
||||
get_path: "/peserta/nik/:nik"
|
||||
model: "PesertaRequest"
|
||||
response_model: "PesertaResponse"
|
||||
description: "Get participant eligibility information by NIK"
|
||||
summary: "Get Participant Info by NIK"
|
||||
tags: ["vclaim", "peserta", "nik"]
|
||||
cache_enabled: true
|
||||
cache_ttl: 300
|
||||
sep:
|
||||
methods: ["GET", "POST", "PUT", "DELETE"]
|
||||
get_path: "/sep/:nosep"
|
||||
post_path: "/sep"
|
||||
put_path: "/sep/:nosep"
|
||||
delete_path: "/sep/:nosep"
|
||||
model: "SepRequest"
|
||||
response_model: "SepResponse"
|
||||
description: "Manage SEP (Surat Eligibilitas Peserta)"
|
||||
summary: "SEP Management"
|
||||
tags: ["vclaim", "sep"]
|
||||
cache_enabled: true
|
||||
cache_ttl: 180
|
||||
|
||||
eclaim:
|
||||
name: "EClaim"
|
||||
category: "eclaim"
|
||||
package: "eclaim"
|
||||
description: "BPJS EClaim service for claim processing"
|
||||
base_url: "https://apijkn.bpjs-kesehatan.go.id/new-eclaim-rest"
|
||||
timeout: 60
|
||||
retry_count: 2
|
||||
endpoints:
|
||||
klaim:
|
||||
methods: ["GET", "POST", "PUT"]
|
||||
get_path: "/klaim/:noklaim"
|
||||
post_path: "/klaim"
|
||||
put_path: "/klaim/:noklaim"
|
||||
model: "KlaimRequest"
|
||||
response_model: "KlaimResponse"
|
||||
description: "Manage insurance claims"
|
||||
summary: "Claim Management"
|
||||
tags: ["eclaim", "klaim"]
|
||||
cache_enabled: false
|
||||
sep:
|
||||
methods: ["GET", "POST", "PUT", "DELETE"]
|
||||
get_path: "/sep/:nosep"
|
||||
post_path: "/sep"
|
||||
put_path: "/sep/:nosep"
|
||||
delete_path: "/sep/:nosep"
|
||||
model: "SepRequest"
|
||||
response_model: "SepResponse"
|
||||
description: "Manage SEP (Surat Eligibilitas Peserta)"
|
||||
summary: "SEP Management"
|
||||
tags: ["vclaim", "sep"]
|
||||
cache_enabled: true
|
||||
cache_ttl: 180
|
||||
|
||||
Reference in New Issue
Block a user