로컬에서 GPKI 없이 서버구동은 확인됨

main
박성영 1 month ago
parent f9d430ade6
commit 25f51f6d8c

@ -39,8 +39,6 @@ public class HttpClientConfig {
HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(httpClient); HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(httpClient);
return builder return builder
.requestFactory(() -> requestFactory) .requestFactory(() -> requestFactory)
.setConnectTimeout(Duration.ofMillis(connectTimeout))
.setReadTimeout(Duration.ofMillis(readTimeout))
.build(); .build();
} }
} }

@ -9,6 +9,8 @@ import com.vmis.interfaceapp.model.ledger.LedgerResponse;
import com.vmis.interfaceapp.service.RequestEnricher; import com.vmis.interfaceapp.service.RequestEnricher;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -46,6 +48,8 @@ import org.springframework.web.bind.annotation.*;
*/ */
@RestController @RestController
@RequestMapping("/api/v1/vehicles") @RequestMapping("/api/v1/vehicles")
@RequiredArgsConstructor
@Slf4j
@Tag(name = "Vehicle Interfaces", description = "시군구연계 자동차 정보 연계 API") @Tag(name = "Vehicle Interfaces", description = "시군구연계 자동차 정보 연계 API")
public class VehicleInterfaceController { public class VehicleInterfaceController {
@ -68,25 +72,6 @@ public class VehicleInterfaceController {
*/ */
private final GovernmentApiClient govClient; private final GovernmentApiClient govClient;
/**
*
*
* <p>Spring Framework .
* :</p>
* <ul>
* <li> </li>
* <li> (final )</li>
* <li> Mock </li>
* <li> </li>
* </ul>
*
* @param govClient API
*/
public VehicleInterfaceController(GovernmentApiClient govClient, RequestEnricher enricher) {
this.govClient = govClient;
this.enricher = enricher;
}
/** /**
* API * API
* *

@ -18,14 +18,14 @@ vmis:
certServerId: "SVR5640020001" certServerId: "SVR5640020001"
targetServerId: "SVR1500000015" targetServerId: "SVR1500000015"
ldap: true ldap: true
gpkiLicPath: "C:/gpki2/gpkisecureweb/conf" gpkiLicPath: "src/GPKI/conf"
certFilePath: "C:/gpki2/gpkisecureweb/certs" certFilePath: "src/GPKI/certs"
envCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.cer" envCertFilePathName: "src/GPKI/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.key" envPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "change-me-dev" envPrivateKeyPasswd: "*sbm204221"
sigCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.cer" sigCertFilePathName: "src/GPKI/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.key" sigPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "change-me-dev" sigPrivateKeyPasswd: "*sbm204221"
gov: gov:
scheme: "http" scheme: "http"
host: "10.188.225.94:29001" # 개발(DEV) 행정망 host: "10.188.225.94:29001" # 개발(DEV) 행정망

@ -15,14 +15,14 @@ vmis:
certServerId: "SVR5640020001" # 운영 인증서 ID로 교체 certServerId: "SVR5640020001" # 운영 인증서 ID로 교체
targetServerId: "SVR1500000015" targetServerId: "SVR1500000015"
ldap: true ldap: true
gpkiLicPath: "C:/gpki2/gpkisecureweb/conf" gpkiLicPath: "src/GPKI/conf"
certFilePath: "C:/gpki2/gpkisecureweb/certs" certFilePath: "src/GPKI/certs"
envCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.cer" envCertFilePathName: "src/GPKI/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.key" envPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "change-me-prd" envPrivateKeyPasswd: "*sbm204221"
sigCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.cer" sigCertFilePathName: "src/GPKI/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.key" sigPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "change-me-prd" sigPrivateKeyPasswd: "*sbm204221"
gov: gov:
scheme: "http" scheme: "http"
host: "10.188.225.25:29001" # 예시: 운영 행정망 (명세에 맞춰 수정) host: "10.188.225.25:29001" # 예시: 운영 행정망 (명세에 맞춰 수정)

Loading…
Cancel
Save