62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
# services-config-simple.yaml
|
|
global:
|
|
module_name: "api-service"
|
|
output_dir: "internal/handlers"
|
|
enable_swagger: true
|
|
enable_logging: true
|
|
|
|
services:
|
|
vclaim:
|
|
name: "VClaim"
|
|
category: "vclaim"
|
|
package: "vclaim"
|
|
description: "BPJS VClaim service for eligibility and SEP management"
|
|
base_url: "https://apijkn.bpjs-kesehatan.go.id/vclaim-rest"
|
|
timeout: 30
|
|
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
|
|
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
|