obp 클라이언트 작업

This commit is contained in:
Rinjae
2025-11-25 22:00:03 +09:00
parent e894d59154
commit 1e3dee5f8f
8 changed files with 324 additions and 0 deletions
@@ -69,4 +69,82 @@ public class KjbProperty {
@KjbPropertyValue(key = "kjb.ums.timeout", defaultValue = "10")
@Min(1) @Max(30)
private int umsTimeout = 10;
@KjbPropertyValue(key = "kjb.obp.url")
@Pattern(regexp = "^(https?://[^\\s/$.?#][^\\s]*)|\\s*$", message = "kjb.obp.url 는 유효한 URL 형식이거나 공백이어야 합니다. 예: http://example.com/api")
private int obpUrl;
@KjbPropertyValue(key = "kjb.obp.trust_system.key", defaultValue = "x-obp-trust-system")
@NotEmpty
private String obpTrustSystemKey = "x-obp-trust-system";
@KjbPropertyValue(key = "kjb.obp.trust_system.value", defaultValue = "APIMPT-0002-QVBJTVBULTAwMDI=")
@NotEmpty
private String obpTrustSystemValue = "APIMPT-0002-QVBJTVBULTAwMDI=";
@KjbPropertyValue(key = "kjb.obp.partner_code.key", defaultValue = "x-obp-partnercode")
@NotEmpty
private String obpPartnerCodeKey = "x-obp-partnercode";
@KjbPropertyValue(key = "kjb.obp.partner_code.value", defaultValue = "100001-01")
@NotEmpty
private String obpPartnerCodeValue = "100001-01";
@KjbPropertyValue(key = "kjb.obp.url.commission", defaultValue = "/api/billing/billing/findBillingForCondition")
@NotEmpty
private String obpUrlCommission = "/api/billing/billing/findBillingForCondition";
@KjbPropertyValue(key = "kjb.obp.url.commission_print", defaultValue = "/api/billing/billing/findBillingForCondition/print")
@NotEmpty
private String obpUrlCommissionPrint = "/api/billing/billing/findBillingForCondition/print";
@KjbPropertyValue(key = "kjb.obp.url.organization_fmt", defaultValue = "/api/customer/findCustomerByBusinessManRegistrationNo/%s")
@NotEmpty
private String obpUrlOrganizationFmt = "/api/customer/findCustomerByBusinessManRegistrationNo/%s";
}