내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

Cloud Non production pipeline error

Avatar

Level 7

The code quality step for the Non-production pipeline threw the following error.

 

JakeCham_0-1704190814208.png

 

what is the correct code snippet to replace the above code.

 

a.

JakeCham_1-1704190962067.png

b.

JakeCham_2-1704190993064.png

c.

JakeCham_3-1704191025660.png

d.

JakeCham_4-1704191058906.png

 

Thanks in advance!

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Option B

public void test() {
    HttpClientBuilder builder = httpClientBuilderFactory.newBuilder();
    RequestConfig requestConfig = RequestConfig.custom()
        .setConnectTimeout(5000)
        .setSocketTimeout(5000)
        .build();
    builder.setDefaultRequestConfig(requestConfig);
        
    HttpClient httpClient = builder.build();
        
    // do something with the client
}
Mahedi Sabuj

MS-29LinkedIn

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Option B

public void test() {
    HttpClientBuilder builder = httpClientBuilderFactory.newBuilder();
    RequestConfig requestConfig = RequestConfig.custom()
        .setConnectTimeout(5000)
        .setSocketTimeout(5000)
        .build();
    builder.setDefaultRequestConfig(requestConfig);
        
    HttpClient httpClient = builder.build();
        
    // do something with the client
}
Mahedi Sabuj

MS-29LinkedIn

Avatar

Level 4

Avatar

Level 7

Thanks a lot.. This explains well 

Avatar

Administrator

@JakeCham Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni